semantic-ui-sass 0.19.3.1 → 1.7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/README.md +5 -6
  4. data/app/assets/fonts/semantic-ui/icons.eot +0 -0
  5. data/app/assets/fonts/semantic-ui/icons.otf +0 -0
  6. data/app/assets/fonts/semantic-ui/icons.svg +472 -367
  7. data/app/assets/fonts/semantic-ui/icons.ttf +0 -0
  8. data/app/assets/fonts/semantic-ui/icons.woff +0 -0
  9. data/app/assets/images/semantic-ui/flags.png +0 -0
  10. data/app/assets/javascripts/semantic-ui.js +9 -5
  11. data/app/assets/javascripts/semantic-ui/accordion.js +169 -102
  12. data/app/assets/javascripts/semantic-ui/api.js +840 -0
  13. data/app/assets/javascripts/semantic-ui/checkbox.js +203 -46
  14. data/app/assets/javascripts/semantic-ui/{behavior/colorize.js → colorize.js} +4 -2
  15. data/app/assets/javascripts/semantic-ui/dimmer.js +110 -76
  16. data/app/assets/javascripts/semantic-ui/dropdown.js +897 -285
  17. data/app/assets/javascripts/semantic-ui/{behavior/form.js → form.js} +127 -42
  18. data/app/assets/javascripts/semantic-ui/modal.js +294 -219
  19. data/app/assets/javascripts/semantic-ui/nag.js +120 -186
  20. data/app/assets/javascripts/semantic-ui/popup.js +491 -223
  21. data/app/assets/javascripts/semantic-ui/progress.js +779 -0
  22. data/app/assets/javascripts/semantic-ui/rating.js +66 -22
  23. data/app/assets/javascripts/semantic-ui/search.js +219 -99
  24. data/app/assets/javascripts/semantic-ui/shape.js +72 -29
  25. data/app/assets/javascripts/semantic-ui/sidebar.js +678 -142
  26. data/app/assets/javascripts/semantic-ui/site.js +487 -0
  27. data/app/assets/javascripts/semantic-ui/{behavior/state.js → state.js} +116 -151
  28. data/app/assets/javascripts/semantic-ui/sticky.js +771 -0
  29. data/app/assets/javascripts/semantic-ui/tab.js +680 -603
  30. data/app/assets/javascripts/semantic-ui/transition.js +269 -158
  31. data/app/assets/javascripts/semantic-ui/video.js +113 -32
  32. data/app/assets/javascripts/semantic-ui/visibility.js +970 -0
  33. data/app/assets/javascripts/semantic-ui/visit.js +513 -0
  34. data/app/assets/stylesheets/semantic-ui.scss +2 -0
  35. data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +58 -14
  36. data/app/assets/stylesheets/semantic-ui/collections/_form.scss +464 -372
  37. data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +1385 -533
  38. data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +482 -655
  39. data/app/assets/stylesheets/semantic-ui/collections/_message.scss +238 -139
  40. data/app/assets/stylesheets/semantic-ui/collections/_table.scss +631 -280
  41. data/app/assets/stylesheets/semantic-ui/elements/_all.scss +3 -2
  42. data/app/assets/stylesheets/semantic-ui/elements/_button.scss +1614 -657
  43. data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +143 -80
  44. data/app/assets/stylesheets/semantic-ui/elements/_flag.scss +1018 -0
  45. data/app/assets/stylesheets/semantic-ui/elements/_header.scss +302 -145
  46. data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +1653 -1365
  47. data/app/assets/stylesheets/semantic-ui/elements/_image.scss +160 -59
  48. data/app/assets/stylesheets/semantic-ui/elements/_input.scss +247 -118
  49. data/app/assets/stylesheets/semantic-ui/elements/_label.scss +501 -470
  50. data/app/assets/stylesheets/semantic-ui/elements/_list.scss +888 -0
  51. data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +189 -98
  52. data/app/assets/stylesheets/semantic-ui/elements/_rail.scss +125 -0
  53. data/app/assets/stylesheets/semantic-ui/elements/_reveal.scss +147 -212
  54. data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +328 -190
  55. data/app/assets/stylesheets/semantic-ui/elements/_step.scss +261 -185
  56. data/app/assets/stylesheets/semantic-ui/globals/_all.scss +2 -0
  57. data/app/assets/stylesheets/semantic-ui/globals/_reset.scss +430 -0
  58. data/app/assets/stylesheets/semantic-ui/globals/_site.scss +128 -0
  59. data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +190 -106
  60. data/app/assets/stylesheets/semantic-ui/modules/_all.scss +2 -1
  61. data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +303 -201
  62. data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +72 -63
  63. data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +711 -331
  64. data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +262 -140
  65. data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +82 -71
  66. data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +163 -119
  67. data/app/assets/stylesheets/semantic-ui/modules/_progress.scss +435 -0
  68. data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +163 -68
  69. data/app/assets/stylesheets/semantic-ui/modules/_search.scss +223 -150
  70. data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +39 -40
  71. data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +413 -147
  72. data/app/assets/stylesheets/semantic-ui/modules/_sticky.scss +80 -0
  73. data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +49 -20
  74. data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +542 -568
  75. data/app/assets/stylesheets/semantic-ui/modules/_video.scss +69 -37
  76. data/app/assets/stylesheets/semantic-ui/views/_ad.scss +265 -0
  77. data/app/assets/stylesheets/semantic-ui/views/_all.scss +1 -1
  78. data/app/assets/stylesheets/semantic-ui/views/_card.scss +758 -0
  79. data/app/assets/stylesheets/semantic-ui/views/_comment.scss +133 -92
  80. data/app/assets/stylesheets/semantic-ui/views/_feed.scss +200 -87
  81. data/app/assets/stylesheets/semantic-ui/views/_item.scss +298 -523
  82. data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +390 -12
  83. data/lib/semantic/ui/sass/version.rb +2 -2
  84. data/tasks/converter.rb +99 -216
  85. metadata +22 -27
  86. data/app/assets/fonts/semantic-ui/basic.icons.eot +0 -0
  87. data/app/assets/fonts/semantic-ui/basic.icons.svg +0 -450
  88. data/app/assets/fonts/semantic-ui/basic.icons.ttf +0 -0
  89. data/app/assets/fonts/semantic-ui/basic.icons.woff +0 -0
  90. data/app/assets/images/semantic-ui/loader-large-inverted.gif +0 -0
  91. data/app/assets/images/semantic-ui/loader-large.gif +0 -0
  92. data/app/assets/images/semantic-ui/loader-medium-inverted.gif +0 -0
  93. data/app/assets/images/semantic-ui/loader-medium.gif +0 -0
  94. data/app/assets/images/semantic-ui/loader-mini-inverted.gif +0 -0
  95. data/app/assets/images/semantic-ui/loader-mini.gif +0 -0
  96. data/app/assets/images/semantic-ui/loader-small-inverted.gif +0 -0
  97. data/app/assets/images/semantic-ui/loader-small.gif +0 -0
  98. data/app/assets/javascripts/semantic-ui/behavior/api.js +0 -634
  99. data/app/assets/javascripts/semantic-ui/chatroom.js +0 -772
  100. data/app/assets/stylesheets/semantic-ui/depends/_basic.icon.scss +0 -4
  101. data/app/assets/stylesheets/semantic-ui/depends/_icon.scss +0 -4
  102. data/app/assets/stylesheets/semantic-ui/depends/_loader.scss +0 -8
  103. data/app/assets/stylesheets/semantic-ui/elements/_basic.icon.scss +0 -1124
  104. data/app/assets/stylesheets/semantic-ui/elements/_progress.scss +0 -280
  105. data/app/assets/stylesheets/semantic-ui/modules/_chatroom.scss +0 -299
  106. data/app/assets/stylesheets/semantic-ui/modules/_reveal.scss +0 -322
  107. data/app/assets/stylesheets/semantic-ui/views/_list.scss +0 -700
@@ -1,7 +1,7 @@
1
- /*
2
- * # Semantic - Shape
3
- * http://github.com/jlukic/semantic-ui/
4
- *
1
+ /*
2
+ * # Semantic UI
3
+ * https://github.com/Semantic-Org/Semantic-UI
4
+ * http://www.semantic-ui.com/
5
5
  *
6
6
  * Copyright 2014 Contributors
7
7
  * Released under the MIT license
@@ -9,44 +9,37 @@
9
9
  *
10
10
  */
11
11
 
12
+
13
+
12
14
  /*******************************
13
15
  Shape
14
16
  *******************************/
15
17
 
16
18
  .ui.shape {
17
- display: inline-block;
18
19
  position: relative;
20
+ display: inline-block;
19
21
  -webkit-perspective: 2000px;
20
- -ms-perspective: 2000px;
21
- perspective: 2000px;
22
- -webkit-box-sizing: border-box;
23
- -moz-box-sizing: border-box;
24
- -ms-box-sizing: border-box;
25
- box-sizing: border-box;
22
+ perspective: 2000px;
26
23
  }
27
-
28
24
  .ui.shape .sides {
29
25
  -webkit-transform-style: preserve-3d;
30
- -ms-transform-style: preserve-3d;
31
- transform-style: preserve-3d;
26
+ transform-style: preserve-3d;
32
27
  }
33
-
34
28
  .ui.shape .side {
35
29
  opacity: 1;
36
30
  width: 100%;
37
31
  margin: 0em !important;
38
32
  -webkit-backface-visibility: hidden;
39
- -ms-backface-visibility: hidden;
40
- backface-visibility: hidden;
41
- -webkit-box-sizing: border-box;
42
- -moz-box-sizing: border-box;
43
- -ms-box-sizing: border-box;
44
- box-sizing: border-box;
33
+ backface-visibility: hidden;
45
34
  }
46
-
47
35
  .ui.shape .side {
48
36
  display: none;
49
37
  }
38
+ .ui.shape .side > * {
39
+ -webkit-backface-visibility: visible !important;
40
+ backface-visibility: visible !important;
41
+ }
42
+
50
43
 
51
44
  /*******************************
52
45
  Types
@@ -56,29 +49,27 @@
56
49
  min-width: 15em;
57
50
  height: 15em;
58
51
  padding: 2em;
59
- background-color: #E6E6E6;
60
- color: rgba(0, 0, 0, 0.6);
61
- -webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
52
+ background-color: #e6e6e6;
53
+ color: rgba(0, 0, 0, 0.8);
62
54
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
63
55
  }
64
-
65
56
  .ui.cube.shape .side > .content {
66
57
  width: 100%;
67
58
  height: 100%;
68
59
  display: table;
69
60
  text-align: center;
70
61
  -webkit-user-select: text;
71
- -moz-user-select: text;
72
- -ms-user-select: text;
73
- user-select: text;
62
+ -moz-user-select: text;
63
+ -ms-user-select: text;
64
+ user-select: text;
74
65
  }
75
-
76
66
  .ui.cube.shape .side > .content > div {
77
67
  display: table-cell;
78
68
  vertical-align: middle;
79
69
  font-size: 2em;
80
70
  }
81
71
 
72
+
82
73
  /*******************************
83
74
  Variations
84
75
  *******************************/
@@ -86,19 +77,19 @@
86
77
  .ui.text.shape.animating .sides {
87
78
  position: static;
88
79
  }
89
-
90
80
  .ui.text.shape .side {
91
81
  white-space: nowrap;
92
82
  }
93
-
94
83
  .ui.text.shape .side > * {
95
84
  white-space: normal;
96
85
  }
97
86
 
87
+
98
88
  /*******************************
99
89
  States
100
90
  *******************************/
101
91
 
92
+
102
93
  /*--------------
103
94
  Loading
104
95
  ---------------*/
@@ -119,7 +110,6 @@
119
110
  left: 0px;
120
111
  z-index: 100;
121
112
  }
122
-
123
113
  .ui.shape .hidden.side {
124
114
  opacity: 0.4;
125
115
  }
@@ -130,21 +120,18 @@
130
120
 
131
121
  .ui.shape.animating {
132
122
  -webkit-transition: all 0.6s ease-in-out;
133
- transition: all 0.6s ease-in-out;
123
+ transition: all 0.6s ease-in-out;
134
124
  }
135
-
136
125
  .ui.shape.animating .sides {
137
126
  position: absolute;
138
127
  }
139
-
140
128
  .ui.shape.animating .sides {
141
129
  -webkit-transition: all 0.6s ease-in-out;
142
- transition: all 0.6s ease-in-out;
130
+ transition: all 0.6s ease-in-out;
143
131
  }
144
-
145
132
  .ui.shape.animating .side {
146
133
  -webkit-transition: opacity 0.6s ease-in-out;
147
- transition: opacity 0.6s ease-in-out;
134
+ transition: opacity 0.6s ease-in-out;
148
135
  }
149
136
 
150
137
  /*--------------
@@ -153,4 +140,16 @@
153
140
 
154
141
  .ui.shape .active.side {
155
142
  display: block;
156
- }
143
+ }
144
+
145
+
146
+ /*******************************
147
+ Theme Overrides
148
+ *******************************/
149
+
150
+
151
+
152
+ /*******************************
153
+ User Overrides
154
+ *******************************/
155
+
@@ -1,7 +1,7 @@
1
- /*
2
- * # Semantic - Sidebar
3
- * http://github.com/jlukic/semantic-ui/
4
- *
1
+ /*
2
+ * # Semantic UI
3
+ * https://github.com/Semantic-Org/Semantic-UI
4
+ * http://www.semantic-ui.com/
5
5
  *
6
6
  * Copyright 2014 Contributors
7
7
  * Released under the MIT license
@@ -9,228 +9,494 @@
9
9
  *
10
10
  */
11
11
 
12
+
13
+
12
14
  /*******************************
13
15
  Sidebar
14
16
  *******************************/
15
17
 
16
- body {
17
- -webkit-transition: margin 0.3s ease,
18
- -webkit-transform 0.3s ease/*rtl:append:,
19
- padding 0.3s ease*/;
20
- transition: margin 0.3s ease,
21
- transform 0.3s ease/*rtl:append:,
22
- padding 0.3s ease*/;
23
- }
24
18
 
19
+ /* Sidebar Menu */
25
20
  .ui.sidebar {
26
21
  position: fixed;
27
- margin: 0 !important;
22
+ top: 0;
23
+ left: 0;
24
+ -webkit-backface-visibility: hidden;
25
+ backface-visibility: hidden;
26
+ -webkit-transition: none;
27
+ transition: none;
28
+ will-change: transform;
29
+ -webkit-transform: translate3d(0, 0, 0);
30
+ transform: translate3d(0, 0, 0);
31
+ visibility: hidden;
32
+ -webkit-overflow-scrolling: touch;
28
33
  height: 100% !important;
29
- border-radius: 0px !important;
30
- -webkit-box-sizing: border-box;
31
- -moz-box-sizing: border-box;
32
- -ms-box-sizing: border-box;
33
- box-sizing: border-box;
34
- -ms-overflow-y: auto;
35
- overflow-y: auto;
36
- top: 0px;
34
+ border-radius: 0em !important;
35
+ margin: 0em !important;
36
+ overflow-y: auto !important;
37
+ z-index: 102;
38
+ }
39
+
40
+ /* GPU Layers for Child Elements */
41
+ .ui.sidebar > * {
42
+ -webkit-backface-visibility: hidden;
43
+ backface-visibility: hidden;
44
+ -webkit-transform: rotateZ(0deg);
45
+ transform: rotateZ(0deg);
46
+ }
47
+
48
+ /*--------------
49
+ Direction
50
+ ---------------*/
51
+
52
+ .ui.left.sidebar {
53
+ right: auto;
37
54
  left: 0px;
38
- z-index: 999;
39
- -webkit-transition: margin-left 0.3s ease,
40
- margin-top 0.3s ease;
41
- transition: margin-left 0.3s ease,
42
- margin-top 0.3s ease;
55
+ -webkit-transform: translate3d(-100%, 0, 0);
56
+ transform: translate3d(-100%, 0, 0);
57
+ }
58
+ .ui.right.sidebar {
59
+ right: 0px !important;
60
+ left: auto !important;
61
+ -webkit-transform: translate3d(100%, 0%, 0);
62
+ transform: translate3d(100%, 0%, 0);
63
+ }
64
+ .ui.top.sidebar,
65
+ .ui.bottom.sidebar {
66
+ width: 100% !important;
67
+ height: auto !important;
68
+ overflow-y: visible !important;
69
+ }
70
+ .ui.top.sidebar {
71
+ top: 0px !important;
72
+ bottom: auto !important;
73
+ -webkit-transform: translate3d(0, -100%, 0);
74
+ transform: translate3d(0, -100%, 0);
75
+ }
76
+ .ui.bottom.sidebar {
77
+ top: auto !important;
78
+ bottom: 0px !important;
79
+ -webkit-transform: translate3d(0, 100%, 0);
80
+ transform: translate3d(0, 100%, 0);
81
+ }
82
+
83
+ /*--------------
84
+ Body
85
+ ---------------*/
86
+
87
+ .pushable {
88
+ height: 100%;
89
+ overflow-x: hidden;
90
+ background: #333333 !important;
91
+ }
92
+
93
+ /*--------------
94
+ Fixed
95
+ ---------------*/
96
+
97
+ .pushable > .fixed {
98
+ position: fixed;
99
+ -webkit-backface-visibility: hidden;
100
+ backface-visibility: hidden;
101
+ -webkit-transition: -webkit-transform 500ms ease;
102
+ transition: transform 500ms ease;
103
+ will-change: transform;
104
+ z-index: 101;
105
+ }
106
+
107
+ /*--------------
108
+ Page
109
+ ---------------*/
110
+
111
+ .pushable > .pusher {
112
+ position: relative;
113
+ -webkit-backface-visibility: hidden;
114
+ backface-visibility: hidden;
115
+ min-height: 100%;
116
+ -webkit-transition: -webkit-transform 500ms ease;
117
+ transition: transform 500ms ease;
118
+ background: #f7f7f7;
119
+ z-index: 2;
120
+ }
121
+
122
+ /*--------------
123
+ Dimmer
124
+ ---------------*/
125
+
126
+ .pushable > .pusher:after {
127
+ position: fixed;
128
+ top: 0px;
129
+ right: 0px;
130
+ content: '';
131
+ background-color: rgba(0, 0, 0, 0.4);
132
+ width: 0px;
133
+ height: 0px;
134
+ overflow: hidden;
135
+ opacity: 0;
136
+ -webkit-transition: -webkit-transform 500ms, opacity 500ms;
137
+ transition: transform 500ms, opacity 500ms;
138
+ will-change: opacity;
139
+ z-index: 1000;
43
140
  }
44
141
 
45
- /*-------------------
46
- Coupling
47
- --------------------*/
142
+ /*--------------
143
+ Coupling
144
+ ---------------*/
48
145
 
49
- body.pushed.scrolling.ui.dimmable {
50
- position: static;
146
+ .ui.sidebar.menu .item {
147
+ border-radius: 0em !important;
51
148
  }
52
149
 
150
+
53
151
  /*******************************
54
- Types
152
+ States
55
153
  *******************************/
56
154
 
57
- /*-------------------
58
- Direction
59
- --------------------*/
60
155
 
61
- .ui.right.very.thin.sidebar,
62
- .ui.right.thin.sidebar,
63
- .ui.right.sidebar,
64
- .ui.right.wide.sidebar,
65
- .ui.right.very.wide.sidebar {
66
- left: 100%;
67
- margin: 0px !important;
68
- }
156
+ /*--------------
157
+ Dimmed
158
+ ---------------*/
69
159
 
70
- .ui.top.sidebar {
160
+ .pushable > .pusher.dimmed:after {
71
161
  width: 100% !important;
162
+ height: 100% !important;
163
+ opacity: 1 !important;
72
164
  }
73
165
 
74
- .ui.bottom.sidebar {
75
- width: 100% !important;
76
- top: 100%;
77
- margin: 0px !important;
166
+ /*--------------
167
+ Animating
168
+ ---------------*/
169
+
170
+ .ui.animating.sidebar {
171
+ visibility: visible;
78
172
  }
79
173
 
80
- /*******************************
81
- States
82
- *******************************/
174
+ /*--------------
175
+ Visible
176
+ ---------------*/
83
177
 
84
- .ui.active.sidebar {
85
- margin-left: 0px !important;
178
+ .ui.visible.sidebar {
179
+ visibility: visible;
180
+ }
181
+ .ui.left.visible.sidebar,
182
+ .ui.right.visible.sidebar {
183
+ box-shadow: 0px 0px 20px rgba(39, 41, 43, 0.15);
184
+ }
185
+ .ui.top.visible.sidebar,
186
+ .ui.bottom.visible.sidebar {
187
+ box-shadow: 0px 0px 20px rgba(39, 41, 43, 0.15);
86
188
  }
87
189
 
88
- .ui.active.top.sidebar,
89
- .ui.active.bottom.sidebar {
90
- margin-top: 0px !important;
190
+ /*--------------
191
+ iOS
192
+ ---------------*/
193
+
194
+ /*
195
+ iOS incorrectly sizes document when content
196
+ is presented outside of view with 2Dtranslate
197
+ */
198
+ html.ios {
199
+ overflow-x: hidden;
200
+ -webkit-overflow-scrolling: touch;
91
201
  }
92
202
 
203
+
93
204
  /*******************************
94
- Variations
205
+ Variations
95
206
  *******************************/
96
207
 
97
- /*-------------------
98
- Formatted
99
- --------------------*/
100
208
 
101
- .ui.styled.sidebar {
102
- padding: 1em 1.5em;
103
- background-color: #FFFFFF;
104
- -webkit-box-shadow: 1px 0px 0px rgba(0, 0, 0, 0.1);
105
- box-shadow: 1px 0px 0px rgba(0, 0, 0, 0.1);
106
- }
209
+ /*--------------
210
+ Width
211
+ ---------------*/
107
212
 
108
- .ui.styled.very.thin.sidebar {
109
- padding: 0.5em;
110
- }
111
213
 
112
- .ui.styled.thin.sidebar {
113
- padding: 1em;
214
+ /* Left / Right */
215
+ .ui[class*="very thin"].left.sidebar,
216
+ .ui[class*="very thin"].right.sidebar {
217
+ width: 60px;
218
+ }
219
+ .ui.thin.left.sidebar,
220
+ .ui.thin.right.sidebar {
221
+ width: 150px;
222
+ }
223
+ .ui.left.sidebar,
224
+ .ui.right.sidebar {
225
+ width: 260px;
226
+ }
227
+ .ui.wide.left.sidebar,
228
+ .ui.wide.right.sidebar {
229
+ width: 350px;
230
+ }
231
+ .ui[class*="very wide"].left.sidebar,
232
+ .ui[class*="very wide"].right.sidebar {
233
+ width: 475px;
114
234
  }
115
235
 
116
- /*-------------------
117
- Floating
118
- --------------------*/
119
236
 
120
- .ui.floating.sidebar {
121
- -webkit-box-shadow: 2px 0px 2px rgba(0, 0, 0, 0.2);
122
- box-shadow: 2px 0px 2px rgba(0, 0, 0, 0.2);
123
- }
237
+ /*******************************
238
+ Animations
239
+ *******************************/
240
+
241
+
242
+ /*--------------
243
+ Overlay
244
+ ---------------*/
124
245
 
125
- .ui.right.floating.sidebar {
126
- -webkit-box-shadow: -2px 0px 2px rgba(0, 0, 0, 0.2);
127
- box-shadow: -2px 0px 2px rgba(0, 0, 0, 0.2);
128
- }
129
246
 
130
- .ui.top.floating.sidebar {
131
- -webkit-box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
132
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
247
+ /* Set-up */
248
+ .ui.overlay.sidebar {
249
+ z-index: 102;
133
250
  }
134
251
 
135
- .ui.bottom.floating.sidebar {
136
- -webkit-box-shadow: 0px -4px 4px rgba(0, 0, 0, 0.2);
137
- box-shadow: 0px -4px 4px rgba(0, 0, 0, 0.2);
252
+ /* Animation */
253
+ .animating.ui.overlay.sidebar,
254
+ .ui.visible.overlay.sidebar {
255
+ -webkit-transition: -webkit-transform 500ms ease;
256
+ transition: transform 500ms ease;
138
257
  }
139
258
 
140
- /*-------------------
141
- Width
142
- --------------------*/
259
+ /*--- Left ---*/
143
260
 
144
- /* Very Thin */
145
261
 
146
- .ui.very.thin.sidebar {
147
- width: 60px !important;
148
- margin-left: -60px !important;
262
+ /* Set-up */
263
+ .ui.left.overlay.sidebar {
264
+ -webkit-transform: translate3d(-100%, 0%, 0);
265
+ transform: translate3d(-100%, 0%, 0);
149
266
  }
150
-
151
- .ui.active.very.thin.sidebar {
152
- margin-left: 0px !important;
267
+ .ui.right.overlay.sidebar {
268
+ -webkit-transform: translate3d(100%, 0%, 0);
269
+ transform: translate3d(100%, 0%, 0);
270
+ }
271
+ .ui.top.overlay.sidebar {
272
+ -webkit-transform: translate3d(0%, -100%, 0);
273
+ transform: translate3d(0%, -100%, 0);
274
+ }
275
+ .ui.bottom.overlay.sidebar {
276
+ -webkit-transform: translate3d(0%, 100%, 0);
277
+ transform: translate3d(0%, 100%, 0);
153
278
  }
154
279
 
155
- .ui.active.right.very.thin.sidebar {
156
- margin-left: -60px !important;
280
+ /* End */
281
+ .ui.visible.left.overlay.sidebar {
282
+ -webkit-transform: translate3d(0%, 0%, 0);
283
+ transform: translate3d(0%, 0%, 0);
284
+ }
285
+ .ui.visible.right.overlay.sidebar {
286
+ -webkit-transform: translate3d(0%, 0%, 0);
287
+ transform: translate3d(0%, 0%, 0);
288
+ }
289
+ .ui.visible.top.overlay.sidebar {
290
+ -webkit-transform: translate3d(0%, 0%, 0);
291
+ transform: translate3d(0%, 0%, 0);
292
+ }
293
+ .ui.visible.bottom.overlay.sidebar {
294
+ -webkit-transform: translate3d(0%, 0%, 0);
295
+ transform: translate3d(0%, 0%, 0);
296
+ }
297
+ .ui.visible.overlay.sidebar ~ .fixed,
298
+ .ui.visible.overlay.sidebar ~ .pusher {
299
+ -webkit-transform: none !important;
300
+ -ms-transform: none !important;
301
+ transform: none !important;
157
302
  }
158
303
 
159
- /* Thin */
304
+ /*--------------
305
+ Push
306
+ ---------------*/
160
307
 
161
- .ui.thin.sidebar {
162
- width: 200px !important;
163
- margin-left: -200px !important;
164
- }
165
308
 
166
- .ui.active.thin.sidebar {
167
- margin-left: 0px !important;
309
+ /* Initial */
310
+ .ui.push.sidebar {
311
+ -webkit-transition: -webkit-transform 500ms ease;
312
+ transition: transform 500ms ease;
313
+ z-index: 102;
314
+ }
315
+ .ui.left.push.sidebar {
316
+ -webkit-transform: translate3d(-100%, 0, 0);
317
+ transform: translate3d(-100%, 0, 0);
318
+ }
319
+ .ui.right.push.sidebar {
320
+ -webkit-transform: translate3d(100%, 0, 0);
321
+ transform: translate3d(100%, 0, 0);
322
+ }
323
+ .ui.top.push.sidebar {
324
+ -webkit-transform: translate3d(0%, -100%, 0);
325
+ transform: translate3d(0%, -100%, 0);
326
+ }
327
+ .ui.bottom.push.sidebar {
328
+ -webkit-transform: translate3d(0%, 100%, 0);
329
+ transform: translate3d(0%, 100%, 0);
168
330
  }
169
331
 
170
- .ui.active.right.thin.sidebar {
171
- margin-left: -200px !important;
332
+ /* End */
333
+ .ui.visible.push.sidebar {
334
+ -webkit-transform: translate3d(0%, 0, 0);
335
+ transform: translate3d(0%, 0, 0);
172
336
  }
173
337
 
174
- /* Standard */
338
+ /*--------------
339
+ Uncover
340
+ ---------------*/
175
341
 
176
- .ui.sidebar {
177
- width: 275px !important;
178
- margin-left: -275px !important;
179
- }
180
342
 
181
- .ui.active.sidebar {
182
- margin-left: 0px !important;
343
+ /* Initial */
344
+ .ui.uncover.sidebar {
345
+ -webkit-transform: translate3d(0, 0, 0);
346
+ transform: translate3d(0, 0, 0);
347
+ z-index: 1;
183
348
  }
184
349
 
185
- .ui.active.right.sidebar {
186
- margin-left: -275px !important;
350
+ /* End */
351
+ .ui.visible.uncover.sidebar {
352
+ -webkit-transform: translate3d(0, 0, 0);
353
+ transform: translate3d(0, 0, 0);
354
+ -webkit-transition: -webkit-transform 500ms ease;
355
+ transition: transform 500ms ease;
187
356
  }
188
357
 
189
- /* Wide */
358
+ /*--------------
359
+ Slide Along
360
+ ---------------*/
190
361
 
191
- .ui.wide.sidebar {
192
- width: 350px !important;
193
- margin-left: -350px !important;
194
- }
195
362
 
196
- .ui.active.wide.sidebar {
197
- margin-left: 0px !important;
363
+ /* Initial */
364
+ .ui.slide.along.sidebar {
365
+ z-index: 1;
366
+ }
367
+ .ui.left.slide.along.sidebar {
368
+ -webkit-transform: translate3d(-50%, 0, 0);
369
+ transform: translate3d(-50%, 0, 0);
370
+ }
371
+ .ui.right.slide.along.sidebar {
372
+ -webkit-transform: translate3d(50%, 0, 0);
373
+ transform: translate3d(50%, 0, 0);
374
+ }
375
+ .ui.top.slide.along.sidebar {
376
+ -webkit-transform: translate3d(0, -50%, 0);
377
+ transform: translate3d(0, -50%, 0);
378
+ }
379
+ .ui.bottom.slide.along.sidebar {
380
+ -webkit-transform: translate3d(0%, 50%, 0);
381
+ transform: translate3d(0%, 50%, 0);
382
+ }
383
+ .ui.animating.slide.along.sidebar {
384
+ -webkit-transition: -webkit-transform 500ms ease;
385
+ transition: transform 500ms ease;
198
386
  }
199
387
 
200
- .ui.active.right.wide.sidebar {
201
- margin-left: -350px !important;
388
+ /* End */
389
+ .ui.visible.slide.along.sidebar {
390
+ -webkit-transform: translate3d(0%, 0, 0);
391
+ transform: translate3d(0%, 0, 0);
202
392
  }
203
393
 
204
- /* Very Wide */
394
+ /*--------------
395
+ Slide Out
396
+ ---------------*/
397
+
205
398
 
206
- .ui.very.wide.sidebar {
207
- width: 475px !important;
208
- margin-left: -475px !important;
399
+ /* Initial */
400
+ .ui.slide.out.sidebar {
401
+ z-index: 1;
402
+ }
403
+ .ui.left.slide.out.sidebar {
404
+ -webkit-transform: translate3d(50%, 0, 0);
405
+ transform: translate3d(50%, 0, 0);
406
+ }
407
+ .ui.right.slide.out.sidebar {
408
+ -webkit-transform: translate3d(-50%, 0, 0);
409
+ transform: translate3d(-50%, 0, 0);
410
+ }
411
+ .ui.top.slide.out.sidebar {
412
+ -webkit-transform: translate3d(0%, 50%, 0);
413
+ transform: translate3d(0%, 50%, 0);
414
+ }
415
+ .ui.bottom.slide.out.sidebar {
416
+ -webkit-transform: translate3d(0%, -50%, 0);
417
+ transform: translate3d(0%, -50%, 0);
209
418
  }
210
419
 
211
- .ui.active.very.wide.sidebar {
212
- margin-left: 0px !important;
420
+ /* Animation */
421
+ .ui.animating.slide.out.sidebar {
422
+ -webkit-transition: -webkit-transform 500ms ease;
423
+ transition: transform 500ms ease;
213
424
  }
214
425
 
215
- .ui.active.right.very.wide.sidebar {
216
- margin-left: -475px !important;
426
+ /* End */
427
+ .ui.visible.slide.out.sidebar {
428
+ -webkit-transform: translate3d(0%, 0, 0);
429
+ transform: translate3d(0%, 0, 0);
217
430
  }
218
431
 
219
- /*-------------------
220
- Height
221
- --------------------*/
432
+ /*--------------
433
+ Scale Down
434
+ ---------------*/
222
435
 
223
- /* Standard */
224
436
 
225
- .ui.top.sidebar {
226
- margin: -40px 0px 0px 0px !important;
437
+ /* Initial */
438
+ .ui.scale.down.sidebar {
439
+ -webkit-transition: -webkit-transform 500ms ease;
440
+ transition: transform 500ms ease;
441
+ z-index: 102;
442
+ }
443
+ .ui.left.scale.down.sidebar {
444
+ -webkit-transform: translate3d(-100%, 0, 0);
445
+ transform: translate3d(-100%, 0, 0);
446
+ }
447
+ .ui.right.scale.down.sidebar {
448
+ -webkit-transform: translate3d(100%, 0, 0);
449
+ transform: translate3d(100%, 0, 0);
450
+ }
451
+ .ui.top.scale.down.sidebar {
452
+ -webkit-transform: translate3d(0%, -100%, 0);
453
+ transform: translate3d(0%, -100%, 0);
454
+ }
455
+ .ui.bottom.scale.down.sidebar {
456
+ -webkit-transform: translate3d(0%, 100%, 0);
457
+ transform: translate3d(0%, 100%, 0);
458
+ }
459
+ .ui.scale.down.left.sidebar ~ .pusher {
460
+ -webkit-transform-origin: 75% 50%;
461
+ -ms-transform-origin: 75% 50%;
462
+ transform-origin: 75% 50%;
463
+ }
464
+ .ui.scale.down.right.sidebar ~ .pusher {
465
+ -webkit-transform-origin: 25% 50%;
466
+ -ms-transform-origin: 25% 50%;
467
+ transform-origin: 25% 50%;
468
+ }
469
+ .ui.scale.down.top.sidebar ~ .pusher {
470
+ -webkit-transform-origin: 50% 75%;
471
+ -ms-transform-origin: 50% 75%;
472
+ transform-origin: 50% 75%;
473
+ }
474
+ .ui.scale.down.bottom.sidebar ~ .pusher {
475
+ -webkit-transform-origin: 50% 25%;
476
+ -ms-transform-origin: 50% 25%;
477
+ transform-origin: 50% 25%;
227
478
  }
228
479
 
229
- .ui.top.sidebar,
230
- .ui.bottom.sidebar {
231
- height: 40px !important;
480
+ /* Animation */
481
+ .ui.animating.scale.down > .visible.ui.sidebar {
482
+ -webkit-transition: -webkit-transform 500ms ease;
483
+ transition: transform 500ms ease;
484
+ }
485
+ .ui.visible.scale.down.sidebar ~ .pusher,
486
+ .ui.animating.scale.down.sidebar ~ .pusher {
487
+ display: block !important;
488
+ width: 100%;
489
+ height: 100%;
490
+ overflow: hidden;
232
491
  }
233
492
 
234
- .ui.active.bottom.sidebar {
235
- margin-top: -40px !important;
236
- }
493
+ /* End */
494
+ .ui.visible.scale.down.sidebar {
495
+ -webkit-transform: translate3d(0, 0, 0);
496
+ transform: translate3d(0, 0, 0);
497
+ }
498
+ .ui.visible.scale.down.sidebar ~ .pusher {
499
+ -webkit-transform: scale(0.75);
500
+ -ms-transform: scale(0.75);
501
+ transform: scale(0.75);
502
+ }