luda 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/assets/javascripts/luda-degradation.js +24 -9
  3. data/assets/javascripts/luda-degradation.js.map +1 -1
  4. data/assets/javascripts/luda-degradation.min.js +2 -2
  5. data/assets/javascripts/luda-degradation.min.js.map +1 -1
  6. data/assets/javascripts/luda-sprockets.js +9 -9
  7. data/assets/javascripts/luda.js +3 -3
  8. data/assets/javascripts/luda.js.map +1 -1
  9. data/assets/javascripts/luda.min.js +2 -2
  10. data/assets/javascripts/luda.min.js.map +1 -1
  11. data/assets/javascripts/luda/{behaviours → behaviors}/enter-click.js +0 -0
  12. data/assets/javascripts/luda/{behaviours → behaviors}/focus.js +0 -0
  13. data/assets/javascripts/luda/{behaviours → behaviors}/radio-tab.js +0 -0
  14. data/assets/javascripts/luda/{behaviours → behaviors}/readonly.js +0 -0
  15. data/assets/javascripts/luda/{behaviours → behaviors}/toggle.js +1 -1
  16. data/assets/javascripts/luda/degradation.js +23 -8
  17. data/assets/javascripts/luda/index.js +11 -11
  18. data/assets/javascripts/luda/install.js +1 -1
  19. data/assets/javascripts/luda/{collections → patterns}/carousel.js +0 -0
  20. data/assets/javascripts/luda/{collections → patterns}/dropdown.js +1 -1
  21. data/assets/javascripts/luda/{collections → patterns}/form-dropdown.js +4 -4
  22. data/assets/javascripts/luda/{collections → patterns}/tab.js +0 -0
  23. data/assets/stylesheets/luda/_core/_variables.sass +76 -60
  24. data/assets/stylesheets/luda/_core/{behaviours → behaviors}/_disabled.sass +0 -0
  25. data/assets/stylesheets/luda/_core/{behaviours → behaviors}/_focus.sass +0 -0
  26. data/assets/stylesheets/luda/_core/{behaviours → behaviors}/_readonly.sass +1 -1
  27. data/assets/stylesheets/luda/_core/{behaviours → behaviors}/_toggle.sass +0 -0
  28. data/assets/stylesheets/luda/_core/elements/_baseline.sass +2 -5
  29. data/assets/stylesheets/luda/_core/elements/_container.sass +1 -1
  30. data/assets/stylesheets/luda/_core/{collections → elements}/_media.sass +0 -4
  31. data/assets/stylesheets/luda/_core/elements/form/_form-check-radio.sass +1 -0
  32. data/assets/stylesheets/luda/_core/{collections → patterns}/_alert.sass +0 -0
  33. data/assets/stylesheets/luda/_core/patterns/_avatar.sass +121 -0
  34. data/assets/stylesheets/luda/_core/{collections → patterns}/_breadcrumb.sass +0 -0
  35. data/assets/stylesheets/luda/_core/{collections → patterns}/_button-group.sass +0 -0
  36. data/assets/stylesheets/luda/_core/{collections → patterns}/_button-icon.sass +1 -0
  37. data/assets/stylesheets/luda/_core/{collections → patterns}/_carousel.sass +0 -0
  38. data/assets/stylesheets/luda/_core/{collections → patterns}/_dropdown.sass +0 -0
  39. data/assets/stylesheets/luda/_core/{collections → patterns}/_form-button.sass +0 -0
  40. data/assets/stylesheets/luda/_core/{collections → patterns}/_form-dropdown.sass +0 -0
  41. data/assets/stylesheets/luda/_core/{collections → patterns}/_form-group.sass +0 -0
  42. data/assets/stylesheets/luda/_core/{collections → patterns}/_form-icon.sass +1 -0
  43. data/assets/stylesheets/luda/_core/{collections → patterns}/_modal.sass +2 -2
  44. data/assets/stylesheets/luda/_core/{collections → patterns}/_nav.sass +3 -0
  45. data/assets/stylesheets/luda/_core/{collections → patterns}/_tab.sass +0 -0
  46. data/assets/stylesheets/luda/_core/utilities/_background.sass +3 -0
  47. data/assets/stylesheets/luda/_core/utilities/_position.sass +3 -0
  48. data/assets/stylesheets/luda/_default.sass +19 -19
  49. data/assets/stylesheets/luda/default/_banner.sass +1 -1
  50. data/assets/stylesheets/luda/default/behaviors/_disabled.sass +5 -0
  51. data/assets/stylesheets/luda/default/behaviors/_focus.sass +5 -0
  52. data/assets/stylesheets/luda/default/behaviors/_readonly.sass +5 -0
  53. data/assets/stylesheets/luda/default/behaviors/_toggle.sass +5 -0
  54. data/assets/stylesheets/luda/default/elements/_button.sass +1 -1
  55. data/assets/stylesheets/luda/default/elements/_form.sass +2 -2
  56. data/assets/stylesheets/luda/default/elements/_media.sass +6 -0
  57. data/assets/stylesheets/luda/default/index.sass +19 -19
  58. data/assets/stylesheets/luda/default/patterns/_alert.sass +6 -0
  59. data/assets/stylesheets/luda/default/patterns/_avatar.sass +7 -0
  60. data/assets/stylesheets/luda/default/patterns/_breadcrumb.sass +6 -0
  61. data/assets/stylesheets/luda/default/patterns/_button-group.sass +7 -0
  62. data/assets/stylesheets/luda/default/patterns/_button-icon.sass +8 -0
  63. data/assets/stylesheets/luda/default/patterns/_carousel.sass +7 -0
  64. data/assets/stylesheets/luda/default/patterns/_dropdown.sass +8 -0
  65. data/assets/stylesheets/luda/default/{collections → patterns}/_form-button.sass +1 -1
  66. data/assets/stylesheets/luda/default/patterns/_form-dropdown.sass +8 -0
  67. data/assets/stylesheets/luda/default/{collections → patterns}/_form-group.sass +1 -1
  68. data/assets/stylesheets/luda/default/{collections → patterns}/_form-icon.sass +1 -1
  69. data/assets/stylesheets/luda/default/patterns/_modal.sass +7 -0
  70. data/assets/stylesheets/luda/default/{collections → patterns}/_nav.sass +1 -1
  71. data/assets/stylesheets/luda/default/{collections → patterns}/_tab.sass +1 -1
  72. data/lib/luda/version.rb +1 -1
  73. metadata +49 -49
  74. data/assets/stylesheets/luda/_core/collections/_avatar.sass +0 -117
  75. data/assets/stylesheets/luda/default/behaviours/_disabled.sass +0 -5
  76. data/assets/stylesheets/luda/default/behaviours/_focus.sass +0 -5
  77. data/assets/stylesheets/luda/default/behaviours/_readonly.sass +0 -5
  78. data/assets/stylesheets/luda/default/behaviours/_toggle.sass +0 -5
  79. data/assets/stylesheets/luda/default/collections/_alert.sass +0 -6
  80. data/assets/stylesheets/luda/default/collections/_avatar.sass +0 -7
  81. data/assets/stylesheets/luda/default/collections/_breadcrumb.sass +0 -6
  82. data/assets/stylesheets/luda/default/collections/_button-group.sass +0 -7
  83. data/assets/stylesheets/luda/default/collections/_button-icon.sass +0 -8
  84. data/assets/stylesheets/luda/default/collections/_carousel.sass +0 -7
  85. data/assets/stylesheets/luda/default/collections/_dropdown.sass +0 -8
  86. data/assets/stylesheets/luda/default/collections/_form-dropdown.sass +0 -8
  87. data/assets/stylesheets/luda/default/collections/_media.sass +0 -7
  88. data/assets/stylesheets/luda/default/collections/_modal.sass +0 -7
@@ -0,0 +1,6 @@
1
+ @import '../base'
2
+ @import '../../_core/patterns/alert'
3
+
4
+
5
+
6
+ +install(collection-alert)
@@ -0,0 +1,7 @@
1
+ @import '../base'
2
+ @import '../elements/media'
3
+ @import '../../_core/patterns/avatar'
4
+
5
+
6
+
7
+ +install(collection-avatar)
@@ -0,0 +1,6 @@
1
+ @import '../base'
2
+ @import '../../_core/patterns/breadcrumb'
3
+
4
+
5
+
6
+ +install(collection-breadcrumb)
@@ -0,0 +1,7 @@
1
+ @import '../base'
2
+ @import '../elements/button'
3
+ @import '../../_core/patterns/button-group'
4
+
5
+
6
+
7
+ +install(collection-button-group)
@@ -0,0 +1,8 @@
1
+ @import '../base'
2
+ @import '../elements/button'
3
+ @import '../elements/icon'
4
+ @import '../../_core/patterns/button-icon'
5
+
6
+
7
+
8
+ +install(collection-button-icon)
@@ -0,0 +1,7 @@
1
+ @import '../base'
2
+ @import '../elements/button'
3
+ @import '../../_core/patterns/carousel'
4
+
5
+
6
+
7
+ +install(collection-carousel)
@@ -0,0 +1,8 @@
1
+ @import '../base'
2
+ @import '../elements/button'
3
+ @import button-icon
4
+ @import '../../_core/patterns/dropdown'
5
+
6
+
7
+
8
+ +install(collection-dropdown)
@@ -2,7 +2,7 @@
2
2
  @import '../elements/form'
3
3
  @import '../elements/button'
4
4
  @import button-icon
5
- @import '../../_core/collections/form-button'
5
+ @import '../../_core/patterns/form-button'
6
6
 
7
7
 
8
8
 
@@ -0,0 +1,8 @@
1
+ @import '../base'
2
+ @import '../elements/form'
3
+ @import dropdown
4
+ @import '../../_core/patterns/form-dropdown'
5
+
6
+
7
+
8
+ +install(collection-form-dropdown)
@@ -4,7 +4,7 @@
4
4
  @import form-icon
5
5
  @import form-button
6
6
  @import form-dropdown
7
- @import '../../_core/collections/form-group'
7
+ @import '../../_core/patterns/form-group'
8
8
 
9
9
 
10
10
 
@@ -1,7 +1,7 @@
1
1
  @import '../base'
2
2
  @import '../elements/form'
3
3
  @import '../elements/icon'
4
- @import '../../_core/collections/form-icon'
4
+ @import '../../_core/patterns/form-icon'
5
5
 
6
6
 
7
7
 
@@ -0,0 +1,7 @@
1
+ @import '../base'
2
+ @import '../elements/overlay'
3
+ @import '../../_core/patterns/modal'
4
+
5
+
6
+
7
+ +install(collection-modal)
@@ -3,7 +3,7 @@
3
3
  @import '../elements/form'
4
4
  @import button-icon
5
5
  @import dropdown
6
- @import '../../_core/collections/nav'
6
+ @import '../../_core/patterns/nav'
7
7
 
8
8
 
9
9
 
@@ -2,7 +2,7 @@
2
2
  @import '../elements/button'
3
3
  @import button-icon
4
4
  @import button-group
5
- @import '../../_core/collections/tab'
5
+ @import '../../_core/patterns/tab'
6
6
 
7
7
 
8
8
 
data/lib/luda/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Luda
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - oatw
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-22 00:00:00.000000000 Z
11
+ date: 2019-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -42,15 +42,11 @@ files:
42
42
  - assets/javascripts/luda.js.map
43
43
  - assets/javascripts/luda.min.js
44
44
  - assets/javascripts/luda.min.js.map
45
- - assets/javascripts/luda/behaviours/enter-click.js
46
- - assets/javascripts/luda/behaviours/focus.js
47
- - assets/javascripts/luda/behaviours/radio-tab.js
48
- - assets/javascripts/luda/behaviours/readonly.js
49
- - assets/javascripts/luda/behaviours/toggle.js
50
- - assets/javascripts/luda/collections/carousel.js
51
- - assets/javascripts/luda/collections/dropdown.js
52
- - assets/javascripts/luda/collections/form-dropdown.js
53
- - assets/javascripts/luda/collections/tab.js
45
+ - assets/javascripts/luda/behaviors/enter-click.js
46
+ - assets/javascripts/luda/behaviors/focus.js
47
+ - assets/javascripts/luda/behaviors/radio-tab.js
48
+ - assets/javascripts/luda/behaviors/readonly.js
49
+ - assets/javascripts/luda/behaviors/toggle.js
54
50
  - assets/javascripts/luda/component.js
55
51
  - assets/javascripts/luda/constants.js
56
52
  - assets/javascripts/luda/degradation.js
@@ -60,36 +56,26 @@ files:
60
56
  - assets/javascripts/luda/event.js
61
57
  - assets/javascripts/luda/index.js
62
58
  - assets/javascripts/luda/install.js
59
+ - assets/javascripts/luda/patterns/carousel.js
60
+ - assets/javascripts/luda/patterns/dropdown.js
61
+ - assets/javascripts/luda/patterns/form-dropdown.js
62
+ - assets/javascripts/luda/patterns/tab.js
63
63
  - assets/javascripts/luda/singleton.js
64
64
  - assets/javascripts/luda/utilities.js
65
65
  - assets/stylesheets/luda/_core/_base.sass
66
66
  - assets/stylesheets/luda/_core/_functions.sass
67
67
  - assets/stylesheets/luda/_core/_variables.sass
68
- - assets/stylesheets/luda/_core/behaviours/_disabled.sass
69
- - assets/stylesheets/luda/_core/behaviours/_focus.sass
70
- - assets/stylesheets/luda/_core/behaviours/_readonly.sass
71
- - assets/stylesheets/luda/_core/behaviours/_toggle.sass
72
- - assets/stylesheets/luda/_core/collections/_alert.sass
73
- - assets/stylesheets/luda/_core/collections/_avatar.sass
74
- - assets/stylesheets/luda/_core/collections/_breadcrumb.sass
75
- - assets/stylesheets/luda/_core/collections/_button-group.sass
76
- - assets/stylesheets/luda/_core/collections/_button-icon.sass
77
- - assets/stylesheets/luda/_core/collections/_carousel.sass
78
- - assets/stylesheets/luda/_core/collections/_dropdown.sass
79
- - assets/stylesheets/luda/_core/collections/_form-button.sass
80
- - assets/stylesheets/luda/_core/collections/_form-dropdown.sass
81
- - assets/stylesheets/luda/_core/collections/_form-group.sass
82
- - assets/stylesheets/luda/_core/collections/_form-icon.sass
83
- - assets/stylesheets/luda/_core/collections/_media.sass
84
- - assets/stylesheets/luda/_core/collections/_modal.sass
85
- - assets/stylesheets/luda/_core/collections/_nav.sass
86
- - assets/stylesheets/luda/_core/collections/_tab.sass
68
+ - assets/stylesheets/luda/_core/behaviors/_disabled.sass
69
+ - assets/stylesheets/luda/_core/behaviors/_focus.sass
70
+ - assets/stylesheets/luda/_core/behaviors/_readonly.sass
71
+ - assets/stylesheets/luda/_core/behaviors/_toggle.sass
87
72
  - assets/stylesheets/luda/_core/elements/_badge.sass
88
73
  - assets/stylesheets/luda/_core/elements/_baseline.sass
89
74
  - assets/stylesheets/luda/_core/elements/_button.sass
90
75
  - assets/stylesheets/luda/_core/elements/_container.sass
91
76
  - assets/stylesheets/luda/_core/elements/_grid.sass
92
77
  - assets/stylesheets/luda/_core/elements/_icon.sass
78
+ - assets/stylesheets/luda/_core/elements/_media.sass
93
79
  - assets/stylesheets/luda/_core/elements/_overlay.sass
94
80
  - assets/stylesheets/luda/_core/elements/_progress.sass
95
81
  - assets/stylesheets/luda/_core/elements/_scrollbar.sass
@@ -118,6 +104,20 @@ files:
118
104
  - assets/stylesheets/luda/_core/mixins/_overlay.sass
119
105
  - assets/stylesheets/luda/_core/mixins/_sass-lint-fix.sass
120
106
  - assets/stylesheets/luda/_core/mixins/_typography.sass
107
+ - assets/stylesheets/luda/_core/patterns/_alert.sass
108
+ - assets/stylesheets/luda/_core/patterns/_avatar.sass
109
+ - assets/stylesheets/luda/_core/patterns/_breadcrumb.sass
110
+ - assets/stylesheets/luda/_core/patterns/_button-group.sass
111
+ - assets/stylesheets/luda/_core/patterns/_button-icon.sass
112
+ - assets/stylesheets/luda/_core/patterns/_carousel.sass
113
+ - assets/stylesheets/luda/_core/patterns/_dropdown.sass
114
+ - assets/stylesheets/luda/_core/patterns/_form-button.sass
115
+ - assets/stylesheets/luda/_core/patterns/_form-dropdown.sass
116
+ - assets/stylesheets/luda/_core/patterns/_form-group.sass
117
+ - assets/stylesheets/luda/_core/patterns/_form-icon.sass
118
+ - assets/stylesheets/luda/_core/patterns/_modal.sass
119
+ - assets/stylesheets/luda/_core/patterns/_nav.sass
120
+ - assets/stylesheets/luda/_core/patterns/_tab.sass
121
121
  - assets/stylesheets/luda/_core/utilities/_align.sass
122
122
  - assets/stylesheets/luda/_core/utilities/_background.sass
123
123
  - assets/stylesheets/luda/_core/utilities/_color.sass
@@ -139,25 +139,10 @@ files:
139
139
  - assets/stylesheets/luda/default/_functions.sass
140
140
  - assets/stylesheets/luda/default/_mixins.sass
141
141
  - assets/stylesheets/luda/default/_variables.sass
142
- - assets/stylesheets/luda/default/behaviours/_disabled.sass
143
- - assets/stylesheets/luda/default/behaviours/_focus.sass
144
- - assets/stylesheets/luda/default/behaviours/_readonly.sass
145
- - assets/stylesheets/luda/default/behaviours/_toggle.sass
146
- - assets/stylesheets/luda/default/collections/_alert.sass
147
- - assets/stylesheets/luda/default/collections/_avatar.sass
148
- - assets/stylesheets/luda/default/collections/_breadcrumb.sass
149
- - assets/stylesheets/luda/default/collections/_button-group.sass
150
- - assets/stylesheets/luda/default/collections/_button-icon.sass
151
- - assets/stylesheets/luda/default/collections/_carousel.sass
152
- - assets/stylesheets/luda/default/collections/_dropdown.sass
153
- - assets/stylesheets/luda/default/collections/_form-button.sass
154
- - assets/stylesheets/luda/default/collections/_form-dropdown.sass
155
- - assets/stylesheets/luda/default/collections/_form-group.sass
156
- - assets/stylesheets/luda/default/collections/_form-icon.sass
157
- - assets/stylesheets/luda/default/collections/_media.sass
158
- - assets/stylesheets/luda/default/collections/_modal.sass
159
- - assets/stylesheets/luda/default/collections/_nav.sass
160
- - assets/stylesheets/luda/default/collections/_tab.sass
142
+ - assets/stylesheets/luda/default/behaviors/_disabled.sass
143
+ - assets/stylesheets/luda/default/behaviors/_focus.sass
144
+ - assets/stylesheets/luda/default/behaviors/_readonly.sass
145
+ - assets/stylesheets/luda/default/behaviors/_toggle.sass
161
146
  - assets/stylesheets/luda/default/elements/_badge.sass
162
147
  - assets/stylesheets/luda/default/elements/_baseline.sass
163
148
  - assets/stylesheets/luda/default/elements/_button.sass
@@ -165,6 +150,7 @@ files:
165
150
  - assets/stylesheets/luda/default/elements/_form.sass
166
151
  - assets/stylesheets/luda/default/elements/_grid.sass
167
152
  - assets/stylesheets/luda/default/elements/_icon.sass
153
+ - assets/stylesheets/luda/default/elements/_media.sass
168
154
  - assets/stylesheets/luda/default/elements/_overlay.sass
169
155
  - assets/stylesheets/luda/default/elements/_progress.sass
170
156
  - assets/stylesheets/luda/default/elements/_scrollbar.sass
@@ -185,6 +171,20 @@ files:
185
171
  - assets/stylesheets/luda/default/elements/typography/_sub-sup.sass
186
172
  - assets/stylesheets/luda/default/elements/typography/_typography.sass
187
173
  - assets/stylesheets/luda/default/index.sass
174
+ - assets/stylesheets/luda/default/patterns/_alert.sass
175
+ - assets/stylesheets/luda/default/patterns/_avatar.sass
176
+ - assets/stylesheets/luda/default/patterns/_breadcrumb.sass
177
+ - assets/stylesheets/luda/default/patterns/_button-group.sass
178
+ - assets/stylesheets/luda/default/patterns/_button-icon.sass
179
+ - assets/stylesheets/luda/default/patterns/_carousel.sass
180
+ - assets/stylesheets/luda/default/patterns/_dropdown.sass
181
+ - assets/stylesheets/luda/default/patterns/_form-button.sass
182
+ - assets/stylesheets/luda/default/patterns/_form-dropdown.sass
183
+ - assets/stylesheets/luda/default/patterns/_form-group.sass
184
+ - assets/stylesheets/luda/default/patterns/_form-icon.sass
185
+ - assets/stylesheets/luda/default/patterns/_modal.sass
186
+ - assets/stylesheets/luda/default/patterns/_nav.sass
187
+ - assets/stylesheets/luda/default/patterns/_tab.sass
188
188
  - assets/stylesheets/luda/default/utilities/_align.sass
189
189
  - assets/stylesheets/luda/default/utilities/_background.sass
190
190
  - assets/stylesheets/luda/default/utilities/_color.sass
@@ -1,117 +0,0 @@
1
- +install(shared-collection-avatar)
2
-
3
- .avatar-x .media-content,
4
- .avatar-y .media-content
5
- width: $avatar-image-size-rem
6
- height: $avatar-image-size-rem
7
- padding: 0
8
- background-image: if($avatar-default-image, url($avatar-default-image), null)
9
- background-size: $avatar-default-image-background-size
10
- border-radius: $avatar-image-border-radius
11
-
12
- .avatar-x .media-description,
13
- .avatar-y .media-description
14
- height: $avatar-media-description-height-rem
15
-
16
- .avatar-name,
17
- .avatar-description
18
- padding: 0
19
- line-height: $avatar-media-description-height-rem / 2 - $avatar-media-description-padding-top-rem / 2
20
- white-space: nowrap
21
-
22
- .avatar-name
23
- font-size: typo-size($avatar-name-typography-size-level)
24
- color: $avatar-name-color
25
-
26
- .avatar-description
27
- font-size: typo-size($avatar-description-typography-size-level)
28
- color: $avatar-description-color
29
-
30
-
31
-
32
- .avatar-x.media
33
- display: inline-flex
34
- align-items: center
35
-
36
- .avatar-x.media.media-center
37
- display: flex
38
-
39
- .avatar-x .media-content
40
- flex: 0 0 auto
41
- margin: 0
42
-
43
- .avatar-x .media-description
44
- display: flex
45
- flex: 0 0 auto
46
- flex-direction: column
47
- justify-content: center
48
- min-width: 0
49
- padding-left: $avatar-media-description-padding-left-rem
50
- text-align: left
51
-
52
-
53
-
54
- .avatar-y .media-description
55
- padding-top: $avatar-media-description-padding-top-rem
56
-
57
-
58
-
59
- .avatar-large.avatar-x .media-content,
60
- .avatar-large.avatar-y .media-content
61
- width: $avatar-large-image-size-rem
62
- height: $avatar-large-image-size-rem
63
-
64
- .avatar-large.avatar-x .media-description,
65
- .avatar-large.avatar-y .media-description
66
- height: $avatar-large-media-description-height-rem
67
-
68
- .avatar-large.avatar-y .media-description
69
- padding-top: $avatar-large-media-description-padding-top-rem
70
-
71
- .avatar-large.avatar-x .media-description
72
- padding-left: $avatar-large-media-description-padding-left-rem
73
-
74
- .avatar-large .avatar-name,
75
- .avatar-large .avatar-description
76
- $line-height-changed: $avatar-large-media-description-height-rem or $avatar-large-media-description-padding-top-rem
77
- $description-height-rem: existing($avatar-large-media-description-height-rem, $avatar-media-description-height-rem)
78
- $description-padding-top-rem: existing($avatar-large-media-description-padding-top-rem, $avatar-media-description-padding-top-rem)
79
- $line-height: if($line-height-changed, $description-height-rem / 2 - $description-padding-top-rem / 2, null)
80
- line-height: $line-height
81
-
82
- .avatar-large .avatar-name
83
- font-size: typo-size($avatar-large-name-typography-size-level)
84
-
85
- .avatar-large .avatar-description
86
- font-size: typo-size($avatar-large-description-typography-size-level)
87
-
88
-
89
-
90
- .avatar-small.avatar-x .media-content,
91
- .avatar-small.avatar-y .media-content
92
- width: $avatar-small-image-size-rem
93
- height: $avatar-small-image-size-rem
94
-
95
- .avatar-small.avatar-x .media-description,
96
- .avatar-small.avatar-y .media-description
97
- height: $avatar-small-media-description-height-rem
98
-
99
- .avatar-small.avatar-y .media-description
100
- padding-top: $avatar-small-media-description-padding-top-rem
101
-
102
- .avatar-small.avatar-x .media-description
103
- padding-left: $avatar-small-media-description-padding-left-rem
104
-
105
- .avatar-small .avatar-name,
106
- .avatar-small .avatar-description
107
- $line-height-changed: $avatar-small-media-description-height-rem or $avatar-small-media-description-padding-top-rem
108
- $description-height-rem: existing($avatar-small-media-description-height-rem, $avatar-media-description-height-rem)
109
- $description-padding-top-rem: existing($avatar-small-media-description-padding-top-rem, $avatar-media-description-padding-top-rem)
110
- $line-height: if($line-height-changed, $description-height-rem / 2 - $description-padding-top-rem / 2, null)
111
- line-height: $line-height
112
-
113
- .avatar-small .avatar-name
114
- font-size: typo-size($avatar-small-name-typography-size-level)
115
-
116
- .avatar-small .avatar-description
117
- font-size: typo-size($avatar-small-description-typography-size-level)
@@ -1,5 +0,0 @@
1
- @import '../../_core/behaviours/disabled'
2
-
3
-
4
-
5
- +install(behaviour-disabled)
@@ -1,5 +0,0 @@
1
- @import '../../_core/behaviours/focus'
2
-
3
-
4
-
5
- +install(behaviour-focus)
@@ -1,5 +0,0 @@
1
- @import '../../_core/behaviours/readonly'
2
-
3
-
4
-
5
- +install(behaviour-readonly)
@@ -1,5 +0,0 @@
1
- @import '../../_core/behaviours/toggle'
2
-
3
-
4
-
5
- +install(behaviour-toggle)