less-rails-semantic_ui 2.0.7.0 → 2.1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/fonts/semantic_ui/themes/github/assets/fonts/octicons-local.ttf +0 -0
- data/assets/fonts/semantic_ui/themes/github/assets/fonts/octicons.svg +200 -0
- data/assets/fonts/semantic_ui/themes/github/assets/fonts/octicons.ttf +0 -0
- data/assets/fonts/semantic_ui/themes/github/assets/fonts/octicons.woff +0 -0
- data/assets/javascripts/semantic_ui/definitions/behaviors/api.js +26 -8
- data/assets/javascripts/semantic_ui/definitions/behaviors/form.js +281 -74
- data/assets/javascripts/semantic_ui/definitions/globals/site.js +2 -2
- data/assets/javascripts/semantic_ui/definitions/modules/accordion.js +17 -13
- data/assets/javascripts/semantic_ui/definitions/modules/checkbox.js +124 -48
- data/assets/javascripts/semantic_ui/definitions/modules/dropdown.js +202 -112
- data/assets/javascripts/semantic_ui/definitions/modules/embed.js +1 -4
- data/assets/javascripts/semantic_ui/definitions/modules/modal.js +13 -13
- data/assets/javascripts/semantic_ui/definitions/modules/nag.js +11 -1
- data/assets/javascripts/semantic_ui/definitions/modules/popup.js +23 -10
- data/assets/javascripts/semantic_ui/definitions/modules/search.js +84 -55
- data/assets/javascripts/semantic_ui/definitions/modules/sticky.js +34 -32
- data/assets/javascripts/semantic_ui/definitions/modules/tab.js +10 -9
- data/assets/javascripts/semantic_ui/definitions/modules/transition.js +5 -5
- data/assets/stylesheets/semantic_ui/definitions/collections/breadcrumb.less +1 -1
- data/assets/stylesheets/semantic_ui/definitions/collections/form.less +90 -25
- data/assets/stylesheets/semantic_ui/definitions/collections/grid.less +146 -23
- data/assets/stylesheets/semantic_ui/definitions/collections/menu.less +138 -64
- data/assets/stylesheets/semantic_ui/definitions/collections/message.less +6 -6
- data/assets/stylesheets/semantic_ui/definitions/collections/table.less +19 -0
- data/assets/stylesheets/semantic_ui/definitions/elements/button.less +109 -31
- data/assets/stylesheets/semantic_ui/definitions/elements/container.less +25 -1
- data/assets/stylesheets/semantic_ui/definitions/elements/divider.less +4 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/header.less +0 -2
- data/assets/stylesheets/semantic_ui/definitions/elements/icon.less +22 -3
- data/assets/stylesheets/semantic_ui/definitions/elements/input.less +59 -28
- data/assets/stylesheets/semantic_ui/definitions/elements/label.less +353 -235
- data/assets/stylesheets/semantic_ui/definitions/elements/list.less +16 -1
- data/assets/stylesheets/semantic_ui/definitions/elements/reveal.less +4 -11
- data/assets/stylesheets/semantic_ui/definitions/elements/segment.less +2 -1
- data/assets/stylesheets/semantic_ui/definitions/elements/step.less +9 -5
- data/assets/stylesheets/semantic_ui/definitions/globals/site.less +3 -0
- data/assets/stylesheets/semantic_ui/definitions/modules/dropdown.less +19 -1
- data/assets/stylesheets/semantic_ui/definitions/views/item.less +2 -2
- data/assets/stylesheets/semantic_ui/theme.less +10 -4
- data/assets/stylesheets/semantic_ui/themes/amazon/globals/site.variables +43 -0
- data/assets/stylesheets/semantic_ui/themes/bookish/elements/header.variables +5 -5
- data/assets/stylesheets/semantic_ui/themes/chubby/elements/header.variables +5 -5
- data/assets/stylesheets/semantic_ui/themes/default/collections/breadcrumb.variables +1 -1
- data/assets/stylesheets/semantic_ui/themes/default/collections/form.variables +15 -5
- data/assets/stylesheets/semantic_ui/themes/default/collections/grid.variables +5 -0
- data/assets/stylesheets/semantic_ui/themes/default/collections/menu.variables +29 -14
- data/assets/stylesheets/semantic_ui/themes/default/elements/button.variables +14 -4
- data/assets/stylesheets/semantic_ui/themes/default/elements/container.variables +14 -1
- data/assets/stylesheets/semantic_ui/themes/default/elements/icon.overrides +0 -12
- data/assets/stylesheets/semantic_ui/themes/default/elements/input.variables +5 -6
- data/assets/stylesheets/semantic_ui/themes/default/elements/label.variables +30 -6
- data/assets/stylesheets/semantic_ui/themes/default/globals/site.variables +11 -2
- data/assets/stylesheets/semantic_ui/themes/default/modules/checkbox.variables +4 -4
- data/assets/stylesheets/semantic_ui/themes/default/modules/dropdown.variables +13 -7
- data/assets/stylesheets/semantic_ui/themes/default/modules/popup.variables +1 -1
- data/assets/stylesheets/semantic_ui/themes/github/collections/breadcrumb.variables +11 -0
- data/assets/stylesheets/semantic_ui/themes/github/collections/grid.variables +2 -0
- data/assets/stylesheets/semantic_ui/themes/github/collections/table.variables +8 -0
- data/assets/stylesheets/semantic_ui/themes/github/elements/header.variables +9 -0
- data/assets/stylesheets/semantic_ui/themes/github/elements/icon.overrides +208 -0
- data/assets/stylesheets/semantic_ui/themes/github/elements/icon.variables +13 -0
- data/assets/stylesheets/semantic_ui/themes/github/elements/image.variables +5 -0
- data/assets/stylesheets/semantic_ui/themes/github/elements/input.overrides +32 -0
- data/assets/stylesheets/semantic_ui/themes/github/elements/input.variables +16 -0
- data/assets/stylesheets/semantic_ui/themes/github/elements/label.overrides +9 -0
- data/assets/stylesheets/semantic_ui/themes/github/elements/label.variables +4 -0
- data/assets/stylesheets/semantic_ui/themes/github/globals/site.variables +47 -0
- data/assets/stylesheets/semantic_ui/themes/github/modules/dropdown.overrides +53 -0
- data/assets/stylesheets/semantic_ui/themes/github/modules/dropdown.variables +35 -0
- data/assets/stylesheets/semantic_ui/themes/github/modules/popup.variables +12 -0
- data/assets/stylesheets/semantic_ui/themes/material/elements/button.overrides +0 -8
- data/assets/stylesheets/semantic_ui/themes/material/elements/button.variables +4 -2
- data/assets/stylesheets/semantic_ui/themes/twitter/elements/button.variables +1 -2
- data/lib/less/rails/semantic_ui/version.rb +1 -1
- metadata +22 -2
@@ -18,7 +18,6 @@
|
|
18
18
|
@verticalPadding: @inputVerticalPadding;
|
19
19
|
@horizontalPadding: 1.5em;
|
20
20
|
|
21
|
-
|
22
21
|
/* Text */
|
23
22
|
@textTransform: none;
|
24
23
|
@tapColor: transparent;
|
@@ -26,7 +25,7 @@
|
|
26
25
|
@fontWeight: bold;
|
27
26
|
@textColor: rgba(0, 0, 0, 0.6);
|
28
27
|
@textShadow: none;
|
29
|
-
@invertedTextShadow:
|
28
|
+
@invertedTextShadow: @textShadow;
|
30
29
|
@borderRadius: @defaultBorderRadius;
|
31
30
|
@verticalAlign: baseline;
|
32
31
|
|
@@ -45,7 +44,7 @@
|
|
45
44
|
;
|
46
45
|
|
47
46
|
/* Icon */
|
48
|
-
@iconHeight: @
|
47
|
+
@iconHeight: @relativeTiny;
|
49
48
|
@iconOpacity: 0.8;
|
50
49
|
@iconDistance: @relative6px;
|
51
50
|
@iconColor: '';
|
@@ -160,6 +159,16 @@
|
|
160
159
|
/* Icon */
|
161
160
|
@iconButtonOpacity: 0.9;
|
162
161
|
|
162
|
+
/* Labeled */
|
163
|
+
@labeledLabelFontSize: @medium;
|
164
|
+
@labeledLabelAlign: center;
|
165
|
+
@labeledLabelPadding: '';
|
166
|
+
@labeledLabelFontSize: @relativeMedium;
|
167
|
+
@labeledLabelBorderColor: @borderColor;
|
168
|
+
@labeledLabelBorderOffset: -@borderBoxShadowWidth;
|
169
|
+
@labeledTagLabelSize: 1.85em; /* hypotenuse of triangle */
|
170
|
+
@labeledIconMargin: 0em;
|
171
|
+
|
163
172
|
/* Labeled Icon */
|
164
173
|
@labeledIconWidth: 1em + (@verticalPadding * 2);
|
165
174
|
@labeledIconBackgroundColor: rgba(0, 0, 0, 0.05);
|
@@ -170,6 +179,7 @@
|
|
170
179
|
@labeledIconLeftShadow: -1px 0px 0px 0px @labeledIconBorder inset;
|
171
180
|
@labeledIconRightShadow: 1px 0px 0px 0px @labeledIconBorder inset;
|
172
181
|
|
182
|
+
|
173
183
|
/* Inverted */
|
174
184
|
@invertedBorderSize: 2px;
|
175
185
|
@invertedTextColor: @white;
|
@@ -181,7 +191,7 @@
|
|
181
191
|
@basicBorderRadius: @borderRadius;
|
182
192
|
@basicBorderSize: 1px;
|
183
193
|
@basicTextColor: @textColor;
|
184
|
-
@basicColoredBorderSize:
|
194
|
+
@basicColoredBorderSize: 1px;
|
185
195
|
|
186
196
|
@basicBackground: transparent none;
|
187
197
|
@basicFontWeight: normal;
|
@@ -28,12 +28,25 @@
|
|
28
28
|
@largeMonitorGutter: auto;
|
29
29
|
|
30
30
|
/* Coupling (Add Negative Margin to container size) */
|
31
|
-
@gridGutterWidth:
|
31
|
+
@gridGutterWidth: 2rem;
|
32
|
+
@relaxedGridGutterWidth: 3rem;
|
33
|
+
@veryRelaxedGridGutterWidth: 5rem;
|
34
|
+
|
32
35
|
@mobileGridWidth: @mobileWidth;
|
33
36
|
@tabletGridWidth: ~"calc("@tabletWidth~" + "@gridGutterWidth~")";
|
34
37
|
@computerGridWidth: ~"calc("@computerWidth~" + "@gridGutterWidth~")";
|
35
38
|
@largeMonitorGridWidth: ~"calc("@largeMonitorWidth~" + "@gridGutterWidth~")";
|
36
39
|
|
40
|
+
@mobileRelaxedGridWidth: @mobileWidth;
|
41
|
+
@tabletRelaxedGridWidth: ~"calc("@tabletWidth~" + "@relaxedGridGutterWidth~")";
|
42
|
+
@computerRelaxedGridWidth: ~"calc("@computerWidth~" + "@relaxedGridGutterWidth~")";
|
43
|
+
@largeMonitorRelaxedGridWidth: ~"calc("@largeMonitorWidth~" + "@relaxedGridGutterWidth~")";
|
44
|
+
|
45
|
+
@mobileVeryRelaxedGridWidth: @mobileWidth;
|
46
|
+
@tabletVeryRelaxedGridWidth: ~"calc("@tabletWidth~" + "@veryRelaxedGridGutterWidth~")";
|
47
|
+
@computerVeryRelaxedGridWidth: ~"calc("@computerWidth~" + "@veryRelaxedGridGutterWidth~")";
|
48
|
+
@largeMonitorVeryRelaxedGridWidth: ~"calc("@largeMonitorWidth~" + "@veryRelaxedGridGutterWidth~")";
|
49
|
+
|
37
50
|
/*-------------------
|
38
51
|
Types
|
39
52
|
--------------------*/
|
@@ -599,7 +599,6 @@ i.icon.like:before { content: "\f004"; }
|
|
599
599
|
i.icon.favorite:before { content: "\f005"; }
|
600
600
|
i.icon.video:before { content: "\f008"; }
|
601
601
|
i.icon.check:before { content: "\f00c"; }
|
602
|
-
i.icon.remove:before { content: "\f00d"; }
|
603
602
|
i.icon.close:before { content: "\f00d"; }
|
604
603
|
i.icon.cancel:before { content: "\f00d"; }
|
605
604
|
i.icon.delete:before { content: "\f00d"; }
|
@@ -616,7 +615,6 @@ i.icon.clock:before { content: "\f017"; }
|
|
616
615
|
i.icon.time:before { content: "\f017"; }
|
617
616
|
i.icon.play.circle.outline:before { content: "\f01d"; }
|
618
617
|
i.icon.headphone:before { content: "\f025"; }
|
619
|
-
i.icon.volume.off:before { content: "\f026"; }
|
620
618
|
i.icon.camera:before { content: "\f030"; }
|
621
619
|
i.icon.video.camera:before { content: "\f03d"; }
|
622
620
|
i.icon.picture:before { content: "\f03e"; }
|
@@ -626,7 +624,6 @@ i.icon.point:before { content: "\f041"; }
|
|
626
624
|
i.icon.tint:before { content: "\f043"; }
|
627
625
|
i.icon.signup:before { content: "\f044"; }
|
628
626
|
i.icon.plus.circle:before { content: "\f055"; }
|
629
|
-
i.icon.minus.circle:before { content: "\f056"; }
|
630
627
|
i.icon.dont:before { content: "\f05e"; }
|
631
628
|
i.icon.minimize:before { content: "\f066"; }
|
632
629
|
i.icon.add:before { content: "\f067"; }
|
@@ -642,7 +639,6 @@ i.icon.area.graph:before { content: "\f1fe"; }
|
|
642
639
|
i.icon.pie.graph:before { content: "\f200"; }
|
643
640
|
i.icon.line.graph:before { content: "\f201"; }
|
644
641
|
i.icon.key:before { content: "\f084"; }
|
645
|
-
i.icon.privacy:before { content: "\f084"; }
|
646
642
|
i.icon.cogs:before { content: "\f085"; }
|
647
643
|
i.icon.discussions:before { content: "\f086"; }
|
648
644
|
i.icon.like.outline:before { content: "\f087"; }
|
@@ -685,11 +681,8 @@ i.icon.triangle.left:before { content: "\f0d9"; }
|
|
685
681
|
i.icon.triangle.right:before { content: "\f0da"; }
|
686
682
|
i.icon.envelope:before { content: "\f0e0"; }
|
687
683
|
i.icon.conversation:before { content: "\f0e6"; }
|
688
|
-
i.icon.lightning:before { content: "\f0e7"; }
|
689
684
|
i.icon.umbrella:before { content: "\f0e9"; }
|
690
685
|
i.icon.lightbulb:before { content: "\f0eb"; }
|
691
|
-
i.icon.suitcase:before { content: "\f0f2"; }
|
692
|
-
i.icon.bell.outline:before { content: "\f0a2"; }
|
693
686
|
i.icon.ambulance:before { content: "\f0f9"; }
|
694
687
|
i.icon.medkit:before { content: "\f0fa"; }
|
695
688
|
i.icon.fighter.jet:before { content: "\f0fb"; }
|
@@ -703,7 +696,6 @@ i.icon.spinner:before { content: "\f110"; }
|
|
703
696
|
i.icon.gamepad:before { content: "\f11b"; }
|
704
697
|
i.icon.star.half.full:before { content: "\f123"; }
|
705
698
|
i.icon.question:before { content: "\f128"; }
|
706
|
-
i.icon.attention:before { content: "\f12a"; }
|
707
699
|
i.icon.eraser:before { content: "\f12d"; }
|
708
700
|
i.icon.microphone:before { content: "\f130"; }
|
709
701
|
i.icon.microphone.slash:before { content: "\f131"; }
|
@@ -722,7 +714,6 @@ i.icon.rmb:before,
|
|
722
714
|
i.icon.jpy:before { content: "\f157"; }
|
723
715
|
i.icon.rouble:before,
|
724
716
|
i.icon.rub:before { content: "\f158"; }
|
725
|
-
i.icon.won:before,
|
726
717
|
i.icon.krw:before { content: "\f159"; }
|
727
718
|
i.icon.btc:before { content: "\f15a"; }
|
728
719
|
i.icon.sheqel:before,
|
@@ -733,7 +724,6 @@ i.icon.dot.circle.outline:before { content: "\f192"; }
|
|
733
724
|
i.icon.sliders:before { content: "\f1de"; }
|
734
725
|
i.icon.wi-fi:before { content: "\f1eb"; }
|
735
726
|
i.icon.graduation:before { content: "\f19d"; }
|
736
|
-
i.icon.\33d:before { content: "\f1b2"; }
|
737
727
|
i.icon.weixin:before { content: "\f1d7"; }
|
738
728
|
i.icon.binoculars:before { content: "\f1e5"; }
|
739
729
|
i.icon.gratipay:before { content: "\f184"; }
|
@@ -742,7 +732,6 @@ i.icon.teletype:before { content: "\f1e4"; }
|
|
742
732
|
i.icon.power.cord:before { content: "\f1e6"; }
|
743
733
|
i.icon.tty:before { content: "\f1e4"; }
|
744
734
|
i.icon.cc:before { content: "\f20a"; }
|
745
|
-
i.icon.ils:before { content: "\f20b"; }
|
746
735
|
i.icon.plus.cart:before { content: "\f217"; }
|
747
736
|
i.icon.arrow.down.cart:before { content: "\f218"; }
|
748
737
|
i.icon.detective:before { content: "\f21b"; }
|
@@ -760,7 +749,6 @@ i.icon.mars.vertical:before { content: "\f22a"; }
|
|
760
749
|
i.icon.mars.horizontal:before { content: "\f22b"; }
|
761
750
|
i.icon.mars.stroke.vertical:before { content: "\f22a"; }
|
762
751
|
i.icon.mars.stroke.horizontal:before { content: "\f22b"; }
|
763
|
-
i.icon.neuter:before { content: "\f22c"; }
|
764
752
|
i.icon.facebook.official { content: "\f230"; }
|
765
753
|
i.icon.pinterest.official { content: "\f231"; }
|
766
754
|
i.icon.bed:before { content: "\f236"; }
|
@@ -23,7 +23,6 @@
|
|
23
23
|
|
24
24
|
@borderRadius: @defaultBorderRadius;
|
25
25
|
@transition:
|
26
|
-
background-color @defaultDuration @defaultEasing,
|
27
26
|
box-shadow @defaultDuration @defaultEasing,
|
28
27
|
border-color @defaultDuration @defaultEasing
|
29
28
|
;
|
@@ -70,9 +69,6 @@
|
|
70
69
|
@placeholderColor: @unselectedTextColor;
|
71
70
|
@placeholderFocusColor: @textColor;
|
72
71
|
|
73
|
-
@placeholderErrorColor: rgba(255, 80, 80, 0.4);
|
74
|
-
@placeholderErrorFocusColor: rgba(255, 80, 80, 0.7);
|
75
|
-
|
76
72
|
/* Down */
|
77
73
|
@downBorderColor: rgba(0, 0, 0, 0.3);
|
78
74
|
@downBackground: #FAFAFA;
|
@@ -80,17 +76,20 @@
|
|
80
76
|
@downBoxShadow: none;
|
81
77
|
|
82
78
|
/* Focus */
|
83
|
-
@focusBorderColor: @
|
79
|
+
@focusBorderColor: @focusedFormBorderColor;
|
84
80
|
@focusBackground: @background;
|
85
81
|
@focusColor: @hoveredTextColor;
|
86
82
|
@focusBoxShadow: none;
|
87
83
|
|
88
84
|
/* Error */
|
89
85
|
@errorBackground: @negativeBackgroundColor;
|
86
|
+
@errorColor: @negativeTextColor;
|
90
87
|
@errorBorder: @negativeBorderColor;
|
91
|
-
@errorColor: @negativeColor;
|
92
88
|
@errorBoxShadow: none;
|
93
89
|
|
90
|
+
@placeholderErrorColor: lighten(@errorColor, 40);
|
91
|
+
@placeholderErrorFocusColor: lighten(@errorColor, 30);
|
92
|
+
|
94
93
|
/* Loader */
|
95
94
|
@invertedLoaderFillColor: rgba(0, 0, 0, 0.15);
|
96
95
|
|
@@ -10,13 +10,15 @@
|
|
10
10
|
@verticalMargin: 0em;
|
11
11
|
@horizontalMargin: @relative2px;
|
12
12
|
@backgroundColor: #E8E8E8;
|
13
|
+
@color: @mutedTextColor;
|
13
14
|
@backgroundImage: none;
|
14
|
-
@
|
15
|
-
@verticalPadding: 0.5833em;
|
15
|
+
@verticalPadding: 0.5833em; /* medium is not @emSize custom value required */
|
16
16
|
@horizontalPadding: 0.833em;
|
17
17
|
@borderRadius: @absoluteBorderRadius;
|
18
18
|
@textTransform: none;
|
19
19
|
@fontWeight: bold;
|
20
|
+
@borderWidth: 1px;
|
21
|
+
@border: 0px solid transparent;
|
20
22
|
|
21
23
|
@lineHeightOffset: -(@verticalPadding / 2);
|
22
24
|
|
@@ -100,6 +102,18 @@
|
|
100
102
|
Variations
|
101
103
|
--------------------*/
|
102
104
|
|
105
|
+
/* Basic */
|
106
|
+
@basicBackground: none @white;
|
107
|
+
@basicBorderWidth: 1px;
|
108
|
+
@basicBorder: @basicBorderWidth solid @borderColor;
|
109
|
+
@basicColor: @textColor;
|
110
|
+
@basicBoxShadow: none;
|
111
|
+
|
112
|
+
@basicHoverBackground: @basicBackground;
|
113
|
+
@basicHoverColor: @linkHoverColor;
|
114
|
+
@basicHoverBorder: @basicBorder;
|
115
|
+
@basicHoverBoxShadow: @basicBoxShadow;
|
116
|
+
|
103
117
|
/* Tag */
|
104
118
|
@tagCircleColor: @white;
|
105
119
|
@tagCircleSize: 0.5em;
|
@@ -108,10 +122,10 @@
|
|
108
122
|
@tagTriangleRightOffset: 100%;
|
109
123
|
@tagTriangleTopOffset: 50%;
|
110
124
|
@tagTriangleSize: 1.56em;
|
111
|
-
@
|
125
|
+
@tagTriangleBackgroundImage: none;
|
126
|
+
@tagTransition: none; /* Avoids error with background: inherit; on animation */
|
112
127
|
|
113
128
|
/* Ribbon */
|
114
|
-
@ribbonImageTopDistance: 1rem;
|
115
129
|
@ribbonTriangleSize: 1.2em;
|
116
130
|
@ribbonShadowColor: rgba(0, 0, 0, 0.15);
|
117
131
|
|
@@ -120,10 +134,16 @@
|
|
120
134
|
@ribbonDistance: ~"calc("@ribbonMargin~" + "@ribbonTriangleSize~")";
|
121
135
|
@rightRibbonOffset: ~"calc(100% + "@ribbonMargin~" + "@ribbonTriangleSize~")";
|
122
136
|
|
137
|
+
@ribbonImageTopDistance: 1rem;
|
123
138
|
@ribbonImageMargin: -0.05rem; /* Rounding Offset on Triangle */
|
124
139
|
@ribbonImageOffset: ~"calc("-@ribbonImageMargin~" - "@ribbonTriangleSize~")";
|
125
140
|
@rightRibbonImageOffset: ~"calc(100% + "@ribbonImageMargin~" + "@ribbonTriangleSize~")";
|
126
141
|
|
142
|
+
@ribbonTableMargin: @relativeMini; /* Rounding Offset on Triangle */
|
143
|
+
@ribbonTableOffset: ~"calc("-@ribbonTableMargin~" - "@ribbonTriangleSize~")";
|
144
|
+
@rightRibbonTableOffset: ~"calc(100% + "@ribbonTableMargin~" + "@ribbonTriangleSize~")";
|
145
|
+
|
146
|
+
|
127
147
|
/* Colors */
|
128
148
|
@redTextColor: @white;
|
129
149
|
@orangeTextColor: @white;
|
@@ -202,14 +222,18 @@
|
|
202
222
|
@emptyCircleSize: 0.5em;
|
203
223
|
|
204
224
|
/* Pointing */
|
225
|
+
@pointingBorderColor: inherit;
|
226
|
+
@pointingBorderWidth: @borderWidth;
|
205
227
|
@pointingVerticalDistance: 1em;
|
206
|
-
@pointingTriangleSize: 0.
|
228
|
+
@pointingTriangleSize: 0.6666em;
|
207
229
|
@pointingHorizontalDistance: @pointingTriangleSize;
|
208
230
|
|
209
|
-
@pointingTriangleOffset: (@pointingTriangleSize / 2);
|
210
231
|
@pointingTriangleTransition: background @labelTransitionDuration @labelTransitionEasing;
|
211
232
|
@pointingTriangleZIndex: 2;
|
212
233
|
|
234
|
+
/* Basic Pointing */
|
235
|
+
@basicPointingTriangleOffset: -@pointingBorderWidth;
|
236
|
+
|
213
237
|
/* Floating */
|
214
238
|
@floatingTopOffset: -1em;
|
215
239
|
@floatingLeftOffset: -1.5em;
|
@@ -30,6 +30,7 @@
|
|
30
30
|
/* The size of page text */
|
31
31
|
@fontSize : 14px;
|
32
32
|
|
33
|
+
|
33
34
|
/*-------------------
|
34
35
|
Border Radius
|
35
36
|
--------------------*/
|
@@ -78,6 +79,16 @@
|
|
78
79
|
/* Line Height Default For Inputs in Browser */
|
79
80
|
@inputLineHeight: 1.2142em;
|
80
81
|
|
82
|
+
/*-------------------
|
83
|
+
Focused Input
|
84
|
+
--------------------*/
|
85
|
+
|
86
|
+
/* Used on inputs, textarea etc */
|
87
|
+
@focusedFormBorderColor: #85B7D9;
|
88
|
+
|
89
|
+
/* Used on dropdowns, other larger blocks */
|
90
|
+
@focusedFormMutedBorderColor: #96C8DA;
|
91
|
+
|
81
92
|
/*-------------------
|
82
93
|
Sizes
|
83
94
|
--------------------*/
|
@@ -250,8 +261,6 @@
|
|
250
261
|
@pinkTextColor : @pink;
|
251
262
|
@brownTextColor : @brown;
|
252
263
|
|
253
|
-
|
254
|
-
|
255
264
|
/*-------------------
|
256
265
|
Alpha Colors
|
257
266
|
--------------------*/
|
@@ -48,8 +48,8 @@
|
|
48
48
|
@labelPressedColor: @selectedTextColor;
|
49
49
|
|
50
50
|
/* Focus */
|
51
|
-
@checkboxFocusBackground: @
|
52
|
-
@checkboxFocusBorderColor: @
|
51
|
+
@checkboxFocusBackground: @white;
|
52
|
+
@checkboxFocusBorderColor: @focusedFormMutedBorderColor;
|
53
53
|
@checkboxFocusCheckColor: @selectedTextColor;
|
54
54
|
@labelFocusColor: @selectedTextColor;
|
55
55
|
|
@@ -61,8 +61,8 @@
|
|
61
61
|
@checkboxActiveCheckOpacity: 1;
|
62
62
|
|
63
63
|
/* Active Focus */
|
64
|
-
@checkboxActiveFocusBackground: @
|
65
|
-
@checkboxActiveFocusBorderColor: @
|
64
|
+
@checkboxActiveFocusBackground: @white;
|
65
|
+
@checkboxActiveFocusBorderColor: @checkboxFocusBorderColor;
|
66
66
|
@checkboxActiveFocusCheckColor: @selectedTextColor;
|
67
67
|
|
68
68
|
/* Indeterminate */
|
@@ -19,6 +19,7 @@
|
|
19
19
|
--------------------*/
|
20
20
|
|
21
21
|
/* Icon */
|
22
|
+
@dropdownIconSize: @relative12px;
|
22
23
|
@dropdownIconMargin: 0em 0em 0em 1em;
|
23
24
|
|
24
25
|
/* Current Text */
|
@@ -190,7 +191,7 @@
|
|
190
191
|
@selectionHoverBoxShadow: none;
|
191
192
|
|
192
193
|
/* Focus */
|
193
|
-
@selectionFocusBorderColor: @
|
194
|
+
@selectionFocusBorderColor: @focusedFormMutedBorderColor;
|
194
195
|
@selectionFocusBoxShadow: none;
|
195
196
|
@selectionFocusMenuBoxShadow: @raisedShadow;
|
196
197
|
|
@@ -198,12 +199,12 @@
|
|
198
199
|
@selectionVisibleTextFontWeight: normal;
|
199
200
|
@selectionVisibleTextColor: @hoveredTextColor;
|
200
201
|
|
201
|
-
@selectionVisibleBorderColor: @
|
202
|
+
@selectionVisibleBorderColor: @focusedFormMutedBorderColor;
|
202
203
|
@selectionVisibleBoxShadow: @raisedShadow;
|
203
204
|
@selectionVisibleMenuBoxShadow: @raisedShadow;
|
204
205
|
|
205
206
|
/* Visible Hover */
|
206
|
-
@selectionActiveHoverBorderColor: @
|
207
|
+
@selectionActiveHoverBorderColor: @focusedFormMutedBorderColor;
|
207
208
|
@selectionActiveHoverBoxShadow: @selectionVisibleBoxShadow;
|
208
209
|
@selectionActiveHoverMenuBoxShadow: @selectionVisibleMenuBoxShadow;
|
209
210
|
|
@@ -352,13 +353,18 @@
|
|
352
353
|
@floatingMenuBorderRadius: @borderRadius;
|
353
354
|
|
354
355
|
/* Pointing */
|
355
|
-
@pointingArrowOffset: -
|
356
|
+
@pointingArrowOffset: -(@pointingArrowSize / 2);
|
356
357
|
@pointingArrowDistanceFromEdge: 1em;
|
357
358
|
|
358
359
|
@pointingArrowBackground: @white;
|
359
360
|
@pointingArrowZIndex: 2;
|
360
|
-
@pointingArrowBoxShadow:
|
361
|
-
@pointingArrowSize:
|
361
|
+
@pointingArrowBoxShadow: -@menuBorderWidth -@menuBorderWidth 0px @menuBorderWidth @menuBorderColor;
|
362
|
+
@pointingArrowSize: @relative7px;
|
362
363
|
|
363
364
|
@pointingMenuDistance: @mini;
|
364
|
-
@pointingMenuBorderRadius: @borderRadius;
|
365
|
+
@pointingMenuBorderRadius: @borderRadius;
|
366
|
+
@pointingArrowBoxShadow: -@menuBorderWidth -@menuBorderWidth 0px @menuBorderWidth @menuBorderColor;
|
367
|
+
|
368
|
+
/* Pointing Upward */
|
369
|
+
@pointingUpwardMenuBorderRadius: @borderRadius;
|
370
|
+
@pointingUpwardArrowBoxShadow: @menuBorderWidth @menuBorderWidth 0px @menuBorderWidth @menuBorderColor;
|