material-sass 4.0.0.alpha6 → 4.0.0.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/README.md +36 -8
  4. data/Rakefile +16 -3
  5. data/app/assets/javascripts/material-sprockets.js +6 -1
  6. data/app/assets/javascripts/material.js +654 -417
  7. data/app/assets/javascripts/material.min.js +1 -0
  8. data/app/assets/javascripts/material/addons/picker.date.js +234 -0
  9. data/app/assets/javascripts/material/addons/picker.js +172 -0
  10. data/app/assets/javascripts/material/addons/textarea-autosize.js +20 -2
  11. data/app/assets/javascripts/material/addons/waves.js +127 -0
  12. data/app/assets/javascripts/material/components/floating-label.js +92 -0
  13. data/app/assets/javascripts/material/components/navdrawer.js +353 -0
  14. data/app/assets/javascripts/material/components/selection-control-focus.js +47 -0
  15. data/app/assets/javascripts/material/components/tab-switch.js +148 -0
  16. data/app/assets/javascripts/material/components/util.js +133 -0
  17. data/app/assets/javascripts/material/initializers/picker.js +171 -0
  18. data/app/assets/javascripts/material/initializers/textarea-autosize.js +10 -0
  19. data/app/assets/javascripts/material/initializers/waves.js +13 -0
  20. data/app/assets/stylesheets/material/_colours.scss +324 -0
  21. data/app/assets/stylesheets/material/_functions.scss +65 -0
  22. data/app/assets/stylesheets/material/_mixins.scss +23 -23
  23. data/app/assets/stylesheets/material/_print.scss +102 -0
  24. data/app/assets/stylesheets/material/_utilities.scss +21 -17
  25. data/app/assets/stylesheets/material/_variables.scss +13 -42
  26. data/app/assets/stylesheets/material/base/_base.scss +420 -5
  27. data/app/assets/stylesheets/material/base/_grid.scss +34 -33
  28. data/app/assets/stylesheets/material/base/_typography.scss +165 -174
  29. data/app/assets/stylesheets/material/bootstrap/_alert.scss +32 -39
  30. data/app/assets/stylesheets/material/bootstrap/_badge.scss +34 -0
  31. data/app/assets/stylesheets/material/bootstrap/_breadcrumb.scss +18 -18
  32. data/app/assets/stylesheets/material/bootstrap/_carousel.scss +127 -142
  33. data/app/assets/stylesheets/material/bootstrap/_close.scss +18 -19
  34. data/app/assets/stylesheets/material/bootstrap/_code.scss +10 -7
  35. data/app/assets/stylesheets/material/bootstrap/_custom-form.scss +50 -56
  36. data/app/assets/stylesheets/material/bootstrap/_form.scss +159 -129
  37. data/app/assets/stylesheets/material/bootstrap/_image.scss +19 -16
  38. data/app/assets/stylesheets/material/bootstrap/_jumbotron.scss +10 -7
  39. data/app/assets/stylesheets/material/bootstrap/_nav.scss +71 -69
  40. data/app/assets/stylesheets/material/bootstrap/_pagination.scss +34 -26
  41. data/app/assets/stylesheets/material/bootstrap/_popover.scss +26 -59
  42. data/app/assets/stylesheets/material/bootstrap/_responsive-embed.scss +4 -4
  43. data/app/assets/stylesheets/material/bootstrap/_transition.scss +10 -8
  44. data/app/assets/stylesheets/material/material.scss +75 -62
  45. data/app/assets/stylesheets/material/material/_button-flat.scss +26 -39
  46. data/app/assets/stylesheets/material/material/_button-float.scss +10 -14
  47. data/app/assets/stylesheets/material/material/_button-group.scss +268 -0
  48. data/app/assets/stylesheets/material/material/_button.scss +133 -189
  49. data/app/assets/stylesheets/material/material/_card.scss +300 -248
  50. data/app/assets/stylesheets/material/material/_chip.scss +65 -64
  51. data/app/assets/stylesheets/material/material/_data-table.scss +135 -45
  52. data/app/assets/stylesheets/material/material/_dialog.scss +141 -110
  53. data/app/assets/stylesheets/material/material/_expansion-panel.scss +86 -119
  54. data/app/assets/stylesheets/material/material/_menu.scss +308 -228
  55. data/app/assets/stylesheets/material/material/_navdrawer.scss +239 -234
  56. data/app/assets/stylesheets/material/material/_picker.scss +157 -155
  57. data/app/assets/stylesheets/material/material/_progress-circular.scss +80 -80
  58. data/app/assets/stylesheets/material/material/_progress.scss +180 -115
  59. data/app/assets/stylesheets/material/material/_selection-control.scss +132 -139
  60. data/app/assets/stylesheets/material/material/_stepper.scss +94 -93
  61. data/app/assets/stylesheets/material/material/_tab.scss +74 -93
  62. data/app/assets/stylesheets/material/material/_text-field-floating-label.scss +29 -20
  63. data/app/assets/stylesheets/material/material/_text-field-input-group.scss +94 -24
  64. data/app/assets/stylesheets/material/material/_text-field-textarea.scss +13 -26
  65. data/app/assets/stylesheets/material/material/_text-field.scss +127 -118
  66. data/app/assets/stylesheets/material/material/_toolbar.scss +308 -313
  67. data/app/assets/stylesheets/material/material/_tooltip.scss +23 -62
  68. data/app/assets/stylesheets/material/mixins/_background-variant.scss +6 -6
  69. data/app/assets/stylesheets/material/mixins/_border-radius.scss +17 -17
  70. data/app/assets/stylesheets/material/mixins/_breakpoint.scss +32 -2
  71. data/app/assets/stylesheets/material/mixins/_clearfix.scss +1 -1
  72. data/app/assets/stylesheets/material/mixins/_form.scss +62 -25
  73. data/app/assets/stylesheets/material/mixins/_grid-framework.scss +8 -16
  74. data/app/assets/stylesheets/material/mixins/_grid.scss +40 -64
  75. data/app/assets/stylesheets/material/mixins/_material-icons.scss +36 -0
  76. data/app/assets/stylesheets/material/mixins/_nav-divider.scss +1 -1
  77. data/app/assets/stylesheets/material/mixins/_reset-text.scss +2 -21
  78. data/app/assets/stylesheets/material/mixins/_screenreader.scss +14 -12
  79. data/app/assets/stylesheets/material/mixins/_text-alignment.scss +23 -0
  80. data/app/assets/stylesheets/material/mixins/_text-emphasis.scss +6 -6
  81. data/app/assets/stylesheets/material/mixins/_transition.scss +42 -10
  82. data/app/assets/stylesheets/material/utilities/_background.scss +18 -18
  83. data/app/assets/stylesheets/material/utilities/_border.scss +88 -41
  84. data/app/assets/stylesheets/material/utilities/_display.scss +63 -30
  85. data/app/assets/stylesheets/material/utilities/_flex.scss +139 -134
  86. data/app/assets/stylesheets/material/utilities/_material-icons.scss +3 -5
  87. data/app/assets/stylesheets/material/utilities/_position.scss +19 -22
  88. data/app/assets/stylesheets/material/utilities/_sizing.scss +11 -12
  89. data/app/assets/stylesheets/material/utilities/_spacing.scss +51 -56
  90. data/app/assets/stylesheets/material/utilities/_text.scss +80 -75
  91. data/app/assets/stylesheets/material/utilities/_visibility.scss +5 -46
  92. data/app/assets/stylesheets/material/utilities/_waves.scss +11 -18
  93. data/app/assets/stylesheets/material/variables/_elevation-shadow.scss +89 -82
  94. data/app/assets/stylesheets/material/variables/_grid.scss +29 -26
  95. data/app/assets/stylesheets/material/variables/_palette.scss +45 -0
  96. data/app/assets/stylesheets/material/variables/_spacer.scss +34 -88
  97. data/app/assets/stylesheets/material/variables/_transition.scss +29 -0
  98. data/app/assets/stylesheets/material/variables/_typography.scss +88 -74
  99. data/app/assets/stylesheets/material/variables/_variable-bootstrap.scss +196 -133
  100. data/app/assets/stylesheets/material/variables/_variable-material.scss +481 -429
  101. data/lib/material-sass/version.rb +1 -1
  102. data/material-sass.gemspec +3 -3
  103. metadata +26 -21
  104. data/app/assets/javascripts/material/addons-materialise/pickadate.js +0 -139
  105. data/app/assets/javascripts/material/addons-materialise/textarea-autosize.js +0 -11
  106. data/app/assets/javascripts/material/addons-materialise/wave.js +0 -15
  107. data/app/assets/javascripts/material/addons/pickadate.js +0 -7
  108. data/app/assets/javascripts/material/addons/wave.js +0 -5
  109. data/app/assets/javascripts/material/src/floating-label.js +0 -91
  110. data/app/assets/javascripts/material/src/navdrawer.js +0 -352
  111. data/app/assets/javascripts/material/src/tab-switch.js +0 -133
  112. data/app/assets/javascripts/material/src/util.js +0 -138
  113. data/app/assets/stylesheets/material/base/_normalize.scss +0 -253
  114. data/app/assets/stylesheets/material/base/_reboot.scss +0 -239
  115. data/app/assets/stylesheets/material/bootstrap/_button-group.scss +0 -134
  116. data/app/assets/stylesheets/material/mixins/_tab-focus.scss +0 -5
  117. data/app/assets/stylesheets/material/mixins/_transform.scss +0 -9
  118. data/app/assets/stylesheets/material/variables/_animation.scss +0 -22
  119. data/app/assets/stylesheets/material/variables/_colour.scss +0 -389
@@ -1,6 +1,4 @@
1
- //
2
- // todo: only non-clickable stepper is supported for now
3
- //
1
+ // Todo: only non-clickable stepper is supported for now
4
2
 
5
3
  .stepper {
6
4
  align-items: center;
@@ -14,7 +12,7 @@
14
12
  &::after,
15
13
  &::before {
16
14
  border-top: $stepper-border-width solid $stepper-border-color;
17
- content: "";
15
+ content: '';
18
16
  display: block;
19
17
  position: absolute;
20
18
  }
@@ -28,108 +26,111 @@
28
26
  }
29
27
  }
30
28
 
31
- // variation
32
- .stepper-horiz {
33
- background-color: $stepper-bg;
34
- display: flex;
35
- justify-content: space-between;
36
- overflow-x: auto;
37
- overflow-y: hidden;
38
- position: relative;
39
- -webkit-overflow-scrolling: touch;
40
-
41
- &:before {
29
+ // Horizontal and vertical stepper
30
+ .stepper-horiz {
31
+ background-color: $stepper-bg;
32
+ display: flex;
33
+ justify-content: space-between;
34
+ overflow-x: auto;
35
+ overflow-y: hidden;
36
+ position: relative;
37
+
38
+ &::before {
39
+ border-top: $stepper-border-width solid $stepper-border-color;
40
+ content: '';
41
+ display: block;
42
+ position: absolute;
43
+ top: 50%;
44
+ right: $stepper-padding-x;
45
+ left: $stepper-padding-x;
46
+ }
47
+
48
+ .stepper {
49
+ &::after,
50
+ &::before {
42
51
  border-top: $stepper-border-width solid $stepper-border-color;
43
- content: "";
44
- display: block;
45
- position: absolute;
46
- top: 50%;
47
- right: $stepper-padding-x;
48
- left: $stepper-padding-x;
52
+ top: 50%;
53
+ width: ($stepper-padding-x - $stepper-inner-spacer);
49
54
  }
50
55
 
51
- .stepper {
52
- &::after,
53
- &::before {
54
- border-top: $stepper-border-width solid $stepper-border-color;
55
- // position
56
- top: 50%;
57
- width: ($stepper-padding-x - $stepper-inner-spacer);
58
- }
59
- &::after {
60
- // position
61
- right: 0;
62
- }
63
- &::before {
64
- // position
65
- left: 0;
66
- }
56
+ &::after {
57
+ right: 0;
67
58
  }
68
- }
69
59
 
70
- .stepper-vert {
71
- background-color: $stepper-bg;
72
- position: relative;
73
-
74
- .stepper {
75
- &::after,
76
- &::before {
77
- border-left: $stepper-border-width solid $stepper-border-color;
78
- height: ($stepper-padding-y - $stepper-inner-spacer);
79
- // position
80
- left: ($stepper-icon-height / 2 + $stepper-padding-x);
81
- }
82
- &::after {
83
- // position
84
- bottom: 0;
85
- }
86
- &::before {
87
- // position
88
- top: 0;
89
- }
60
+ &::before {
61
+ left: 0;
90
62
  }
91
63
  }
64
+ }
92
65
 
93
- //
94
- // misc
95
- //
96
- .stepper-icon {
97
- background-color: $stepper-icon-bg;
98
- border-radius: 50%;
99
- color: $stepper-icon-color;
100
- font-size: $stepper-icon-font-size;
101
- font-weight: $stepper-icon-font-weight;
102
- height: $stepper-icon-height;
103
- line-height: $stepper-icon-height;
104
- margin-right: $stepper-inner-spacer;
105
- position: relative;
106
- text-align: center;
107
- vertical-align: middle;
108
- width: $stepper-icon-height;
109
-
110
- .stepper.active &,
111
- .stepper.done & {
112
- background-color: $stepper-icon-bg-active;
113
- color: $stepper-icon-color-active;
114
- }
115
- }
66
+ .stepper-vert {
67
+ background-color: $stepper-bg;
68
+ position: relative;
116
69
 
117
- .stepper-text {
118
- color: $stepper-text-color;
119
- font-size: $stepper-text-font-size;
120
- font-weight: $stepper-text-font-weight;
121
- position: relative;
70
+ .stepper {
71
+ &::after,
72
+ &::before {
73
+ border-left: $stepper-border-width solid $stepper-border-color;
74
+ height: ($stepper-padding-y - $stepper-inner-spacer);
75
+ left: ($stepper-icon-height / 2 + $stepper-padding-x);
76
+ }
122
77
 
123
- .stepper.active &,
124
- .stepper.done & {
125
- color: $stepper-text-color-active;
78
+ &::after {
79
+ bottom: 0;
126
80
  }
127
81
 
128
- .stepper.active & {
129
- font-weight: bolder;
82
+ &::before {
83
+ top: 0;
130
84
  }
131
85
  }
86
+ }
87
+
88
+
89
+
90
+ // Misc
91
+
92
+ .stepper-icon {
93
+ background-color: $stepper-icon-bg;
94
+ border-radius: 50%;
95
+ color: $stepper-icon-color;
96
+ font-size: $stepper-icon-font-size;
97
+ font-weight: $stepper-icon-font-weight;
98
+ height: $stepper-icon-height;
99
+ line-height: $stepper-icon-height;
100
+ margin-right: $stepper-inner-spacer;
101
+ position: relative;
102
+ text-align: center;
103
+ vertical-align: middle;
104
+ width: $stepper-icon-height;
105
+
106
+ .stepper.active &,
107
+ .stepper.done & {
108
+ @include color-yiq($stepper-icon-bg-active);
109
+
110
+ background-color: $stepper-icon-bg-active;
111
+ }
112
+
113
+ .material-icons {
114
+ font-size: 1.333em;
115
+ }
116
+ }
132
117
 
133
- .stepper-text-sub {
134
- font-weight: $font-weight-regular;
118
+ .stepper-text {
119
+ color: $stepper-text-color;
120
+ font-size: $stepper-text-font-size;
121
+ font-weight: $stepper-text-font-weight;
122
+ position: relative;
123
+
124
+ .stepper.active &,
125
+ .stepper.done & {
126
+ color: $stepper-text-color-active;
135
127
  }
128
+
129
+ .stepper.active & {
130
+ font-weight: bolder;
131
+ }
132
+ }
133
+
134
+ .stepper-text-sub {
135
+ font-weight: $font-weight-regular;
136
+ }
@@ -1,131 +1,112 @@
1
- //
2
- // todo: tabs with icons
3
- //
4
-
5
1
  .nav-tabs {
6
- box-shadow: inset 0 -1px 0 $nav-tab-border-color;
2
+ box-shadow: inset 0 ($nav-tab-border-width * -2) 0 ($nav-tab-border-width * -1) $nav-tab-border-color;
3
+
4
+ &.border-0,
5
+ &.border-bottom-0 {
6
+ box-shadow: none;
7
+ }
7
8
 
8
9
  .nav-link {
9
- align-items: center;
10
- color: inherit;
11
- display: flex;
12
- font-size: $nav-tab-link-font-size;
13
- font-weight: $nav-tab-link-font-weight;
14
- height: 100%;
15
- justify-content: center;
16
- line-height: 1;
17
- min-height: $nav-tab-link-height;
10
+ @include transition-standard(background-color, color, opacity);
11
+
12
+ color: $nav-tab-color;
13
+ font-size: $nav-tab-font-size;
14
+ font-weight: $nav-tab-font-weight;
15
+ line-height: $nav-tab-line-height;
16
+ min-height: $nav-tab-height;
18
17
  opacity: $nav-tab-link-opacity;
19
- padding: (($nav-tab-link-height - $nav-tab-link-font-size * 2) / 2) $nav-tab-link-padding-x;
18
+ padding: $nav-tab-link-padding-y $nav-tab-link-padding-x;
20
19
  position: relative;
21
20
  text-transform: uppercase;
22
- @include transition-standard(background-color, opacity);
21
+
22
+ @include active-focus-hover {
23
+ background-color: $nav-tab-bg-hover;
24
+ }
23
25
 
24
26
  &::before {
27
+ @include transition-standard(opacity);
28
+
25
29
  background-color: $nav-tab-indicator-bg;
26
- content: "";
30
+ content: '';
27
31
  display: block;
28
32
  height: $nav-tab-indicator-height;
29
33
  opacity: 0;
30
34
  position: absolute;
31
- right: 0;
32
- bottom: 0;
33
- left: 0;
34
- @include transition-standard(opacity);
35
+ right: 0;
36
+ bottom: 0;
37
+ left: 0;
35
38
  }
36
39
 
37
- @include media-breakpoint-up(lg) {
38
- padding-right: $nav-tab-link-padding-x-lg;
39
- padding-left: $nav-tab-link-padding-x-lg;
40
+ &:active,
41
+ &.active {
42
+ opacity: 1;
40
43
  }
41
44
 
42
- // active, focus, hover
43
- @include active-focus-hover {
44
- background-color: $nav-link-bg-active;
45
- }
45
+ &.active {
46
+ color: $nav-tab-color-active;
46
47
 
47
- &:active,
48
- &.active {
49
- opacity: $nav-tab-link-opacity-visible;
48
+ &::before {
49
+ opacity: 1;
50
50
  }
51
+ }
51
52
 
52
- &.active {
53
- &::before {
54
- opacity: $nav-tab-link-opacity-visible;
55
- }
56
- }
53
+ &.disabled {
54
+ background-color: transparent;
55
+ color: $nav-tab-color-disabled;
56
+ opacity: 1;
57
+ }
58
+ }
57
59
 
58
- // disabled
59
- &.disabled {
60
- background-color: transparent;
61
- color: $nav-link-color-disabled;
62
- opacity: $nav-tab-link-opacity-visible;
63
- }
60
+ .nav-item.show .nav-link {
61
+ background-color: $nav-tab-bg-hover;
62
+ opacity: 1;
64
63
  }
65
64
  }
66
65
 
67
- // variation
68
- .nav-tabs {
69
- &.border-0,
70
- &.border-bottom-0 {
71
- box-shadow: none;
72
- }
66
+ .nav-tabs-material {
67
+ position: relative;
73
68
 
74
- &.nav-justified {
75
- .nav-link {
76
- min-width: $nav-tab-link-min-width;
69
+ &.animate {
70
+ .nav-link::before {
71
+ opacity: 0;
72
+ }
77
73
 
78
- @include media-breakpoint-up(lg) {
79
- min-width: $nav-tab-link-min-width-lg;
80
- }
81
- }
74
+ .nav-tabs-indicator {
75
+ @include transition-standard(left, right);
82
76
  }
77
+ }
83
78
 
84
- &.nav-scrollable {
85
- overflow-x: auto;
86
- overflow-y: visible;
87
- -webkit-overflow-scrolling: touch;
79
+ .nav-link::before {
80
+ transition: none;
81
+ }
88
82
 
89
- .nav-link {
90
- max-width: $nav-tab-link-max-width;
91
- min-width: $nav-tab-link-min-width;
83
+ .nav-tabs-indicator {
84
+ background-color: $nav-tab-indicator-bg;
85
+ display: none;
86
+ height: $nav-tab-indicator-height;
87
+ position: absolute;
88
+ bottom: 0;
92
89
 
93
- @include media-breakpoint-up(lg) {
94
- min-width: $nav-tab-link-min-width-lg;
95
- }
96
- }
90
+ &.show {
91
+ display: block;
97
92
  }
98
93
  }
94
+ }
99
95
 
100
- .nav-tabs-material {
101
- position: relative;
96
+ .nav-tabs-scrollable {
97
+ box-shadow: inset 0 ($nav-tab-border-width * -2) 0 ($nav-tab-border-width * -1) $nav-tab-border-color;
98
+ height: $nav-tab-height;
99
+ overflow: hidden;
102
100
 
103
- .nav-link::before {
104
- transition: none;
105
- }
101
+ .nav-tabs {
102
+ box-shadow: none;
103
+ flex-wrap: nowrap;
104
+ overflow-x: auto;
105
+ overflow-y: hidden;
106
+ padding-bottom: $nav-tab-height;
106
107
 
107
- .nav-tabs-indicator {
108
- background-color: $nav-tab-indicator-bg;
109
- height: $nav-tab-indicator-height;
108
+ &::-webkit-scrollbar {
110
109
  display: none;
111
- position: absolute;
112
- bottom: 0;
113
-
114
- &.show {
115
- display: block;
116
- }
117
110
  }
118
-
119
- // animation
120
- &.animate {
121
- .nav-link::before {
122
- opacity: 0;
123
- }
124
-
125
- .nav-tabs-indicator {
126
- transition-duration: $transition-duration;
127
- transition-property: left, right;
128
- transition-timing-function: $transition-timing-function-standard;
129
- }
130
- }
131
111
  }
112
+ }
@@ -1,27 +1,27 @@
1
1
  .floating-label {
2
+ @include floating-label-size($textfield-font-size, $textfield-height, $textfield-line-height, $textfield-padding-y);
3
+
4
+ padding-top: $floating-label-font-size-focus;
2
5
  position: relative;
3
- @include floating-label-size($textfield-font-size, $textfield-height, $textfield-padding-top, $textfield-padding-bottom);
4
6
 
5
7
  > label {
8
+ @include text-truncate;
9
+ @include transition-standard(color, line-height, top, transform);
10
+
6
11
  color: $floating-label-color;
7
- cursor: text;
8
12
  display: block;
9
13
  font-weight: normal;
10
14
  margin: 0;
11
- overflow: hidden;
12
15
  padding: 0;
13
16
  position: absolute;
14
- left: 0;
15
- text-overflow: ellipsis;
17
+ left: 0;
16
18
  transform-origin: 0 0;
17
- white-space: nowrap;
18
- @include transition-standard(color, top, transform);
19
19
  }
20
20
 
21
21
  &.has-value > label,
22
22
  &.is-focused > label {
23
- // position
24
- top: 0;
23
+ line-height: 1;
24
+ top: 0;
25
25
  }
26
26
 
27
27
  &.is-focused > label {
@@ -31,26 +31,35 @@
31
31
  > .form-control {
32
32
  position: relative;
33
33
 
34
+ &:focus {
35
+ &::placeholder {
36
+ color: $textfield-hint-color;
37
+ opacity: 1;
38
+ }
39
+ }
40
+
34
41
  &::placeholder {
42
+ @include transition-standard(opacity);
43
+
35
44
  color: transparent;
36
45
  opacity: 0;
37
46
  }
38
47
  }
39
48
  }
40
49
 
41
- // size
42
- .floating-label-lg {
43
- @include floating-label-size($textfield-font-size-lg, $textfield-height-lg, $textfield-padding-top-lg, $textfield-padding-bottom-lg);
50
+ // Size
51
+ .floating-label-lg {
52
+ @include floating-label-size($textfield-font-size-lg, $textfield-height-lg, $textfield-line-height-lg, $textfield-padding-y-lg);
44
53
 
45
- > .form-control {
46
- @extend .form-control-lg;
47
- }
54
+ > .form-control {
55
+ @extend %form-control-lg;
48
56
  }
57
+ }
49
58
 
50
- .floating-label-sm {
51
- @include floating-label-size($textfield-font-size-sm, $textfield-height-sm, $textfield-padding-top-sm, $textfield-padding-bottom-sm);
59
+ .floating-label-sm {
60
+ @include floating-label-size($textfield-font-size-sm, $textfield-height-sm, $textfield-line-height-sm, $textfield-padding-y-sm);
52
61
 
53
- > .form-control {
54
- @extend .form-control-sm;
55
- }
62
+ > .form-control {
63
+ @extend %form-control-sm;
56
64
  }
65
+ }