less-rails-semantic_ui 1.6.2.0 → 1.7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/assets/javascripts/semantic_ui/definitions/behaviors/api.js +9 -9
- data/assets/javascripts/semantic_ui/definitions/behaviors/form.js +23 -23
- data/assets/javascripts/semantic_ui/definitions/behaviors/state.js +6 -6
- data/assets/javascripts/semantic_ui/definitions/behaviors/visibility.js +3 -3
- data/assets/javascripts/semantic_ui/definitions/behaviors/visit.js +7 -7
- data/assets/javascripts/semantic_ui/definitions/globals/site.js +2 -2
- data/assets/javascripts/semantic_ui/definitions/modules/accordion.js +12 -12
- data/assets/javascripts/semantic_ui/definitions/modules/checkbox.js +14 -13
- data/assets/javascripts/semantic_ui/definitions/modules/dimmer.js +9 -9
- data/assets/javascripts/semantic_ui/definitions/modules/dropdown.js +98 -58
- data/assets/javascripts/semantic_ui/definitions/modules/modal.js +14 -14
- data/assets/javascripts/semantic_ui/definitions/modules/popup.js +90 -39
- data/assets/javascripts/semantic_ui/definitions/modules/progress.js +12 -6
- data/assets/javascripts/semantic_ui/definitions/modules/rating.js +6 -6
- data/assets/javascripts/semantic_ui/definitions/modules/search.js +216 -205
- data/assets/javascripts/semantic_ui/definitions/modules/shape.js +8 -8
- data/assets/javascripts/semantic_ui/definitions/modules/sidebar.js +112 -89
- data/assets/javascripts/semantic_ui/definitions/modules/sticky.js +11 -11
- data/assets/javascripts/semantic_ui/definitions/modules/tab.js +12 -12
- data/assets/javascripts/semantic_ui/definitions/modules/transition.js +9 -9
- data/assets/javascripts/semantic_ui/definitions/modules/video.js +4 -4
- data/assets/stylesheets/semantic_ui/definitions/collections/grid.less +65 -10
- data/assets/stylesheets/semantic_ui/definitions/collections/menu.less +10 -6
- data/assets/stylesheets/semantic_ui/definitions/elements/button.less +54 -55
- data/assets/stylesheets/semantic_ui/definitions/elements/label.less +4 -4
- data/assets/stylesheets/semantic_ui/definitions/elements/list.less +4 -2
- data/assets/stylesheets/semantic_ui/definitions/elements/segment.less +0 -7
- data/assets/stylesheets/semantic_ui/definitions/elements/step.less +41 -40
- data/assets/stylesheets/semantic_ui/definitions/globals/site.less +19 -0
- data/assets/stylesheets/semantic_ui/definitions/modules/dropdown.less +108 -23
- data/assets/stylesheets/semantic_ui/definitions/modules/popup.less +0 -2
- data/assets/stylesheets/semantic_ui/definitions/modules/sidebar.less +109 -27
- data/assets/stylesheets/semantic_ui/themes/default/collections/menu.variables +3 -0
- data/assets/stylesheets/semantic_ui/themes/default/elements/button.variables +24 -0
- data/assets/stylesheets/semantic_ui/themes/default/globals/site.variables +5 -2
- data/assets/stylesheets/semantic_ui/themes/default/modules/dropdown.variables +22 -6
- data/assets/stylesheets/semantic_ui/themes/default/modules/sidebar.variables +21 -12
- data/assets/stylesheets/semantic_ui/themes/material/elements/button.overrides +0 -4
- data/assets/stylesheets/semantic_ui/themes/rtl/globals/site.overrides +6 -0
- data/assets/stylesheets/semantic_ui/themes/rtl/globals/site.variables +14 -0
- data/lib/less/rails/semantic_ui/version.rb +1 -1
- metadata +4 -2
@@ -238,6 +238,9 @@
|
|
238
238
|
@tabularHorizontalPadding: 1.4em;
|
239
239
|
@tabularMenuTextColor: @menuTextColor;
|
240
240
|
|
241
|
+
@tabularFluidOffset: 1px;
|
242
|
+
@tabularFluidWidth: ~"calc(100% + "(@tabularFluidOffset * 2)~")";
|
243
|
+
|
241
244
|
@tabularActiveColor: @selectedTextColor;
|
242
245
|
|
243
246
|
@tabularMenuActiveBackground: #FFFFFF;
|
@@ -234,6 +234,30 @@
|
|
234
234
|
@coloredBackgroundImage: none;
|
235
235
|
@coloredBoxShadow: @shadowBoxShadow;
|
236
236
|
|
237
|
+
/* Inverted by default for solids */
|
238
|
+
@blueTextColor: @invertedTextColor;
|
239
|
+
@blueTextShadow: @invertedTextShadow;
|
240
|
+
@greenTextColor: @invertedTextColor;
|
241
|
+
@greenTextShadow: @invertedTextShadow;
|
242
|
+
@greyTextColor: @invertedTextColor;
|
243
|
+
@greyTextShadow: @invertedTextShadow;
|
244
|
+
@orangeTextColor: @invertedTextColor;
|
245
|
+
@orangeTextShadow: @invertedTextShadow;
|
246
|
+
@pinkTextColor: @invertedTextColor;
|
247
|
+
@pinkTextShadow: @invertedTextShadow;
|
248
|
+
@purpleTextColor: @invertedTextColor;
|
249
|
+
@purpleTextShadow: @invertedTextShadow;
|
250
|
+
@redTextColor: @invertedTextColor;
|
251
|
+
@redTextShadow: @invertedTextShadow;
|
252
|
+
@tealTextColor: @invertedTextColor;
|
253
|
+
@tealTextShadow: @invertedTextShadow;
|
254
|
+
@yellowTextColor: @invertedTextColor;
|
255
|
+
@yellowTextShadow: @invertedTextShadow;
|
256
|
+
|
257
|
+
@blackTextColor: @invertedTextColor;
|
258
|
+
@blackTextShadow: @invertedTextShadow;
|
259
|
+
|
260
|
+
|
237
261
|
/* Ordinality */
|
238
262
|
@primaryBackgroundImage: @coloredBackgroundImage;
|
239
263
|
@primaryTextColor: @invertedTextColor;
|
@@ -131,8 +131,11 @@
|
|
131
131
|
Highlighted Text
|
132
132
|
--------------------*/
|
133
133
|
|
134
|
-
@highlightBackground
|
135
|
-
@highlightColor
|
134
|
+
@highlightBackground : #CCE2FF;
|
135
|
+
@highlightColor : @textColor;
|
136
|
+
|
137
|
+
@inputHighlightBackground : rgba(100, 100, 100, 0.4);
|
138
|
+
@inputHighlightColor : @textColor;
|
136
139
|
|
137
140
|
/*-------------------
|
138
141
|
Loader
|
@@ -31,10 +31,12 @@
|
|
31
31
|
@menuTextAlign: left;
|
32
32
|
@menuTransition: none;
|
33
33
|
|
34
|
-
@
|
35
|
-
@
|
34
|
+
@menuBorderWidth: 1px;
|
35
|
+
@menuBorder: @menuBorderWidth solid @borderColor;
|
36
|
+
@menuBoxShadow: 0px 1px 4px 0px @borderColor;
|
36
37
|
@menuBorderRadius: 0em 0em @borderRadius @borderRadius;
|
37
38
|
@menuTransition: opacity 0.2s ease;
|
39
|
+
@menuMinWidth: ~"calc(100% + "(@menuBorderWidth * 2)~")";
|
38
40
|
@menuZIndex: 11;
|
39
41
|
|
40
42
|
/* Text */
|
@@ -92,8 +94,9 @@
|
|
92
94
|
@itemElementDistance: 0.75em;
|
93
95
|
|
94
96
|
/* Sub-Menu Dropdown Icon */
|
97
|
+
@itemDropdownIconDistance: 1em;
|
95
98
|
@itemDropdownIconFloat: right;
|
96
|
-
@itemDropdownIconMargin: @itemLineHeightOffset 0em 0em @
|
99
|
+
@itemDropdownIconMargin: @itemLineHeightOffset 0em 0em @itemDropdownIconDistance;
|
97
100
|
|
98
101
|
/* Description */
|
99
102
|
@itemDescriptionMargin: 0em 0em 0em 1em;
|
@@ -120,7 +123,8 @@
|
|
120
123
|
@selectionTextColor: @textColor;
|
121
124
|
|
122
125
|
@selectionBoxShadow: none;
|
123
|
-
@
|
126
|
+
@selectionBorderColor: @borderColor;
|
127
|
+
@selectionBorder: 1px solid @selectionBorderColor;
|
124
128
|
@selectionBorderRadius: @borderRadius;
|
125
129
|
@selectionIconOpacity: 0.8;
|
126
130
|
@selectionIconTransition: opacity 0.2s ease;
|
@@ -165,7 +169,7 @@
|
|
165
169
|
@selectionVisibleHoverBorderColor: @selectedBorderColor;
|
166
170
|
@selectionVisibleHoverBoxShadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
|
167
171
|
@selectionVisibleHoverMenuBorder: 1px solid @selectedBorderColor;
|
168
|
-
@selectionVisibleHoverMenuBoxShadow: 0px
|
172
|
+
@selectionVisibleHoverMenuBoxShadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
|
169
173
|
|
170
174
|
@selectionVisibleConnectingBorder: 0em;
|
171
175
|
@selectionVisibleIconOpacity: 1;
|
@@ -174,7 +178,10 @@
|
|
174
178
|
@searchMinWidth: '';
|
175
179
|
|
176
180
|
/* Search Selection */
|
177
|
-
@searchSelectionLineHeight: 1.
|
181
|
+
@searchSelectionLineHeight: 1.2142em; /* browser default for webkit <input> */
|
182
|
+
@searchSelectionLineHeightOffset: ((@searchSelectionLineHeight - 1em) / 2);
|
183
|
+
@searchSelectionInputPadding: (@selectionVerticalPadding - @searchSelectionLineHeightOffset) @selectionHorizontalPadding;
|
184
|
+
|
178
185
|
@searchMobileMaxMenuHeight: @selectionMobileMaxMenuHeight;
|
179
186
|
@searchTabletMaxMenuHeight: @selectionTabletMaxMenuHeight;
|
180
187
|
@searchComputerMaxMenuHeight: @selectionComputerMaxMenuHeight;
|
@@ -222,6 +229,15 @@
|
|
222
229
|
Variations
|
223
230
|
--------------------*/
|
224
231
|
|
232
|
+
/* Upward */
|
233
|
+
@upwardMenuBoxShadow: 0px 0px 4px 0px @borderColor;
|
234
|
+
@upwardMenuBorderRadius: @borderRadius @borderRadius 0em 0em;
|
235
|
+
@upwardSelectionHoverBoxShadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.05);
|
236
|
+
@upwardSelectionVisibleBoxShadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
|
237
|
+
@upwardSelectionVisibleHoverBoxShadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.05);
|
238
|
+
@upwardSelectionVisibleHoverMenuBoxShadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
|
239
|
+
@upwardSelectionVisibleBorderRadius: @selectionVisibleConnectingBorder @selectionVisibleConnectingBorder @borderRadius @borderRadius;
|
240
|
+
|
225
241
|
/* Flyout Direction */
|
226
242
|
@leftMenuDropdownIconFloat: left;
|
227
243
|
@leftMenuDropdownIconMargin: @itemLineHeightOffset @itemElementDistance 0em 0em;
|
@@ -3,37 +3,46 @@
|
|
3
3
|
*******************************/
|
4
4
|
|
5
5
|
/*-------------------
|
6
|
-
|
6
|
+
Content
|
7
7
|
--------------------*/
|
8
8
|
|
9
|
-
|
10
|
-
@canvasBackground: @lightBlack;
|
9
|
+
/* Animation */
|
11
10
|
@perspective: 1500px;
|
12
11
|
@duration: 500ms;
|
13
12
|
@easing: ease;
|
14
13
|
|
14
|
+
/* Dimmer */
|
15
|
+
@dimmerColor: rgba(0, 0, 0, 0.4);
|
16
|
+
@dimmerTransition:
|
17
|
+
transform @duration,
|
18
|
+
opacity @duration
|
19
|
+
;
|
20
|
+
|
21
|
+
/* Color below page */
|
22
|
+
@canvasBackground: @lightBlack;
|
23
|
+
|
24
|
+
/* Shadow */
|
15
25
|
@boxShadow: 0px 0px 20px @borderColor;
|
16
26
|
@horizontalBoxShadow: @boxShadow;
|
17
27
|
@verticalBoxShadow: @boxShadow;
|
18
28
|
|
19
|
-
/*
|
29
|
+
/* Layering */
|
20
30
|
@bottomLayer: 1;
|
21
31
|
@middleLayer: 2;
|
22
32
|
@fixedLayer: 101;
|
23
33
|
@topLayer: 102;
|
24
34
|
@dimmerLayer: 1000;
|
25
35
|
|
26
|
-
|
27
36
|
/*-------------------
|
28
|
-
|
37
|
+
Variations
|
29
38
|
--------------------*/
|
30
39
|
|
31
40
|
/* Width */
|
32
|
-
@
|
33
|
-
@
|
34
|
-
@
|
35
|
-
@
|
36
|
-
@
|
41
|
+
@veryThinWidth: 60px;
|
42
|
+
@thinWidth: 150px;
|
43
|
+
@width: 260px;
|
44
|
+
@wideWidth: 350px;
|
45
|
+
@veryWideWidth: 475px;
|
37
46
|
|
38
47
|
/* Height */
|
39
|
-
@
|
48
|
+
@height: 36px;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/*******************************
|
2
|
+
Site Settings
|
3
|
+
*******************************/
|
4
|
+
|
5
|
+
/*-------------------
|
6
|
+
Fonts
|
7
|
+
--------------------*/
|
8
|
+
|
9
|
+
@googleFontName : 'Droid Sans';
|
10
|
+
|
11
|
+
/* Kufi imported in site.overrides */
|
12
|
+
@headerFont : 'Droid Arabic Kufi', 'Droid Sans', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
13
|
+
@pageFont : 'Droid Arabic Kufi', 'Droid Sans', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
14
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: less-rails-semantic_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maxim Dobryakov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: less-rails
|
@@ -402,6 +402,8 @@ files:
|
|
402
402
|
- assets/stylesheets/semantic_ui/themes/resetcss/globals/reset.variables
|
403
403
|
- assets/stylesheets/semantic_ui/themes/round/elements/button.overrides
|
404
404
|
- assets/stylesheets/semantic_ui/themes/round/elements/button.variables
|
405
|
+
- assets/stylesheets/semantic_ui/themes/rtl/globals/site.overrides
|
406
|
+
- assets/stylesheets/semantic_ui/themes/rtl/globals/site.variables
|
405
407
|
- assets/stylesheets/semantic_ui/themes/striped/modules/progress.overrides
|
406
408
|
- assets/stylesheets/semantic_ui/themes/striped/modules/progress.variables
|
407
409
|
- assets/stylesheets/semantic_ui/themes/timeline/views/feed.overrides
|