material-sass 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/fonts/MaterialIcons-Regular.eot +0 -0
  3. data/app/assets/fonts/MaterialIcons-Regular.ttf +0 -0
  4. data/app/assets/fonts/MaterialIcons-Regular.woff +0 -0
  5. data/app/assets/fonts/MaterialIcons-Regular.woff2 +0 -0
  6. data/app/assets/javascripts/init.js +9 -0
  7. data/app/assets/javascripts/material/_.js +1 -5
  8. data/app/assets/javascripts/material/bootstrap.js +2 -2
  9. data/app/assets/javascripts/material/datepicker.js +58 -18
  10. data/app/assets/javascripts/material/dropdown.js +0 -13
  11. data/app/assets/javascripts/material/form-adv.js +2 -2
  12. data/app/assets/javascripts/material/header.js +39 -41
  13. data/app/assets/javascripts/material/menu.js +11 -35
  14. data/app/assets/javascripts/material/wave.js +10 -13
  15. data/app/assets/javascripts/material/webfont.js +33 -36
  16. data/app/assets/javascripts/material-sprockets.js +2 -1
  17. data/app/assets/stylesheets/material/_code.scss +1 -1
  18. data/app/assets/stylesheets/material/_reset.scss +16 -17
  19. data/app/assets/stylesheets/material/_utilities.scss +13 -16
  20. data/app/assets/stylesheets/material/_variable.scss +6 -3
  21. data/app/assets/stylesheets/material/addon/_material-design-icon.scss +6 -6
  22. data/app/assets/stylesheets/material/addon/_waves.scss +11 -17
  23. data/app/assets/stylesheets/material/addon/material-design-icon/_core.scss +18 -15
  24. data/app/assets/stylesheets/material/addon/material-design-icon/_larger.scss +20 -0
  25. data/app/assets/stylesheets/material/addon/material-design-icon/_path.scss +9 -8
  26. data/app/assets/stylesheets/material/addon/material-design-icon/_variables.scss +2 -776
  27. data/app/assets/stylesheets/material/base.scss +3 -0
  28. data/app/assets/stylesheets/material/element/_avatar.scss +2 -2
  29. data/app/assets/stylesheets/material/element/_breadcrumb.scss +2 -2
  30. data/app/assets/stylesheets/material/element/_button-flat.scss +32 -0
  31. data/app/assets/stylesheets/material/element/_button-float.scss +47 -60
  32. data/app/assets/stylesheets/material/element/_button.scss +18 -42
  33. data/app/assets/stylesheets/material/element/_card.scss +7 -19
  34. data/app/assets/stylesheets/material/element/_dropdown.scss +15 -18
  35. data/app/assets/stylesheets/material/element/_form-adv-checkbox.scss +12 -26
  36. data/app/assets/stylesheets/material/element/_form-adv-datepicker.scss +77 -55
  37. data/app/assets/stylesheets/material/element/_form-adv-label.scss +2 -2
  38. data/app/assets/stylesheets/material/element/_form-adv-switch.scss +38 -12
  39. data/app/assets/stylesheets/material/element/_form.scss +7 -7
  40. data/app/assets/stylesheets/material/element/_label.scss +1 -1
  41. data/app/assets/stylesheets/material/element/_modal.scss +22 -19
  42. data/app/assets/stylesheets/material/element/_progress-circular.scss +165 -0
  43. data/app/assets/stylesheets/material/element/_progress-loadbar.scss +103 -0
  44. data/app/assets/stylesheets/material/element/_progress.scss +7 -411
  45. data/app/assets/stylesheets/material/element/_sortable.scss +2 -2
  46. data/app/assets/stylesheets/material/element/_tab.scss +49 -17
  47. data/app/assets/stylesheets/material/element/_tile.scss +11 -13
  48. data/app/assets/stylesheets/material/element/_toast.scss +10 -11
  49. data/app/assets/stylesheets/material/mixin/_css3.scss +0 -45
  50. data/app/assets/stylesheets/material/theme/_content.scss +7 -7
  51. data/app/assets/stylesheets/material/theme/_header.scss +29 -173
  52. data/app/assets/stylesheets/material/theme/_menu.scss +160 -210
  53. data/lib/material-sass/engine.rb +1 -1
  54. data/lib/material-sass/version.rb +1 -1
  55. metadata +12 -9
  56. data/app/assets/fonts/MaterialDesignIcon.eot +0 -0
  57. data/app/assets/fonts/MaterialDesignIcon.svg +0 -773
  58. data/app/assets/fonts/MaterialDesignIcon.ttf +0 -0
  59. data/app/assets/fonts/MaterialDesignIcon.woff +0 -0
  60. data/app/assets/javascripts/material/sortable.js +0 -10
  61. data/app/assets/stylesheets/material/addon/material-design-icon/_icons.scss +0 -773
@@ -24,6 +24,7 @@
24
24
  @import "element/avatar";
25
25
  @import "element/breadcrumb";
26
26
  @import "element/button";
27
+ @import "element/button-flat";
27
28
  @import "element/button-float";
28
29
  @import "element/card";
29
30
  @import "element/dropdown";
@@ -37,6 +38,8 @@
37
38
  @import "element/modal";
38
39
  @import "element/nav";
39
40
  @import "element/progress";
41
+ @import "element/progress-circular";
42
+ @import "element/progress-loadbar";
40
43
  @import "element/sortable";
41
44
  @import "element/tab";
42
45
  @import "element/table";
@@ -37,7 +37,7 @@
37
37
  // colour
38
38
  @each $color in $palette-list {
39
39
  $i: index($palette-list, $color);
40
-
40
+
41
41
  .avatar-#{$color} {
42
42
  background-color: nth($palette-color, $i);
43
43
  color: $white;
@@ -64,4 +64,4 @@
64
64
 
65
65
  .avatar-transparent {
66
66
  background-color: transparent;
67
- }
67
+ }
@@ -9,7 +9,7 @@
9
9
  + li:before {
10
10
  @extend .icon;
11
11
  color: $black-hint;
12
- content: unicode($mdicon-var-chevron-right);
12
+ content: "chevron_right";
13
13
  display: inline-block;
14
14
  line-height: $line-height;
15
15
  margin-left: 0.4em;
@@ -24,4 +24,4 @@
24
24
  text-decoration: none;
25
25
  }
26
26
  }
27
- }
27
+ }
@@ -0,0 +1,32 @@
1
+ .btn-flat {
2
+ background-color: transparent;
3
+ box-shadow: none;
4
+ &:active,
5
+ &:focus,
6
+ &:hover {
7
+ background-color: $black-bg;
8
+ box-shadow: none;
9
+ }
10
+ &[disabled],
11
+ fieldset[disabled] & {
12
+ color: $black-text;
13
+ }
14
+ }
15
+
16
+ // colour
17
+ @each $color in $palette-list {
18
+ $i: index($palette-list, $color);
19
+
20
+ .btn-flat.btn-#{$color} {
21
+ color: nth($palette-color, $i);
22
+ &:active,
23
+ &:focus,
24
+ &:hover {
25
+ background-color: nth($palette-color-light, $i);
26
+ }
27
+ &[disabled],
28
+ fieldset[disabled] & {
29
+ color: nth($palette-color, $i);
30
+ }
31
+ }
32
+ }
@@ -1,6 +1,7 @@
1
1
  .fbtn {
2
2
  background-color: $black-bg;
3
3
  border-radius: 50%;
4
+ box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
4
5
  clear: both;
5
6
  color: $black-text;
6
7
  cursor: pointer;
@@ -10,25 +11,23 @@
10
11
  padding: ($line-height / 2) 0;
11
12
  position: relative;
12
13
  text-align: center;
14
+ transition: all 0.3s $timing;
15
+ transition-property: box-shadow, opacity, transform;
13
16
  width: ($line-height * 2);
14
- @include box-shadow(0 3px 10px rgba(0, 0, 0, 0.5));
15
- @include transition(all 0.3s $timing);
16
- -webkit-transition-property: box-shadow, opacity, -webkit-transform;
17
- transition-property: box-shadow, opacity, transform;
18
17
  }
19
18
 
20
19
  a.fbtn {
21
20
  &:focus,
22
21
  &:hover {
22
+ box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5), 0 3px 15px rgba(0, 0, 0, 0.5);
23
23
  color: $black-text;
24
- @include box-shadow(0 3px 10px rgba(0, 0, 0, 0.5), 0 3px 15px rgba(0, 0, 0, 0.5));
25
24
  }
26
25
  }
27
26
 
28
27
  // colour
29
28
  @each $color in $palette-list {
30
29
  $i: index($palette-list, $color);
31
-
30
+
32
31
  .fbtn-#{$color} {
33
32
  background-color: nth($palette-color, $i);
34
33
  color: $white !important;
@@ -49,12 +48,12 @@ a.fbtn {
49
48
  }
50
49
 
51
50
  .fbtn-container {
51
+ backface-visibility: hidden;
52
52
  position: fixed;
53
53
  right: $grid-gutter;
54
54
  bottom: ($line-height / 2);
55
+ transition: margin-bottom 0.3s $timing, right 0.3s $timing;
55
56
  z-index: ($content-base + 1);
56
- @include backface(hidden);
57
- @include transition(margin-bottom 0.3s $timing, right 0.3s $timing);
58
57
  }
59
58
 
60
59
  .fbtn-dropdown {
@@ -65,67 +64,54 @@ a.fbtn {
65
64
  position: absolute;
66
65
  right: ($grid-gutter * -1);
67
66
  bottom: 100%;
68
- @include transition(max-height 0s 0.5s);
67
+ transition: max-height 0s 0.5s;
69
68
  .fbtn-inner.open & {
70
69
  max-height: 99999px;
71
70
  overflow: visible;
72
- @include transition(max-height 0s);
71
+ transition: max-height 0s;
73
72
  }
74
73
  .fbtn {
75
- @include opacity(0);
76
- @include transform(scale(0.5));
74
+ opacity: 0;
75
+ transform: scale(0.5);
77
76
  &:nth-last-child(1) {
78
- -webkit-transition-delay: 300ms;
79
- transition-delay: 300ms;
77
+ transition-delay: 300ms;
80
78
  }
81
79
  &:nth-last-child(2) {
82
- -webkit-transition-delay: 250ms;
83
- transition-delay: 250ms;
80
+ transition-delay: 250ms;
84
81
  }
85
82
  &:nth-last-child(3) {
86
- -webkit-transition-delay: 200ms;
87
- transition-delay: 200ms;
83
+ transition-delay: 200ms;
88
84
  }
89
85
  &:nth-last-child(4) {
90
- -webkit-transition-delay: 150ms;
91
- transition-delay: 150ms;
86
+ transition-delay: 150ms;
92
87
  }
93
88
  &:nth-last-child(5) {
94
- -webkit-transition-delay: 100ms;
95
- transition-delay: 100ms;
89
+ transition-delay: 100ms;
96
90
  }
97
91
  &:nth-last-child(6) {
98
- -webkit-transition-delay: 50ms;
99
- transition-delay: 50ms;
92
+ transition-delay: 50ms;
100
93
  }
101
94
  .fbtn-inner.open & {
102
- @include opacity(1);
103
- @include transform(scale(1));
104
- -webkit-transition-delay: 300ms;
105
- transition-delay: 300ms;
95
+ opacity: 1;
96
+ transform: scale(1);
97
+ transition-delay: 300ms;
106
98
  &:nth-last-child(1) {
107
- -webkit-transition-delay: 0s;
108
- transition-delay: 0s;
99
+ transition-delay: 0s;
109
100
  }
110
101
  &:nth-last-child(2) {
111
- -webkit-transition-delay: 50ms;
112
- transition-delay: 50ms;
102
+ transition-delay: 50ms;
113
103
  }
114
104
  &:nth-last-child(3) {
115
- -webkit-transition-delay: 100ms;
116
- transition-delay: 100ms;
105
+ transition-delay: 100ms;
117
106
  }
118
107
  &:nth-last-child(4) {
119
- -webkit-transition-delay: 150ms;
120
- transition-delay: 150ms;
108
+ transition-delay: 150ms;
121
109
  }
122
110
  &:nth-last-child(5) {
123
- -webkit-transition-delay: 200ms;
124
- transition-delay: 200ms;
111
+ transition-delay: 200ms;
125
112
  }
126
113
  &:nth-last-child(6) {
127
- -webkit-transition-delay: 250ms;
128
- transition-delay: 250ms;
114
+ transition-delay: 250ms;
129
115
  }
130
116
  }
131
117
  }
@@ -133,38 +119,39 @@ a.fbtn {
133
119
 
134
120
  .fbtn-ori,
135
121
  .fbtn-sub {
136
- @include transition(all 0.3s $timing);
137
- -webkit-transition-property: opacity, -webkit-transform;
138
- transition-property: opacity, transform;
122
+ transition: all 0.3s $timing;
123
+ transition-property: opacity, transform;
124
+ &.#{$mdicon-css-prefix} {
125
+ vertical-align: bottom;
126
+ }
139
127
  }
140
128
 
141
129
  .fbtn-ori {
142
130
  .fbtn-inner.open & {
143
- @include opacity(0);
144
- @include transform(rotate(225deg));
131
+ opacity: 0;
132
+ transform: rotate(225deg);
145
133
  }
146
134
  }
147
135
 
148
136
  .fbtn-rotate {
149
- @include transition(all 0.3s $timing);
150
- -webkit-transition-property: opacity, -webkit-transform;
151
- transition-property: opacity, transform;
137
+ transition: all 0.3s $timing;
138
+ transition-property: opacity, transform;
152
139
  .fbtn-inner.open & {
153
- @include transform(rotate(225deg));
140
+ transform: rotate(225deg);
154
141
  }
155
142
  }
156
143
 
157
144
  .fbtn-sub {
145
+ opacity: 0;
158
146
  position: absolute;
159
147
  top: ($line-height / 2);
160
148
  left: 0;
161
149
  text-align: center;
150
+ transform: rotate(-225deg);
162
151
  width: 100%;
163
- @include opacity(0);
164
- @include transform(rotate(-225deg));
165
152
  .fbtn-inner.open & {
166
- @include opacity(1);
167
- @include transform(rotate(0));
153
+ opacity: 1;
154
+ transform: rotate(0);
168
155
  }
169
156
  }
170
157
 
@@ -177,39 +164,39 @@ a.fbtn {
177
164
  height: 0;
178
165
  margin-top: ($line-height / -2);
179
166
  margin-right: $grid-gutter;
167
+ opacity: 0;
180
168
  overflow: hidden;
181
169
  padding-right: ($grid-gutter / 2);
182
170
  padding-left: ($grid-gutter / 2);
183
171
  position: absolute;
184
172
  top: 50%;
185
173
  right: 100%;
174
+ transition: opacity 0.3s $timing;
186
175
  white-space: nowrap;
187
176
  width: 0;
188
- @include opacity(0);
189
- @include transition(opacity 0.3s $timing);
190
177
  // touch & no touch
191
178
  .no-touch .fbtn:hover & {
192
179
  height: auto;
180
+ opacity: 1;
193
181
  width: auto;
194
- @include opacity(1);
195
182
  }
196
183
  .no-touch .fbtn-dropdown .fbtn:hover & {
197
184
  height: 0;
185
+ opacity: 0;
198
186
  width: 0;
199
- @include opacity(0);
200
187
  }
201
188
  .no-touch .fbtn-inner.open .fbtn-dropdown .fbtn:hover & {
202
189
  height: auto;
190
+ opacity: 1;
203
191
  width: auto;
204
- @include opacity(1);
205
192
  }
206
193
  .touch & {
207
194
  display: none;
208
195
  height: auto;
196
+ opacity: 1;
209
197
  width: auto;
210
- @include opacity(1);
211
198
  }
212
199
  .touch .fbtn-inner.open & {
213
200
  display: block;
214
201
  }
215
- }
202
+ }
@@ -5,11 +5,12 @@
5
5
  background-size: 100% 100%;
6
6
  border: 1px solid transparent;
7
7
  border-radius: 2px;
8
+ box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15), 0 1px 5px 1px rgba(0, 0, 0, 0.15);
8
9
  color: $black-text;
9
10
  cursor: pointer;
10
11
  display: inline-block;
11
12
  font-size: $font-size;
12
- font-weight: 400;
13
+ font-weight: $font-weight;
13
14
  line-height: $line-height;
14
15
  margin-bottom: 0;
15
16
  max-width: 100%;
@@ -17,23 +18,22 @@
17
18
  position: relative;
18
19
  text-align: center;
19
20
  text-transform: uppercase;
21
+ transition: background-color 0.3s $timing, box-shadow 0.3s $timing;
22
+ user-select: none;
20
23
  vertical-align: middle;
21
24
  white-space: nowrap;
22
- @include box-shadow(0 1px 5px rgba(0, 0, 0, 0.15), 0 1px 5px 1px rgba(0, 0, 0, 0.15));
23
- @include transition(background-color 0.3s $timing, box-shadow 0.3s $timing);
24
- @include user-select(none);
25
25
  &:active,
26
26
  &:focus,
27
27
  &:hover {
28
+ box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15), 0 5px 10px 1px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.15);
28
29
  color: $black-text;
29
30
  outline: 0;
30
31
  text-decoration: none;
31
- @include box-shadow(0 1px 5px rgba(0, 0, 0, 0.15), 0 5px 10px 1px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.15));
32
32
  }
33
33
  &[disabled],
34
34
  fieldset[disabled] & {
35
35
  cursor: not-allowed;
36
- @include opacity(0.5);
36
+ opacity: 0.5;
37
37
  }
38
38
  &.waves-effect {
39
39
  border: 0;
@@ -44,7 +44,7 @@
44
44
  // colour
45
45
  @each $color in $palette-list {
46
46
  $i: index($palette-list, $color);
47
-
47
+
48
48
  .btn-#{$color} {
49
49
  background-color: nth($palette-color, $i);
50
50
  color: $white;
@@ -61,6 +61,15 @@
61
61
  }
62
62
 
63
63
  // size
64
+ .btn-lg {
65
+ font-size: $font-size-h4;
66
+ line-height: $line-height-h4;
67
+ padding: (($base * 3 * 2.5 - $line-height-h4 - 2) / 2) ($grid-gutter * 1.5 - 1);
68
+ &.waves-effect {
69
+ padding: (($base * 3 * 2.5 - $line-height-h4) / 2) ($grid-gutter * 1.5);
70
+ }
71
+ }
72
+
64
73
  .btn-sm {
65
74
  font-size: $font-size-h6;
66
75
  line-height: ($line-height - 2);
@@ -76,44 +85,11 @@
76
85
  width: 100%;
77
86
  }
78
87
 
79
- .btn-flat {
80
- background-color: transparent;
81
- @include box-shadow(none);
82
- &:active,
83
- &:focus,
84
- &:hover {
85
- background-color: $black-bg;
86
- @include box-shadow(none);
87
- }
88
- &[disabled],
89
- fieldset[disabled] & {
90
- color: $black-text;
91
- }
92
- }
93
-
94
- // colour
95
- @each $color in $palette-list {
96
- $i: index($palette-list, $color);
97
-
98
- .btn-flat.btn-#{$color} {
99
- color: nth($palette-color, $i);
100
- &:active,
101
- &:focus,
102
- &:hover {
103
- background-color: nth($palette-color-light, $i);
104
- }
105
- &[disabled],
106
- fieldset[disabled] & {
107
- color: nth($palette-color, $i);
108
- }
109
- }
110
- }
111
-
112
88
  .btn-text {
113
89
  color: $black-text;
114
90
  display: inline-block;
115
91
  font-size: $font-size;
116
- font-weight: 400;
92
+ font-weight: $font-weight;
117
93
  line-height: $line-height;
118
94
  padding: (($btn-height - $line-height) / 2) 0;
119
- }
95
+ }
@@ -1,16 +1,12 @@
1
1
  .card {
2
2
  background-color: $white;
3
3
  border-radius: 2px;
4
+ box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
4
5
  display: block;
5
- display: -webkit-box;
6
- display: -moz-box;
7
- display: -ms-flexbox;
8
- display: -webkit-flex;
9
- display: flex;
6
+ display: flex;
10
7
  margin-bottom: $line-height;
8
+ transition: box-shadow 0.3s $timing;
11
9
  position: relative;
12
- @include box-shadow(0 1px 6px rgba(0, 0, 0, 0.3));
13
- @include transition(box-shadow 0.3s $timing);
14
10
  &[class*="-bg"] {
15
11
  color: $white;
16
12
  }
@@ -29,7 +25,7 @@
29
25
  $i: index($palette-list, $color);
30
26
 
31
27
  .card-#{$color} {
32
- @include box-shadow(0 0 2px rgba(0, 0, 0, 0.3), 0 1px 6px rgba(red(nth($palette-color, $i)), green(nth($palette-color, $i)), blue(nth($palette-color, $i)), 0.3));
28
+ box-shadow: 0 0 2px rgba(0, 0, 0, 0.3), 0 1px 6px rgba(red(nth($palette-color, $i)), green(nth($palette-color, $i)), blue(nth($palette-color, $i)), 0.3);
33
29
  // no boxshadow
34
30
  .no-boxshadow & {
35
31
  border-color: nth($palette-color-light, $i);
@@ -176,11 +172,7 @@
176
172
  }
177
173
 
178
174
  .card-main {
179
- -webkit-box-flex: 1;
180
- -moz-box-flex: 1;
181
- -webkit-flex: 1;
182
- -ms-flex: 1;
183
- flex: 1;
175
+ flex: 1;
184
176
  }
185
177
 
186
178
  // colour
@@ -213,11 +205,7 @@
213
205
  }
214
206
  &.card-side-right {
215
207
  border-radius: 0 2px 2px 0;
216
- -webkit-box-ordinal-group: 2;
217
- -moz-box-ordinal-group: 2;
218
- -ms-flex-order: 2;
219
- -webkit-order: 2;
220
- order: 2;
208
+ order: 2;
221
209
  }
222
210
  }
223
211
 
@@ -254,4 +242,4 @@
254
242
 
255
243
  .card-wrap {
256
244
  margin-top: $line-height;
257
- }
245
+ }
@@ -1,9 +1,9 @@
1
1
  .dropdown {
2
2
  position: relative;
3
- @include transition(z-index 0s 0.3s);
3
+ transition: z-index 0s 0.3s;
4
4
  &.open {
5
+ transition: z-index 0s;
5
6
  z-index: ($content-base + 1);
6
- @include transition(z-index 0s);
7
7
  }
8
8
  [data-toggle="dropdown"] {
9
9
  cursor: pointer;
@@ -18,9 +18,11 @@
18
18
  background-color: $white;
19
19
  border: 1px solid $black-hint;
20
20
  border-radius: 0 2px 2px 2px;
21
+ box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.15);
21
22
  list-style: none;
22
23
  margin: -1px 0 0 !important;
23
24
  min-width: 100%;
25
+ opacity: 0;
24
26
  padding-top: ($line-height / 2) !important;
25
27
  padding-right: 0;
26
28
  padding-bottom: ($line-height / 2) !important;
@@ -28,17 +30,13 @@
28
30
  position: absolute;
29
31
  top: 100%;
30
32
  left: 0;
31
- @include box-shadow(0 5px 10px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.15));
32
- @include opacity(0);
33
- @include transform(scale(0.25, 0));
34
- -webkit-transform-origin: 0 0;
35
- transform-origin: 0 0;
36
- @include transition(all 0.3s $timing);
37
- -webkit-transition-property: opacity, -webkit-transform;
38
- transition-property: opacity, transform;
33
+ transform: scale(0.25, 0);
34
+ transform-origin: 0 0;
35
+ transition: all 0.3s $timing;
36
+ transition-property: opacity, transform;
39
37
  .dropdown.open & {
40
- @include opacity(1);
41
- @include transform(scale(1, 1));
38
+ opacity: 1;
39
+ transform: scale(1, 1);
42
40
  }
43
41
  &.dropdown-menu-right,
44
42
  .dropdown.pull-right &,
@@ -47,8 +45,7 @@
47
45
  // position
48
46
  right: 0;
49
47
  left: auto;
50
- -webkit-transform-origin: 100% 0;
51
- transform-origin: 100% 0;
48
+ transform-origin: 100% 0;
52
49
  }
53
50
  a,
54
51
  .a {
@@ -84,7 +81,7 @@
84
81
  }
85
82
 
86
83
  .dropdown-toggle {
87
- @include transition(background-color 0.3s $timing);
84
+ transition: background-color 0.3s $timing;
88
85
  .dropdown.open & {
89
86
  background-color: $black-bg;
90
87
  border-radius: 2px 2px 0 0;
@@ -107,8 +104,8 @@
107
104
  z-index: 1;
108
105
  .dropdown.open & {
109
106
  background-color: $white;
107
+ box-shadow: none;
110
108
  color: $black-text;
111
- @include box-shadow(none);
112
109
  }
113
110
  ~ .dropdown-menu {
114
111
  min-width: 101%;
@@ -117,7 +114,7 @@
117
114
  // position
118
115
  top: ($line-height / -2);
119
116
  left: -1px;
120
- @include transform(scale(1, 0));
117
+ transform: scale(1, 0);
121
118
  &.dropdown-menu-right,
122
119
  .dropdown.pull-right &,
123
120
  .nav.pull-right & {
@@ -132,4 +129,4 @@
132
129
  margin-top: $line-height;
133
130
  margin-bottom: $line-height;
134
131
  @include clearfix();
135
- }
132
+ }
@@ -11,7 +11,7 @@
11
11
  }
12
12
  .circle {
13
13
  border: 2px solid $black-sec;
14
- @include transition(border-color 0.3s $timing);
14
+ transition: border-color 0.3s $timing;
15
15
  }
16
16
  &.disabled,
17
17
  fieldset[disabled] & {
@@ -27,21 +27,20 @@
27
27
  }
28
28
  .circle-check {
29
29
  background-color: transparent;
30
- @include transform(scale(0));
31
- @include transition(all 0.3s $timing);
32
- -webkit-transition-property: background-color, -webkit-transform;
33
- transition-property: background-color, transform;
30
+ transform: scale(0);
31
+ transition: all 0.3s $timing;
32
+ transition-property: background-color, transform;
34
33
  &:after {
35
34
  background-color: $brand-color;
36
35
  border-radius: 50%;
37
36
  content: "";
38
37
  display: block;
39
38
  height: ($font-size * 5);
39
+ opacity: 0;
40
40
  position: absolute;
41
41
  top: ($font-size * -2);
42
42
  left: ($font-size * -2);
43
43
  width: ($font-size * 5);
44
- @include opacity(0);
45
44
  }
46
45
  }
47
46
  &.disabled,
@@ -51,18 +50,17 @@
51
50
  }
52
51
  }
53
52
  input.access-hide:checked ~ .circle-check {
54
- @include transform(scale(0.5));
53
+ transform: scale(0.5);
55
54
  &:after {
56
- @include animation(circle-check 0.6s);
55
+ animation: circle-check 0.6s;
57
56
  }
58
57
  }
59
58
  .circle-icon {
60
59
  background-color: transparent;
61
60
  color: transparent;
62
- @include transform(scale(0.5));
63
- @include transition(all 0.3s $timing);
64
- -webkit-transition-property: background-color, color, -webkit-transform;
65
- transition-property: background-color, color, transform;
61
+ transform: scale(0.5);
62
+ transition: all 0.3s $timing;
63
+ transition-property: background-color, color, transform;
66
64
  &:before {
67
65
  // position
68
66
  top: auto;
@@ -71,7 +69,7 @@
71
69
  input.access-hide:checked ~ .circle-icon {
72
70
  background-color: $brand-color;
73
71
  color: $white;
74
- @include transform(scale(1));
72
+ transform: scale(1);
75
73
  }
76
74
  &.disabled,
77
75
  fieldset[disabled] & {
@@ -98,18 +96,6 @@
98
96
  }
99
97
 
100
98
  // animation
101
- @-webkit-keyframes circle-check {
102
- 0% {
103
- opacity: 0;
104
- }
105
- 25% {
106
- opacity: 0.25;
107
- }
108
- 100% {
109
- opacity: 0;
110
- }
111
- }
112
-
113
99
  @keyframes circle-check {
114
100
  0% {
115
101
  opacity: 0;
@@ -120,4 +106,4 @@
120
106
  100% {
121
107
  opacity: 0;
122
108
  }
123
- }
109
+ }