semantic-ui-sass 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +51 -0
- data/Rakefile +5 -0
- data/app/assets/fonts/semantic-ui/basic.icons.eot +0 -0
- data/app/assets/fonts/semantic-ui/basic.icons.svg +450 -0
- data/app/assets/fonts/semantic-ui/basic.icons.ttf +0 -0
- data/app/assets/fonts/semantic-ui/basic.icons.woff +0 -0
- data/app/assets/fonts/semantic-ui/icons.eot +0 -0
- data/app/assets/fonts/semantic-ui/icons.otf +0 -0
- data/app/assets/fonts/semantic-ui/icons.svg +399 -0
- data/app/assets/fonts/semantic-ui/icons.ttf +0 -0
- data/app/assets/fonts/semantic-ui/icons.woff +0 -0
- data/app/assets/images/semantic-ui/loader-large-inverted.gif +0 -0
- data/app/assets/images/semantic-ui/loader-large.gif +0 -0
- data/app/assets/images/semantic-ui/loader-medium-inverted.gif +0 -0
- data/app/assets/images/semantic-ui/loader-medium.gif +0 -0
- data/app/assets/images/semantic-ui/loader-mini-inverted.gif +0 -0
- data/app/assets/images/semantic-ui/loader-mini.gif +0 -0
- data/app/assets/images/semantic-ui/loader-small-inverted.gif +0 -0
- data/app/assets/images/semantic-ui/loader-small.gif +0 -0
- data/app/assets/javascripts/semantic-ui.js +20 -0
- data/app/assets/javascripts/semantic-ui/accordion.js +419 -0
- data/app/assets/javascripts/semantic-ui/behavior/api.js +638 -0
- data/app/assets/javascripts/semantic-ui/behavior/colorize.js +270 -0
- data/app/assets/javascripts/semantic-ui/behavior/form.js +702 -0
- data/app/assets/javascripts/semantic-ui/behavior/state.js +725 -0
- data/app/assets/javascripts/semantic-ui/chatroom.js +769 -0
- data/app/assets/javascripts/semantic-ui/checkbox.js +344 -0
- data/app/assets/javascripts/semantic-ui/dimmer.js +564 -0
- data/app/assets/javascripts/semantic-ui/dropdown.js +724 -0
- data/app/assets/javascripts/semantic-ui/modal.js +553 -0
- data/app/assets/javascripts/semantic-ui/nag.js +545 -0
- data/app/assets/javascripts/semantic-ui/popup.js +727 -0
- data/app/assets/javascripts/semantic-ui/rating.js +403 -0
- data/app/assets/javascripts/semantic-ui/search.js +772 -0
- data/app/assets/javascripts/semantic-ui/shape.js +778 -0
- data/app/assets/javascripts/semantic-ui/sidebar.js +490 -0
- data/app/assets/javascripts/semantic-ui/tab.js +689 -0
- data/app/assets/javascripts/semantic-ui/transition.js +654 -0
- data/app/assets/javascripts/semantic-ui/video.js +457 -0
- data/app/assets/stylesheets/semantic-ui.scss +4 -0
- data/app/assets/stylesheets/semantic-ui/collections/_all.scss +6 -0
- data/app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss +77 -0
- data/app/assets/stylesheets/semantic-ui/collections/_form.scss +569 -0
- data/app/assets/stylesheets/semantic-ui/collections/_grid.scss +643 -0
- data/app/assets/stylesheets/semantic-ui/collections/_menu.scss +1767 -0
- data/app/assets/stylesheets/semantic-ui/collections/_message.scss +347 -0
- data/app/assets/stylesheets/semantic-ui/collections/_table.scss +524 -0
- data/app/assets/stylesheets/semantic-ui/elements/_all.scss +12 -0
- data/app/assets/stylesheets/semantic-ui/elements/_basic.icon.scss +479 -0
- data/app/assets/stylesheets/semantic-ui/elements/_button.scss +1187 -0
- data/app/assets/stylesheets/semantic-ui/elements/_divider.scss +199 -0
- data/app/assets/stylesheets/semantic-ui/elements/_header.scss +342 -0
- data/app/assets/stylesheets/semantic-ui/elements/_icon.scss +772 -0
- data/app/assets/stylesheets/semantic-ui/elements/_image.scss +181 -0
- data/app/assets/stylesheets/semantic-ui/elements/_input.scss +338 -0
- data/app/assets/stylesheets/semantic-ui/elements/_label.scss +827 -0
- data/app/assets/stylesheets/semantic-ui/elements/_loader.scss +185 -0
- data/app/assets/stylesheets/semantic-ui/elements/_progress.scss +352 -0
- data/app/assets/stylesheets/semantic-ui/elements/_segment.scss +464 -0
- data/app/assets/stylesheets/semantic-ui/elements/_step.scss +293 -0
- data/app/assets/stylesheets/semantic-ui/modules/_accordion.scss +199 -0
- data/app/assets/stylesheets/semantic-ui/modules/_all.scss +16 -0
- data/app/assets/stylesheets/semantic-ui/modules/_chatroom.scss +281 -0
- data/app/assets/stylesheets/semantic-ui/modules/_checkbox.scss +481 -0
- data/app/assets/stylesheets/semantic-ui/modules/_dimmer.scss +236 -0
- data/app/assets/stylesheets/semantic-ui/modules/_dropdown.scss +548 -0
- data/app/assets/stylesheets/semantic-ui/modules/_modal.scss +217 -0
- data/app/assets/stylesheets/semantic-ui/modules/_nag.scss +173 -0
- data/app/assets/stylesheets/semantic-ui/modules/_popup.scss +255 -0
- data/app/assets/stylesheets/semantic-ui/modules/_rating.scss +179 -0
- data/app/assets/stylesheets/semantic-ui/modules/_reveal.scss +365 -0
- data/app/assets/stylesheets/semantic-ui/modules/_search.scss +273 -0
- data/app/assets/stylesheets/semantic-ui/modules/_shape.scss +113 -0
- data/app/assets/stylesheets/semantic-ui/modules/_sidebar.scss +150 -0
- data/app/assets/stylesheets/semantic-ui/modules/_tab.scss +63 -0
- data/app/assets/stylesheets/semantic-ui/modules/_transition.scss +1096 -0
- data/app/assets/stylesheets/semantic-ui/modules/_video.scss +98 -0
- data/app/assets/stylesheets/semantic-ui/views/_all.scss +5 -0
- data/app/assets/stylesheets/semantic-ui/views/_comment.scss +221 -0
- data/app/assets/stylesheets/semantic-ui/views/_feed.scss +152 -0
- data/app/assets/stylesheets/semantic-ui/views/_item.scss +651 -0
- data/app/assets/stylesheets/semantic-ui/views/_list.scss +555 -0
- data/app/assets/stylesheets/semantic-ui/views/_statistic.scss +27 -0
- data/lib/semantic/ui/sass.rb +10 -0
- data/lib/semantic/ui/sass/engine.rb +13 -0
- data/lib/semantic/ui/sass/version.rb +8 -0
- data/semantic-ui-sass.gemspec +24 -0
- data/tasks/converter.rb +237 -0
- metadata +177 -0
@@ -0,0 +1,217 @@
|
|
1
|
+
/*
|
2
|
+
* # Semantic - Modal
|
3
|
+
* http://github.com/jlukic/semantic-ui/
|
4
|
+
*
|
5
|
+
*
|
6
|
+
* Copyright 2013 Contributors
|
7
|
+
* Released under the MIT license
|
8
|
+
* http://opensource.org/licenses/MIT
|
9
|
+
*
|
10
|
+
*/
|
11
|
+
|
12
|
+
/*******************************
|
13
|
+
Modal
|
14
|
+
*******************************/
|
15
|
+
|
16
|
+
.ui.modal {
|
17
|
+
display: none;
|
18
|
+
position: fixed;
|
19
|
+
z-index: 1001;
|
20
|
+
|
21
|
+
top: 50%;
|
22
|
+
left: 50%;
|
23
|
+
text-align: left;
|
24
|
+
|
25
|
+
width: 90%;
|
26
|
+
margin-left: -45%;
|
27
|
+
|
28
|
+
background-color: #FFFFFF;
|
29
|
+
border: 1px solid #DDDDDD;
|
30
|
+
|
31
|
+
-webkit-border-radius: 5px;
|
32
|
+
-moz-border-radius: 5px;
|
33
|
+
border-radius: 5px;
|
34
|
+
}
|
35
|
+
|
36
|
+
|
37
|
+
/*******************************
|
38
|
+
Content
|
39
|
+
*******************************/
|
40
|
+
|
41
|
+
/*--------------
|
42
|
+
Close
|
43
|
+
---------------*/
|
44
|
+
|
45
|
+
.ui.modal > .close {
|
46
|
+
cursor: pointer;
|
47
|
+
position: absolute;
|
48
|
+
|
49
|
+
opacity: 0.8;
|
50
|
+
|
51
|
+
font-size: 1.25em;
|
52
|
+
top: -1.75em;
|
53
|
+
right: -1.75em;
|
54
|
+
|
55
|
+
color: #FFFFFF;
|
56
|
+
}
|
57
|
+
.ui.modal > .close:hover {
|
58
|
+
opacity: 1;
|
59
|
+
}
|
60
|
+
|
61
|
+
/*--------------
|
62
|
+
Header
|
63
|
+
---------------*/
|
64
|
+
|
65
|
+
.ui.modal > .header {
|
66
|
+
margin: 0em;
|
67
|
+
padding: 1.5rem 2rem;
|
68
|
+
|
69
|
+
font-size: 1.6em;
|
70
|
+
font-weight: bold;
|
71
|
+
|
72
|
+
-webkit-border-radius: 0.325em 0.325em 0px 0px;
|
73
|
+
-moz-border-radius: 0.325em 0.325em 0px 0px;
|
74
|
+
border-radius: 0.325em 0.325em 0px 0px;
|
75
|
+
}
|
76
|
+
|
77
|
+
/*--------------
|
78
|
+
Content
|
79
|
+
---------------*/
|
80
|
+
|
81
|
+
.ui.modal > .content {
|
82
|
+
display: table;
|
83
|
+
width: 100%;
|
84
|
+
position: relative;
|
85
|
+
padding: 2em;
|
86
|
+
background-color: #F4F4F4;
|
87
|
+
|
88
|
+
-webkit-box-sizing: border-box;
|
89
|
+
-moz-box-sizing: border-box;
|
90
|
+
-ms-box-sizing: border-box;
|
91
|
+
box-sizing: border-box;
|
92
|
+
}
|
93
|
+
.ui.modal > .content > .left {
|
94
|
+
display: table-cell;
|
95
|
+
padding-right: 5%;
|
96
|
+
min-width: 25%;
|
97
|
+
}
|
98
|
+
.ui.modal > .content > .right {
|
99
|
+
display: table-cell;
|
100
|
+
padding-left: 5%;
|
101
|
+
vertical-align: top;
|
102
|
+
min-width: 25%;
|
103
|
+
}
|
104
|
+
.ui.modal > .content > .left > .icon {
|
105
|
+
font-size: 8em;
|
106
|
+
margin: 0em;
|
107
|
+
}
|
108
|
+
.ui.modal > .content p {
|
109
|
+
line-height: 1.6;
|
110
|
+
}
|
111
|
+
|
112
|
+
/*--------------
|
113
|
+
Actions
|
114
|
+
---------------*/
|
115
|
+
|
116
|
+
.ui.modal .actions {
|
117
|
+
padding: 1rem 2rem;
|
118
|
+
text-align: right;
|
119
|
+
}
|
120
|
+
.ui.modal .actions > .button {
|
121
|
+
margin-left: 0.75em;
|
122
|
+
}
|
123
|
+
|
124
|
+
/*-------------------
|
125
|
+
Sizing
|
126
|
+
--------------------*/
|
127
|
+
|
128
|
+
/* Mobile Only */
|
129
|
+
@media only screen and (max-width : 768px) {
|
130
|
+
.ui.modal .content .left {
|
131
|
+
display: block;
|
132
|
+
padding: 0em 0em 0em 1em;
|
133
|
+
}
|
134
|
+
.ui.modal .content .right {
|
135
|
+
display: block;
|
136
|
+
padding: 1em 0em 0em 0em;
|
137
|
+
|
138
|
+
-webkit-box-shadow: none;
|
139
|
+
-moz-box-shadow: none;
|
140
|
+
box-shadow: none;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
/* Tablet and Mobile */
|
144
|
+
@media only screen and (max-width : 998px) {
|
145
|
+
.ui.modal {
|
146
|
+
width: 92%;
|
147
|
+
margin-left: -46%;
|
148
|
+
}
|
149
|
+
.ui.modal > .close {
|
150
|
+
color: rgba(0, 0, 0, 0.8);
|
151
|
+
top: 1.5rem;
|
152
|
+
right: 1rem;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
/* Computer / Responsive */
|
156
|
+
@media only screen and (min-width : 998px) {
|
157
|
+
.ui.modal {
|
158
|
+
width: 74%;
|
159
|
+
margin-left: -37%;
|
160
|
+
}
|
161
|
+
}
|
162
|
+
@media only screen and (min-width : 1500px) {
|
163
|
+
.ui.modal {
|
164
|
+
width: 64%;
|
165
|
+
margin-left: -32%;
|
166
|
+
}
|
167
|
+
}
|
168
|
+
@media only screen and (min-width : 1750px) {
|
169
|
+
.ui.modal {
|
170
|
+
width: 54%;
|
171
|
+
margin-left: -27%;
|
172
|
+
}
|
173
|
+
}
|
174
|
+
@media only screen and (min-width : 2000px) {
|
175
|
+
.ui.modal {
|
176
|
+
width: 44%;
|
177
|
+
margin-left: -22%;
|
178
|
+
}
|
179
|
+
}
|
180
|
+
|
181
|
+
|
182
|
+
/*******************************
|
183
|
+
Types
|
184
|
+
*******************************/
|
185
|
+
|
186
|
+
.ui.basic.modal {
|
187
|
+
background-color: transparent;
|
188
|
+
border: none;
|
189
|
+
color: #FFFFFF;
|
190
|
+
}
|
191
|
+
.ui.basic.modal > .close {
|
192
|
+
top: 1.5rem;
|
193
|
+
right: 1rem;
|
194
|
+
}
|
195
|
+
.ui.basic.modal .content {
|
196
|
+
background-color: transparent;
|
197
|
+
}
|
198
|
+
|
199
|
+
/*******************************
|
200
|
+
Variations
|
201
|
+
*******************************/
|
202
|
+
|
203
|
+
/* A modal that cannot fit on the page */
|
204
|
+
.ui.modal.scrolling {
|
205
|
+
position: absolute;
|
206
|
+
margin-top: 10px;
|
207
|
+
}
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
/*******************************
|
212
|
+
States
|
213
|
+
*******************************/
|
214
|
+
|
215
|
+
.ui.active.modal {
|
216
|
+
display: block;
|
217
|
+
}
|
@@ -0,0 +1,173 @@
|
|
1
|
+
/*
|
2
|
+
* # Semantic - Nag
|
3
|
+
* http://github.com/jlukic/semantic-ui/
|
4
|
+
*
|
5
|
+
*
|
6
|
+
* Copyright 2013 Contributors
|
7
|
+
* Released under the MIT license
|
8
|
+
* http://opensource.org/licenses/MIT
|
9
|
+
*
|
10
|
+
*/
|
11
|
+
|
12
|
+
/*******************************
|
13
|
+
Nag
|
14
|
+
*******************************/
|
15
|
+
|
16
|
+
.ui.nag {
|
17
|
+
display: none;
|
18
|
+
opacity: 0.95;
|
19
|
+
|
20
|
+
position: relative;
|
21
|
+
top: 0px;
|
22
|
+
left: 0%;
|
23
|
+
z-index: 101;
|
24
|
+
|
25
|
+
min-height: 0;
|
26
|
+
width: 100%;
|
27
|
+
|
28
|
+
-webkit-box-sizing: border-box;
|
29
|
+
-moz-box-sizing: border-box;
|
30
|
+
-ms-box-sizing: border-box;
|
31
|
+
box-sizing: border-box;
|
32
|
+
|
33
|
+
margin: 0em;
|
34
|
+
line-height: 3em;
|
35
|
+
padding: 0em 1em;
|
36
|
+
|
37
|
+
background-color: #555555;
|
38
|
+
|
39
|
+
-webkit-box-shadow:
|
40
|
+
0px 1px 2px 0px rgba(0, 0, 0, 0.2)
|
41
|
+
;
|
42
|
+
-moz-box-shadow:
|
43
|
+
0px 1px 2px 0px rgba(0, 0, 0, 0.2)
|
44
|
+
;
|
45
|
+
box-shadow:
|
46
|
+
0px 1px 2px 0px rgba(0, 0, 0, 0.2)
|
47
|
+
;
|
48
|
+
|
49
|
+
font-size: 1em;
|
50
|
+
text-align: center;
|
51
|
+
color: rgba(255, 255, 255, 0.8);
|
52
|
+
|
53
|
+
-webkit-border-radius: 0px 0px 5px 5px;
|
54
|
+
-moz-border-radius: 0px 0px 5px 5px;
|
55
|
+
border-radius: 0px 0px 5px 5px;
|
56
|
+
|
57
|
+
-webkit-transition: 0.2s background;
|
58
|
+
-moz-transition: 0.2s background;
|
59
|
+
-o-transition: 0.2s background;
|
60
|
+
-ms-transition: 0.2s background;
|
61
|
+
transition: 0.2s background;
|
62
|
+
}
|
63
|
+
|
64
|
+
a.ui.nag {
|
65
|
+
cursor: pointer;
|
66
|
+
}
|
67
|
+
|
68
|
+
.ui.nag > .title {
|
69
|
+
display: inline-block;
|
70
|
+
margin: 0em 0.5em;
|
71
|
+
color: #FFFFFF;
|
72
|
+
}
|
73
|
+
|
74
|
+
|
75
|
+
.ui.nag > .close.icon {
|
76
|
+
cursor: pointer;
|
77
|
+
opacity: 0.4;
|
78
|
+
|
79
|
+
position: absolute;
|
80
|
+
top: 50%;
|
81
|
+
right: 1em;
|
82
|
+
|
83
|
+
margin-top: -0.5em;
|
84
|
+
color: #FFFFFF;
|
85
|
+
|
86
|
+
-webkit-transition: 0.1s opacity;
|
87
|
+
-moz-transition: 0.1s opacity;
|
88
|
+
-o-transition: 0.1s opacity;
|
89
|
+
-ms-transition: 0.1s opacity;
|
90
|
+
transition: 0.1s opacity;
|
91
|
+
}
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
/*******************************
|
96
|
+
States
|
97
|
+
*******************************/
|
98
|
+
|
99
|
+
/* Hover */
|
100
|
+
.ui.nag:hover {
|
101
|
+
opacity: 1;
|
102
|
+
}
|
103
|
+
|
104
|
+
.ui.nag .close:hover {
|
105
|
+
opacity: 1;
|
106
|
+
}
|
107
|
+
|
108
|
+
|
109
|
+
/*******************************
|
110
|
+
Variations
|
111
|
+
*******************************/
|
112
|
+
|
113
|
+
|
114
|
+
/*--------------
|
115
|
+
Static
|
116
|
+
---------------*/
|
117
|
+
|
118
|
+
.ui.overlay.nag {
|
119
|
+
position: absolute;
|
120
|
+
display: block;
|
121
|
+
}
|
122
|
+
|
123
|
+
/*--------------
|
124
|
+
Fixed
|
125
|
+
---------------*/
|
126
|
+
|
127
|
+
.ui.fixed.nag {
|
128
|
+
position: fixed;
|
129
|
+
}
|
130
|
+
|
131
|
+
/*--------------
|
132
|
+
Bottom
|
133
|
+
---------------*/
|
134
|
+
|
135
|
+
.ui.botton.nag {
|
136
|
+
-webkit-border-radius: 5px 5px 0px 0px;
|
137
|
+
-moz-border-radius: 5px 5px 0px 0px;
|
138
|
+
border-radius: 5px 5px 0px 0px;
|
139
|
+
}
|
140
|
+
.ui.fixed.bottom.nags,
|
141
|
+
.ui.fixed.bottom.nag {
|
142
|
+
top: auto;
|
143
|
+
bottom: 0px;
|
144
|
+
}
|
145
|
+
|
146
|
+
|
147
|
+
/*--------------
|
148
|
+
White
|
149
|
+
---------------*/
|
150
|
+
|
151
|
+
.ui.white.nags .nag,
|
152
|
+
.ui.white.nag {
|
153
|
+
background-color: #F1F1F1;
|
154
|
+
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8);
|
155
|
+
color: #ACACAC;
|
156
|
+
}
|
157
|
+
.ui.white.nags .nag .close,
|
158
|
+
.ui.white.nags .nag .title,
|
159
|
+
.ui.white.nag .close,
|
160
|
+
.ui.white.nag .title {
|
161
|
+
color: #333333;
|
162
|
+
}
|
163
|
+
|
164
|
+
|
165
|
+
/*******************************
|
166
|
+
Groups
|
167
|
+
*******************************/
|
168
|
+
|
169
|
+
.ui.nags .nag {
|
170
|
+
-webkit-border-radius: 0px;
|
171
|
+
-moz-border-radius: 0px;
|
172
|
+
border-radius: 0px;
|
173
|
+
}
|
@@ -0,0 +1,255 @@
|
|
1
|
+
/*
|
2
|
+
* # Semantic - Popup
|
3
|
+
* http://github.com/jlukic/semantic-ui/
|
4
|
+
*
|
5
|
+
*
|
6
|
+
* Copyright 2013 Contributors
|
7
|
+
* Released under the MIT license
|
8
|
+
* http://opensource.org/licenses/MIT
|
9
|
+
*
|
10
|
+
*/
|
11
|
+
|
12
|
+
/*******************************
|
13
|
+
Popup
|
14
|
+
*******************************/
|
15
|
+
|
16
|
+
.ui.popup {
|
17
|
+
display: none;
|
18
|
+
position: absolute;
|
19
|
+
top: 0px;
|
20
|
+
right: 0px;
|
21
|
+
z-index: 900;
|
22
|
+
|
23
|
+
border: 1px solid #DCDDDE;
|
24
|
+
max-width: 250px;
|
25
|
+
background-color: #FFFFFF;
|
26
|
+
|
27
|
+
padding: 0.8em 1.2em;
|
28
|
+
font-size: 0.875rem;
|
29
|
+
font-weight: normal;
|
30
|
+
font-style: normal;
|
31
|
+
color: rgba(0, 0, 0, 0.7);
|
32
|
+
|
33
|
+
-webkit-border-radius: 0.2em;
|
34
|
+
-moz-border-radius: 0.2em;
|
35
|
+
border-radius: 0.2em;
|
36
|
+
|
37
|
+
-webkit-box-shadow: 0px 1px 1px #DCDDDE;
|
38
|
+
-moz-box-shadow: 0px 1px 1px #DCDDDE;
|
39
|
+
box-shadow: 0px 1px 1px #DCDDDE;
|
40
|
+
}
|
41
|
+
.ui.popup .header {
|
42
|
+
padding: 0em 0em 0.5em;
|
43
|
+
|
44
|
+
font-size: 1.125em;
|
45
|
+
line-height: 1.2;
|
46
|
+
font-weight: bold;
|
47
|
+
}
|
48
|
+
|
49
|
+
.ui.popup:before {
|
50
|
+
position: absolute;
|
51
|
+
content: "";
|
52
|
+
width: 0.75em;
|
53
|
+
height: 0.75rem;
|
54
|
+
|
55
|
+
background-image: none;
|
56
|
+
background-color: #FFFFFF;
|
57
|
+
|
58
|
+
-webkit-transform: rotate(45deg);
|
59
|
+
-moz-transform: rotate(45deg);
|
60
|
+
transform: rotate(45deg);
|
61
|
+
|
62
|
+
z-index: 2;
|
63
|
+
|
64
|
+
-webkit-box-sizing: border-box;
|
65
|
+
-moz-box-sizing: border-box;
|
66
|
+
-ms-box-sizing: border-box;
|
67
|
+
box-sizing: border-box;
|
68
|
+
|
69
|
+
-webkit-box-shadow: 1px 1px 1px #DCDDDE;
|
70
|
+
-moz-box-shadow: 1px 1px 1px #DCDDDE;
|
71
|
+
box-shadow: 1px 1px 1px #DCDDDE;
|
72
|
+
}
|
73
|
+
|
74
|
+
.ui.popup .ui.button {
|
75
|
+
width: 100%;
|
76
|
+
}
|
77
|
+
|
78
|
+
/*******************************
|
79
|
+
Types
|
80
|
+
*******************************/
|
81
|
+
|
82
|
+
/*--------------
|
83
|
+
Spacing
|
84
|
+
---------------*/
|
85
|
+
|
86
|
+
.ui.popup {
|
87
|
+
margin: 0em;
|
88
|
+
}
|
89
|
+
.ui.popup.bottom {
|
90
|
+
margin: 0.75em 0em 0em;
|
91
|
+
}
|
92
|
+
.ui.popup.top {
|
93
|
+
margin: 0em 0em 0.75em;
|
94
|
+
}
|
95
|
+
.ui.popup.left.center {
|
96
|
+
margin: 0em 0.75em 0em 0em;
|
97
|
+
}
|
98
|
+
.ui.popup.right.center {
|
99
|
+
margin: 0em 0em 0em 0.75em;
|
100
|
+
}
|
101
|
+
.ui.popup.center {
|
102
|
+
margin-left: -1.25em;
|
103
|
+
}
|
104
|
+
|
105
|
+
/*--------------
|
106
|
+
Pointer
|
107
|
+
---------------*/
|
108
|
+
|
109
|
+
/*--- Below ---*/
|
110
|
+
.ui.bottom.center.popup:before {
|
111
|
+
margin-left: -0.4em;
|
112
|
+
top: -0.4em;
|
113
|
+
left: 50%;
|
114
|
+
right: auto;
|
115
|
+
bottom: auto;
|
116
|
+
-webkit-box-shadow: -1px -1px 1px #dcddde;
|
117
|
+
-moz-box-shadow: -1px -1px 1px #dcddde;
|
118
|
+
box-shadow: -1px -1px 1px #dcddde;
|
119
|
+
}
|
120
|
+
|
121
|
+
.ui.bottom.left.popup {
|
122
|
+
margin-right: -0.8em;
|
123
|
+
}
|
124
|
+
.ui.bottom.left.popup:before {
|
125
|
+
top: -0.4em;
|
126
|
+
right: 1em;
|
127
|
+
bottom: auto;
|
128
|
+
left: auto;
|
129
|
+
margin-left: 0em;
|
130
|
+
-webkit-box-shadow: -1px -1px 1px #dcddde;
|
131
|
+
-moz-box-shadow: -1px -1px 1px #dcddde;
|
132
|
+
box-shadow: -1px -1px 1px #dcddde;
|
133
|
+
}
|
134
|
+
|
135
|
+
.ui.bottom.right.popup {
|
136
|
+
margin-left: -0.8em;
|
137
|
+
}
|
138
|
+
.ui.bottom.right.popup:before {
|
139
|
+
top: -0.4em;
|
140
|
+
left: 1em;
|
141
|
+
right: auto;
|
142
|
+
bottom: auto;
|
143
|
+
margin-left: 0em;
|
144
|
+
-webkit-box-shadow: -1px -1px 1px #dcddde;
|
145
|
+
-moz-box-shadow: -1px -1px 1px #dcddde;
|
146
|
+
box-shadow: -1px -1px 1px #dcddde;
|
147
|
+
}
|
148
|
+
|
149
|
+
/*--- Above ---*/
|
150
|
+
.ui.top.center.popup:before {
|
151
|
+
top: auto;
|
152
|
+
right: auto;
|
153
|
+
bottom: -0.4em;
|
154
|
+
left: 50%;
|
155
|
+
margin-left: -0.4em;
|
156
|
+
}
|
157
|
+
.ui.top.left.popup {
|
158
|
+
margin-right: -0.8em;
|
159
|
+
}
|
160
|
+
.ui.top.left.popup:before {
|
161
|
+
bottom: -0.4em;
|
162
|
+
right: 1em;
|
163
|
+
top: auto;
|
164
|
+
left: auto;
|
165
|
+
margin-left: 0em;
|
166
|
+
}
|
167
|
+
.ui.top.right.popup {
|
168
|
+
margin-left: -0.8em;
|
169
|
+
}
|
170
|
+
.ui.top.right.popup:before {
|
171
|
+
bottom: -0.4em;
|
172
|
+
left: 1em;
|
173
|
+
top: auto;
|
174
|
+
right: auto;
|
175
|
+
margin-left: 0em;
|
176
|
+
}
|
177
|
+
|
178
|
+
/*--- Left Center ---*/
|
179
|
+
.ui.left.center.popup:before {
|
180
|
+
top: 50%;
|
181
|
+
right: -0.35em;
|
182
|
+
bottom: auto;
|
183
|
+
left: auto;
|
184
|
+
margin-top: -0.4em;
|
185
|
+
-moz-box-shadow: 1px -1px 1px #dcddde;
|
186
|
+
-webkit-box-shadow: 1px -1px 1px #dcddde;
|
187
|
+
box-shadow: 1px -1px 1px #dcddde;
|
188
|
+
}
|
189
|
+
|
190
|
+
/*--- Right Center ---*/
|
191
|
+
.ui.right.center.popup:before {
|
192
|
+
top: 50%;
|
193
|
+
left: -0.35em;
|
194
|
+
bottom: auto;
|
195
|
+
right: auto;
|
196
|
+
margin-top: -0.4em;
|
197
|
+
-moz-box-shadow: -1px 1px 1px #dcddde;
|
198
|
+
-webkit-box-shadow: -1px 1px 1px #dcddde;
|
199
|
+
box-shadow: -1px 1px 1px #dcddde;
|
200
|
+
}
|
201
|
+
|
202
|
+
/*******************************
|
203
|
+
States
|
204
|
+
*******************************/
|
205
|
+
|
206
|
+
.ui.loading.popup {
|
207
|
+
display: block;
|
208
|
+
visibility: hidden;
|
209
|
+
}
|
210
|
+
.ui.active.popup {
|
211
|
+
display: block;
|
212
|
+
}
|
213
|
+
|
214
|
+
|
215
|
+
/*******************************
|
216
|
+
Variations
|
217
|
+
*******************************/
|
218
|
+
|
219
|
+
/*--------------
|
220
|
+
Size
|
221
|
+
---------------*/
|
222
|
+
|
223
|
+
.ui.small.popup {
|
224
|
+
font-size: 0.75rem;
|
225
|
+
}
|
226
|
+
.ui.large.popup {
|
227
|
+
font-size: 1rem;
|
228
|
+
}
|
229
|
+
|
230
|
+
|
231
|
+
/*--------------
|
232
|
+
Colors
|
233
|
+
---------------*/
|
234
|
+
|
235
|
+
/* Inverted colors */
|
236
|
+
.ui.inverted.popup {
|
237
|
+
background-color: #333333;
|
238
|
+
border: none;
|
239
|
+
color: #FFFFFF;
|
240
|
+
|
241
|
+
-webkit-box-shadow: none;
|
242
|
+
-moz-box-shadow: none;
|
243
|
+
box-shadow: none;
|
244
|
+
}
|
245
|
+
.ui.inverted.popup .header {
|
246
|
+
background-color: rgba(0, 0, 0, 0.2);
|
247
|
+
color: #FFFFFF;
|
248
|
+
}
|
249
|
+
.ui.inverted.popup:before {
|
250
|
+
background-color: #333333;
|
251
|
+
|
252
|
+
-webkit-box-shadow: none;
|
253
|
+
-moz-box-shadow: none;
|
254
|
+
box-shadow: none;
|
255
|
+
}
|