less-rails-semantic_ui 1.6.2.0 → 1.7.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -123,17 +123,17 @@ a.ui.label {
|
|
123
123
|
/* Remove border radius on attached segment */
|
124
124
|
.ui.attached.segment > .ui.top.left.attached.label,
|
125
125
|
.ui.bottom.attached.segment > .ui.top.left.attached.label {
|
126
|
-
border-
|
126
|
+
border-top-left-radius: 0;
|
127
127
|
}
|
128
128
|
.ui.attached.segment > .ui.top.right.attached.label,
|
129
129
|
.ui.bottom.attached.segment > .ui.top.right.attached.label {
|
130
|
-
border-
|
130
|
+
border-top-right-radius: 0;
|
131
131
|
}
|
132
132
|
.ui.top.attached.segment > .ui.bottom.left.attached.label {
|
133
|
-
border-
|
133
|
+
border-bottom-left-radius: 0;
|
134
134
|
}
|
135
135
|
.ui.top.attached.segment > .ui.bottom.right.attached.label {
|
136
|
-
border-
|
136
|
+
border-bottom-right-radius: 0;
|
137
137
|
}
|
138
138
|
|
139
139
|
/* Padding on next content after a label */
|
@@ -111,8 +111,8 @@ ol.ui.list ol,
|
|
111
111
|
vertical-align: @iconContentVerticalAlign;
|
112
112
|
transition: @iconTransition;
|
113
113
|
}
|
114
|
-
.ui.list .list > .item [class*="top aligned"]
|
115
|
-
.ui.list > .item > [class*="top aligned"]
|
114
|
+
.ui.list .list > .item i[class*="top aligned"].icon,
|
115
|
+
.ui.list > .item > i[class*="top aligned"].icon {
|
116
116
|
vertical-align: top;
|
117
117
|
}
|
118
118
|
.ui.list .list > .item > i.icon:only-child,
|
@@ -245,6 +245,8 @@ ol.ui.list ol,
|
|
245
245
|
.ui.menu .ui.list .list > .item {
|
246
246
|
display: list-item;
|
247
247
|
table-layout: fixed;
|
248
|
+
background-color: transparent;
|
249
|
+
|
248
250
|
list-style-type: @listStyleType;
|
249
251
|
list-style-position: @listStylePosition;
|
250
252
|
|
@@ -26,21 +26,23 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
/*******************************
|
29
|
-
|
29
|
+
Singular
|
30
30
|
*******************************/
|
31
31
|
|
32
32
|
.ui.steps .step {
|
33
|
-
display: inline-block;
|
34
33
|
position: relative;
|
34
|
+
display: table-cell;
|
35
|
+
vertical-align: middle;
|
35
36
|
|
36
37
|
margin: @verticalMargin @horizontalMargin;
|
37
38
|
padding: @verticalPadding @horizontalPadding @verticalPadding @leftPadding;
|
38
|
-
vertical-align: top;
|
39
39
|
background: @background;
|
40
40
|
color: @textColor;
|
41
41
|
box-shadow: @boxShadow;
|
42
42
|
border-radius: @borderRadius;
|
43
43
|
}
|
44
|
+
|
45
|
+
|
44
46
|
.ui.steps .step:after {
|
45
47
|
position: absolute;
|
46
48
|
z-index: 2;
|
@@ -61,6 +63,41 @@
|
|
61
63
|
transition: @transition;
|
62
64
|
}
|
63
65
|
|
66
|
+
/*******************************
|
67
|
+
Plural
|
68
|
+
*******************************/
|
69
|
+
|
70
|
+
.ui.steps {
|
71
|
+
display: table;
|
72
|
+
table-layout: fixed;
|
73
|
+
background: @stepsBackground;
|
74
|
+
box-shadow: @stepsBoxShadow;
|
75
|
+
|
76
|
+
line-height: @lineHeight;
|
77
|
+
box-sizing: border-box;
|
78
|
+
border-radius: @stepsBorderRadius;
|
79
|
+
}
|
80
|
+
|
81
|
+
.ui.steps .step:first-child {
|
82
|
+
padding-left: @horizontalPadding;
|
83
|
+
border-radius: @stepsBorderRadius 0em 0em @stepsBorderRadius;
|
84
|
+
}
|
85
|
+
.ui.steps .step:last-child {
|
86
|
+
border-radius: 0em @stepsBorderRadius @stepsBorderRadius 0em;
|
87
|
+
}
|
88
|
+
.ui.steps .step:only-child {
|
89
|
+
-webkit-border-radius: @stepsBorderRadius;
|
90
|
+
-moz-border-radius: @stepsBorderRadius;
|
91
|
+
border-radius: @stepsBorderRadius;
|
92
|
+
}
|
93
|
+
|
94
|
+
.ui.steps .step:last-child {
|
95
|
+
margin-right: 0em;
|
96
|
+
}
|
97
|
+
.ui.steps .step:last-child:after {
|
98
|
+
display: none;
|
99
|
+
}
|
100
|
+
|
64
101
|
|
65
102
|
/*******************************
|
66
103
|
Content
|
@@ -134,6 +171,7 @@
|
|
134
171
|
---------------*/
|
135
172
|
|
136
173
|
.ui.vertical.steps {
|
174
|
+
display: inline-block;
|
137
175
|
overflow: visible;
|
138
176
|
}
|
139
177
|
.ui.vertical.steps .step {
|
@@ -190,43 +228,6 @@
|
|
190
228
|
|
191
229
|
}
|
192
230
|
|
193
|
-
/*******************************
|
194
|
-
Group
|
195
|
-
*******************************/
|
196
|
-
|
197
|
-
.ui.steps {
|
198
|
-
display: inline-block;
|
199
|
-
font-size: 0em;
|
200
|
-
|
201
|
-
background: @stepsBackground;
|
202
|
-
box-shadow: @stepsBoxShadow;
|
203
|
-
|
204
|
-
line-height: @lineHeight;
|
205
|
-
box-sizing: border-box;
|
206
|
-
border-radius: @stepsBorderRadius;
|
207
|
-
}
|
208
|
-
|
209
|
-
.ui.steps .step:first-child {
|
210
|
-
padding-left: @horizontalPadding;
|
211
|
-
border-radius: @stepsBorderRadius 0em 0em @stepsBorderRadius;
|
212
|
-
}
|
213
|
-
.ui.steps .step:last-child {
|
214
|
-
border-radius: 0em @stepsBorderRadius @stepsBorderRadius 0em;
|
215
|
-
}
|
216
|
-
.ui.steps .step:only-child {
|
217
|
-
-webkit-border-radius: @stepsBorderRadius;
|
218
|
-
-moz-border-radius: @stepsBorderRadius;
|
219
|
-
border-radius: @stepsBorderRadius;
|
220
|
-
}
|
221
|
-
|
222
|
-
.ui.steps .step:last-child {
|
223
|
-
margin-right: 0em;
|
224
|
-
}
|
225
|
-
.ui.steps .step:last-child:after {
|
226
|
-
display: none;
|
227
|
-
}
|
228
|
-
|
229
|
-
|
230
231
|
/*******************************
|
231
232
|
States
|
232
233
|
*******************************/
|
@@ -116,6 +116,7 @@ a:hover {
|
|
116
116
|
Highlighting
|
117
117
|
*******************************/
|
118
118
|
|
119
|
+
/* Site */
|
119
120
|
::-webkit-selection {
|
120
121
|
background-color: @highlightBackground;
|
121
122
|
color: @highlightColor;
|
@@ -129,4 +130,22 @@ a:hover {
|
|
129
130
|
color: @highlightColor;
|
130
131
|
}
|
131
132
|
|
133
|
+
/* Form */
|
134
|
+
textarea::-webkit-selection,
|
135
|
+
input::-webkit-selection {
|
136
|
+
background-color: @inputHighlightBackground;
|
137
|
+
color: @inputHighlightColor;
|
138
|
+
}
|
139
|
+
textarea::-moz-selection,
|
140
|
+
input::-moz-selection {
|
141
|
+
background-color: @inputHighlightBackground;
|
142
|
+
color: @inputHighlightColor;
|
143
|
+
}
|
144
|
+
textarea::selection,
|
145
|
+
input::selection {
|
146
|
+
background-color: @inputHighlightBackground;
|
147
|
+
color: @inputHighlightColor;
|
148
|
+
}
|
149
|
+
|
150
|
+
|
132
151
|
.loadUIOverrides();
|
@@ -97,6 +97,9 @@
|
|
97
97
|
float: @itemDropdownIconFloat;
|
98
98
|
margin: @itemDropdownIconMargin;
|
99
99
|
}
|
100
|
+
.ui.dropdown .menu > .item .dropdown.icon + .text {
|
101
|
+
margin-right: @itemDropdownIconDistance;
|
102
|
+
}
|
100
103
|
|
101
104
|
|
102
105
|
/*--------------
|
@@ -132,7 +135,7 @@
|
|
132
135
|
-webkit-touch-callout: none;
|
133
136
|
}
|
134
137
|
.ui.dropdown .menu > .item:first-child {
|
135
|
-
border-top:
|
138
|
+
border-top-width: 0px;
|
136
139
|
}
|
137
140
|
|
138
141
|
/*--------------
|
@@ -141,15 +144,15 @@
|
|
141
144
|
|
142
145
|
.ui.dropdown > .text > [class*="right floated"],
|
143
146
|
.ui.dropdown .menu .item > [class*="right floated"] {
|
144
|
-
float: right;
|
145
|
-
margin-right: 0em;
|
146
|
-
margin-left: @floatedDistance;
|
147
|
+
float: right !important;
|
148
|
+
margin-right: 0em !important;
|
149
|
+
margin-left: @floatedDistance !important;
|
147
150
|
}
|
148
151
|
.ui.dropdown > .text > [class*="left floated"],
|
149
152
|
.ui.dropdown .menu .item > [class*="left floated"] {
|
150
|
-
float:
|
151
|
-
margin-left: 0em;
|
152
|
-
margin-right: @floatedDistance;
|
153
|
+
float: left !important;
|
154
|
+
margin-left: 0em !important;
|
155
|
+
margin-right: @floatedDistance !important;
|
153
156
|
}
|
154
157
|
|
155
158
|
.ui.dropdown .menu .item > .icon.floated,
|
@@ -376,25 +379,16 @@ select.ui.dropdown {
|
|
376
379
|
min-width: 0px;
|
377
380
|
}
|
378
381
|
|
379
|
-
/* Remove Selection */
|
380
|
-
.ui.selection.dropdown > .delete.icon {
|
381
|
-
opacity: 0.6;
|
382
|
-
}
|
383
|
-
.ui.selection.dropdown > .delete.icon:hover {
|
384
|
-
opacity: 1;
|
385
|
-
}
|
386
|
-
|
387
|
-
|
388
382
|
/* Selection Menu */
|
389
383
|
.ui.selection.dropdown .menu {
|
390
384
|
overflow-x: hidden;
|
391
385
|
overflow-y: auto;
|
392
386
|
backface-visibility: hidden;
|
393
387
|
-webkit-overflow-scrolling: touch;
|
394
|
-
border-top:
|
388
|
+
border-top-width: 0px !important;
|
395
389
|
width: auto;
|
396
|
-
margin: 0px
|
397
|
-
min-width:
|
390
|
+
margin: 0px -@menuBorderWidth;
|
391
|
+
min-width: @menuMinWidth;
|
398
392
|
outline: none;
|
399
393
|
|
400
394
|
box-shadow: @selectionMenuBoxShadow;
|
@@ -442,6 +436,16 @@ select.ui.dropdown {
|
|
442
436
|
box-shadow: @selectionHoverBoxShadow;
|
443
437
|
}
|
444
438
|
|
439
|
+
/* Disabled */
|
440
|
+
.ui.selection.dropdown.disabled,
|
441
|
+
.ui.selection.dropdown.disabled:hover {
|
442
|
+
cursor: default;
|
443
|
+
box-shadow: none;
|
444
|
+
color: @selectionTextColor;
|
445
|
+
border: @selectionBorder;
|
446
|
+
opacity: @disabledOpacity !important;
|
447
|
+
}
|
448
|
+
|
445
449
|
/* Visible Hover */
|
446
450
|
.ui.selection.visible.dropdown:hover {
|
447
451
|
border-color: @selectionVisibleHoverBorderColor;
|
@@ -491,26 +495,41 @@ select.ui.dropdown {
|
|
491
495
|
border: none !important;
|
492
496
|
box-shadow: none !important;
|
493
497
|
border-radius: 0em !important;
|
494
|
-
|
495
498
|
cursor: pointer;
|
496
|
-
position: absolute;
|
497
499
|
top: 0em;
|
498
500
|
left: 0em;
|
499
501
|
width: 100%;
|
500
502
|
outline: none;
|
501
|
-
-webkit-tap-highlight-color:
|
502
|
-
padding: inherit;
|
503
|
+
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
504
|
+
padding: inherit;
|
505
|
+
}
|
506
|
+
|
507
|
+
/* Text Layering */
|
508
|
+
.ui.search.dropdown > input.search {
|
509
|
+
position: absolute;
|
510
|
+
z-index: 2;
|
511
|
+
}
|
512
|
+
.ui.search.dropdown > .text {
|
513
|
+
cursor: text;
|
514
|
+
position: relative;
|
515
|
+
z-index: 3;
|
503
516
|
}
|
504
517
|
|
505
518
|
/* Search Selection */
|
506
519
|
.ui.search.selection.dropdown > input.search {
|
507
520
|
line-height: @searchSelectionLineHeight;
|
521
|
+
padding: @searchSelectionInputPadding;
|
508
522
|
}
|
509
523
|
|
524
|
+
/* Active/Visible Search */
|
510
525
|
.ui.search.dropdown.active > input.search,
|
511
526
|
.ui.search.dropdown.visible > input.search {
|
512
527
|
cursor: auto;
|
513
528
|
}
|
529
|
+
.ui.search.dropdown.active > .text,
|
530
|
+
.ui.search.dropdown.visible > .text {
|
531
|
+
pointer-events: none;
|
532
|
+
}
|
514
533
|
.ui.active.search.dropdown > input.search:focus + .text {
|
515
534
|
color: @unselectedTextColor !important;
|
516
535
|
}
|
@@ -686,6 +705,19 @@ select.ui.dropdown {
|
|
686
705
|
}
|
687
706
|
|
688
707
|
|
708
|
+
|
709
|
+
/*--------------------
|
710
|
+
Disabled
|
711
|
+
----------------------*/
|
712
|
+
|
713
|
+
/* Disabled */
|
714
|
+
.ui.disabled.dropdown {
|
715
|
+
cursor: default;
|
716
|
+
pointer-events: none;
|
717
|
+
opacity: @disabledOpacity;
|
718
|
+
}
|
719
|
+
|
720
|
+
|
689
721
|
/*******************************
|
690
722
|
Variations
|
691
723
|
*******************************/
|
@@ -720,7 +752,60 @@ select.ui.dropdown {
|
|
720
752
|
float: @leftMenuDropdownIconFloat;
|
721
753
|
margin: @leftMenuDropdownIconMargin;
|
722
754
|
}
|
755
|
+
.ui.dropdown .item .left.dropdown.icon,
|
756
|
+
.ui.dropdown .left.menu .item .dropdown.icon {
|
757
|
+
width: auto;
|
758
|
+
float: @leftMenuDropdownIconFloat;
|
759
|
+
margin: @leftMenuDropdownIconMargin;
|
760
|
+
}
|
761
|
+
.ui.dropdown .item .left.dropdown.icon + .text,
|
762
|
+
.ui.dropdown .left.menu .item .dropdown.icon + .text {
|
763
|
+
margin-left: @itemDropdownIconDistance;
|
764
|
+
}
|
765
|
+
|
766
|
+
|
767
|
+
/*--------------
|
768
|
+
Upward
|
769
|
+
---------------*/
|
723
770
|
|
771
|
+
.ui.upward.dropdown > .menu {
|
772
|
+
top: auto;
|
773
|
+
bottom: 100%;
|
774
|
+
box-shadow: @upwardMenuBoxShadow;
|
775
|
+
border-radius: @upwardMenuBorderRadius;
|
776
|
+
}
|
777
|
+
|
778
|
+
/* Active Upward */
|
779
|
+
.ui.simple.upward.active.dropdown,
|
780
|
+
.ui.simple.upward.dropdown:hover {
|
781
|
+
border-radius: @borderRadius @borderRadius 0em 0em !important;
|
782
|
+
}
|
783
|
+
.ui.upward.dropdown.button:not(.pointing):not(.floating).active,
|
784
|
+
.ui.upward.dropdown.button:not(.pointing):not(.floating).visible {
|
785
|
+
border-radius: @borderRadius @borderRadius 0em 0em;
|
786
|
+
}
|
787
|
+
|
788
|
+
/* Selection */
|
789
|
+
.ui.upward.selection.dropdown .menu {
|
790
|
+
border-top-width: @menuBorderWidth !important;
|
791
|
+
border-bottom-width: 0px !important;
|
792
|
+
}
|
793
|
+
.ui.upward.selection.dropdown:hover {
|
794
|
+
box-shadow: @upwardSelectionHoverBoxShadow;
|
795
|
+
}
|
796
|
+
.ui.upward.selection.visible.dropdown:hover {
|
797
|
+
box-shadow: @upwardSelectionVisibleHoverBoxShadow;
|
798
|
+
}
|
799
|
+
.ui.active.upward.selection.dropdown,
|
800
|
+
.ui.visible.upward.selection.dropdown {
|
801
|
+
border-radius: @upwardSelectionVisibleBorderRadius !important;
|
802
|
+
}
|
803
|
+
.ui.upward.selection.dropdown.visible {
|
804
|
+
box-shadow: @upwardSelectionVisibleBoxShadow;
|
805
|
+
}
|
806
|
+
.ui.upward.selection.visible.dropdown:hover .menu {
|
807
|
+
box-shadow: @upwardSelectionVisibleHoverMenuBoxShadow;
|
808
|
+
}
|
724
809
|
|
725
810
|
/*--------------
|
726
811
|
Simple
|
@@ -66,7 +66,6 @@
|
|
66
66
|
left: 0px;
|
67
67
|
transform: translate3d(-100%, 0, 0);
|
68
68
|
}
|
69
|
-
|
70
69
|
.ui.right.sidebar {
|
71
70
|
right: 0px !important;
|
72
71
|
left: auto !important;
|
@@ -79,13 +78,11 @@
|
|
79
78
|
height: auto !important;
|
80
79
|
overflow-y: visible !important;
|
81
80
|
}
|
82
|
-
|
83
81
|
.ui.top.sidebar {
|
84
82
|
top: 0px !important;
|
85
83
|
bottom: auto !important;
|
86
84
|
transform: translate3d(0, -100%, 0);
|
87
85
|
}
|
88
|
-
|
89
86
|
.ui.bottom.sidebar {
|
90
87
|
top: auto !important;
|
91
88
|
bottom: 0px !important;
|
@@ -94,15 +91,26 @@
|
|
94
91
|
|
95
92
|
|
96
93
|
/*--------------
|
97
|
-
|
94
|
+
Pushable
|
98
95
|
---------------*/
|
99
96
|
|
100
97
|
.pushable {
|
101
98
|
height: 100%;
|
102
99
|
overflow-x: hidden;
|
100
|
+
padding: 0em !important;
|
101
|
+
}
|
102
|
+
|
103
|
+
/* Inside Page */
|
104
|
+
.pushable:not(body) {
|
105
|
+
transform: translate3d(0, 0, 0);
|
106
|
+
}
|
107
|
+
|
108
|
+
/* Whole Page */
|
109
|
+
body.pushable {
|
103
110
|
background: @canvasBackground !important;
|
104
111
|
}
|
105
112
|
|
113
|
+
|
106
114
|
/*--------------
|
107
115
|
Fixed
|
108
116
|
---------------*/
|
@@ -124,12 +132,17 @@
|
|
124
132
|
position: relative;
|
125
133
|
backface-visibility: hidden;
|
126
134
|
min-height: 100%;
|
127
|
-
|
128
135
|
transition: transform @duration @easing;
|
129
|
-
background: @pageBackground;
|
130
136
|
z-index: @middleLayer;
|
131
137
|
}
|
132
138
|
|
139
|
+
body.pushable > .pusher {
|
140
|
+
background: @pageBackground;
|
141
|
+
}
|
142
|
+
|
143
|
+
.pushable > .pusher {
|
144
|
+
background: inherit;
|
145
|
+
}
|
133
146
|
|
134
147
|
/*--------------
|
135
148
|
Dimmer
|
@@ -145,10 +158,7 @@
|
|
145
158
|
height: 0px;
|
146
159
|
overflow: hidden;
|
147
160
|
opacity: 0;
|
148
|
-
transition:
|
149
|
-
transform @duration,
|
150
|
-
opacity @duration
|
151
|
-
;
|
161
|
+
transition: @dimmerTransition;
|
152
162
|
will-change: opacity;
|
153
163
|
z-index: @dimmerLayer;
|
154
164
|
}
|
@@ -176,7 +186,7 @@
|
|
176
186
|
}
|
177
187
|
|
178
188
|
/*--------------
|
179
|
-
|
189
|
+
Animating
|
180
190
|
---------------*/
|
181
191
|
|
182
192
|
.ui.animating.sidebar {
|
@@ -189,18 +199,45 @@
|
|
189
199
|
|
190
200
|
.ui.visible.sidebar {
|
191
201
|
visibility: visible;
|
202
|
+
transform: translate3d(0, 0, 0);
|
192
203
|
}
|
193
204
|
|
205
|
+
/* Shadow Direction */
|
194
206
|
.ui.left.visible.sidebar,
|
195
207
|
.ui.right.visible.sidebar {
|
196
208
|
box-shadow: @horizontalBoxShadow;
|
197
209
|
}
|
198
|
-
|
199
210
|
.ui.top.visible.sidebar,
|
200
211
|
.ui.bottom.visible.sidebar {
|
201
212
|
box-shadow: @verticalBoxShadow;
|
202
213
|
}
|
203
214
|
|
215
|
+
/* Visible On Load */
|
216
|
+
.ui.visible.left.sidebar ~ .fixed,
|
217
|
+
.ui.visible.left.sidebar ~ .pusher {
|
218
|
+
transform: translate3d(@width, 0, 0);
|
219
|
+
}
|
220
|
+
.ui.visible.right.sidebar ~ .fixed,
|
221
|
+
.ui.visible.right.sidebar ~ .pusher {
|
222
|
+
transform: translate3d(-@width, 0, 0);
|
223
|
+
}
|
224
|
+
.ui.visible.top.sidebar ~ .fixed,
|
225
|
+
.ui.visible.top.sidebar ~ .pusher {
|
226
|
+
transform: translate3d(0, @height, 0);
|
227
|
+
}
|
228
|
+
.ui.visible.bottom.sidebar ~ .fixed,
|
229
|
+
.ui.visible.bottom.sidebar ~ .pusher {
|
230
|
+
transform: translate3d(0, -@height, 0);
|
231
|
+
}
|
232
|
+
|
233
|
+
/* opposite sides visible forces content overlay */
|
234
|
+
.ui.visible.left.sidebar ~ .ui.visible.right.sidebar ~ .fixed,
|
235
|
+
.ui.visible.left.sidebar ~ .ui.visible.right.sidebar ~ .pusher,
|
236
|
+
.ui.visible.right.sidebar ~ .ui.visible.left.sidebar ~ .fixed,
|
237
|
+
.ui.visible.right.sidebar ~ .ui.visible.left.sidebar ~ .pusher {
|
238
|
+
transform: translate3d(0, 0, 0);
|
239
|
+
}
|
240
|
+
|
204
241
|
/*--------------
|
205
242
|
iOS
|
206
243
|
---------------*/
|
@@ -226,25 +263,63 @@ html.ios {
|
|
226
263
|
/* Left / Right */
|
227
264
|
.ui[class*="very thin"].left.sidebar,
|
228
265
|
.ui[class*="very thin"].right.sidebar {
|
229
|
-
width: @
|
266
|
+
width: @veryThinWidth;
|
230
267
|
}
|
231
268
|
.ui.thin.left.sidebar,
|
232
269
|
.ui.thin.right.sidebar {
|
233
|
-
width: @
|
270
|
+
width: @thinWidth;
|
234
271
|
}
|
235
272
|
.ui.left.sidebar,
|
236
273
|
.ui.right.sidebar {
|
237
|
-
width: @
|
274
|
+
width: @width;
|
238
275
|
}
|
239
276
|
.ui.wide.left.sidebar,
|
240
277
|
.ui.wide.right.sidebar {
|
241
|
-
width: @
|
278
|
+
width: @wideWidth;
|
242
279
|
}
|
243
280
|
.ui[class*="very wide"].left.sidebar,
|
244
281
|
.ui[class*="very wide"].right.sidebar {
|
245
|
-
width: @
|
282
|
+
width: @veryWideWidth;
|
246
283
|
}
|
247
284
|
|
285
|
+
/* Left Visible */
|
286
|
+
.ui.visible[class*="very thin"].left.sidebar ~ .fixed,
|
287
|
+
.ui.visible[class*="very thin"].left.sidebar ~ .pusher {
|
288
|
+
transform: translate3d(@veryThinWidth, 0, 0);
|
289
|
+
}
|
290
|
+
.ui.visible.thin.left.sidebar ~ .fixed,
|
291
|
+
.ui.visible.thin.left.sidebar ~ .pusher {
|
292
|
+
transform: translate3d(@thinWidth, 0, 0);
|
293
|
+
}
|
294
|
+
.ui.visible.wide.left.sidebar ~ .fixed,
|
295
|
+
.ui.visible.wide.left.sidebar ~ .pusher {
|
296
|
+
transform: translate3d(@wideWidth, 0, 0);
|
297
|
+
}
|
298
|
+
.ui.visible[class*="very wide"].left.sidebar ~ .fixed,
|
299
|
+
.ui.visible[class*="very wide"].left.sidebar ~ .pusher {
|
300
|
+
transform: translate3d(@veryWideWidth, 0, 0);
|
301
|
+
}
|
302
|
+
|
303
|
+
/* Right Visible */
|
304
|
+
.ui.visible[class*="very thin"].right.sidebar ~ .fixed,
|
305
|
+
.ui.visible[class*="very thin"].right.sidebar ~ .pusher {
|
306
|
+
transform: translate3d(-@veryThinWidth, 0, 0);
|
307
|
+
}
|
308
|
+
.ui.visible.thin.right.sidebar ~ .fixed,
|
309
|
+
.ui.visible.thin.right.sidebar ~ .pusher {
|
310
|
+
transform: translate3d(-@thinWidth, 0, 0);
|
311
|
+
}
|
312
|
+
.ui.visible.wide.right.sidebar ~ .fixed,
|
313
|
+
.ui.visible.wide.right.sidebar ~ .pusher {
|
314
|
+
transform: translate3d(-@wideWidth, 0, 0);
|
315
|
+
}
|
316
|
+
.ui.visible[class*="very wide"].right.sidebar ~ .fixed,
|
317
|
+
.ui.visible[class*="very wide"].right.sidebar ~ .pusher {
|
318
|
+
transform: translate3d(-@veryWideWidth, 0, 0);
|
319
|
+
}
|
320
|
+
|
321
|
+
|
322
|
+
|
248
323
|
/*******************************
|
249
324
|
Animations
|
250
325
|
*******************************/
|
@@ -258,15 +333,7 @@ html.ios {
|
|
258
333
|
z-index: @topLayer;
|
259
334
|
}
|
260
335
|
|
261
|
-
/*
|
262
|
-
.animating.ui.overlay.sidebar,
|
263
|
-
.ui.visible.overlay.sidebar {
|
264
|
-
transition: transform @duration @easing;
|
265
|
-
}
|
266
|
-
|
267
|
-
/*--- Left ---*/
|
268
|
-
|
269
|
-
/* Set-up */
|
336
|
+
/* Initial */
|
270
337
|
.ui.left.overlay.sidebar {
|
271
338
|
transform: translate3d(-100%, 0%, 0);
|
272
339
|
}
|
@@ -280,7 +347,13 @@ html.ios {
|
|
280
347
|
transform: translate3d(0%, 100%, 0);
|
281
348
|
}
|
282
349
|
|
283
|
-
/*
|
350
|
+
/* Animation */
|
351
|
+
.animating.ui.overlay.sidebar,
|
352
|
+
.ui.visible.overlay.sidebar {
|
353
|
+
transition: transform @duration @easing;
|
354
|
+
}
|
355
|
+
|
356
|
+
/* End - Sidebar */
|
284
357
|
.ui.visible.left.overlay.sidebar {
|
285
358
|
transform: translate3d(0%, 0%, 0);
|
286
359
|
}
|
@@ -294,6 +367,7 @@ html.ios {
|
|
294
367
|
transform: translate3d(0%, 0%, 0);
|
295
368
|
}
|
296
369
|
|
370
|
+
/* End - Pusher */
|
297
371
|
.ui.visible.overlay.sidebar ~ .fixed,
|
298
372
|
.ui.visible.overlay.sidebar ~ .pusher {
|
299
373
|
transform: none !important;
|
@@ -311,6 +385,7 @@ html.ios {
|
|
311
385
|
z-index: @topLayer;
|
312
386
|
}
|
313
387
|
|
388
|
+
/* Sidebar - Initial */
|
314
389
|
.ui.left.push.sidebar {
|
315
390
|
transform: translate3d(-100%, 0, 0);
|
316
391
|
}
|
@@ -355,6 +430,8 @@ html.ios {
|
|
355
430
|
.ui.slide.along.sidebar {
|
356
431
|
z-index: @bottomLayer;
|
357
432
|
}
|
433
|
+
|
434
|
+
/* Sidebar - Initial */
|
358
435
|
.ui.left.slide.along.sidebar {
|
359
436
|
transform: translate3d(-50%, 0, 0);
|
360
437
|
}
|
@@ -368,6 +445,7 @@ html.ios {
|
|
368
445
|
transform: translate3d(0%, 50%, 0);
|
369
446
|
}
|
370
447
|
|
448
|
+
/* Animation */
|
371
449
|
.ui.animating.slide.along.sidebar {
|
372
450
|
transition: transform @duration @easing;
|
373
451
|
}
|
@@ -386,6 +464,8 @@ html.ios {
|
|
386
464
|
.ui.slide.out.sidebar {
|
387
465
|
z-index: @bottomLayer;
|
388
466
|
}
|
467
|
+
|
468
|
+
/* Sidebar - Initial */
|
389
469
|
.ui.left.slide.out.sidebar {
|
390
470
|
transform: translate3d(50%, 0, 0);
|
391
471
|
}
|
@@ -419,6 +499,7 @@ html.ios {
|
|
419
499
|
z-index: @topLayer;
|
420
500
|
}
|
421
501
|
|
502
|
+
/* Sidebar - Initial */
|
422
503
|
.ui.left.scale.down.sidebar {
|
423
504
|
transform: translate3d(-100%, 0, 0);
|
424
505
|
}
|
@@ -432,6 +513,7 @@ html.ios {
|
|
432
513
|
transform: translate3d(0%, 100%, 0);
|
433
514
|
}
|
434
515
|
|
516
|
+
/* Pusher - Initial */
|
435
517
|
.ui.scale.down.left.sidebar ~ .pusher {
|
436
518
|
transform-origin: 75% 50%;
|
437
519
|
}
|