~johnsca/charms/trusty/cloudfoundry/better-basic-reconciler-status

« back to all changes in this revision

Viewing changes to reconciler/ui/static/semantic/less/collections/message.less

  • Committer: Whit Morriss
  • Date: 2014-10-13 06:50:17 UTC
  • mto: (132.2.1 reconciler) (145.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 156.
  • Revision ID: whit.morriss@canonical.com-20141013065017-0feo2ku3yllymkol
reorg reconciler

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * # Semantic - Message
 
3
 * http://github.com/jlukic/semantic-ui/
 
4
 *
 
5
 *
 
6
 * Copyright 2014 Contributors
 
7
 * Released under the MIT license
 
8
 * http://opensource.org/licenses/MIT
 
9
 *
 
10
 */
 
11
 
 
12
/*******************************
 
13
            Message
 
14
*******************************/
 
15
 
 
16
.ui.message {
 
17
  position: relative;
 
18
  min-height: 18px;
 
19
  margin: 1em 0em;
 
20
 
 
21
  height: auto;
 
22
  background-color: #EFEFEF;
 
23
  padding: 1em;
 
24
 
 
25
  line-height: 1.33;
 
26
  color: rgba(0, 0, 0, 0.6);
 
27
 
 
28
  -webkit-transition:
 
29
    opacity 0.1s ease,
 
30
    color 0.1s ease,
 
31
    background 0.1s ease,
 
32
    -webkit-box-shadow 0.1s ease;
 
33
  -moz-transition:
 
34
    opacity 0.1s ease,
 
35
    color 0.1s ease,
 
36
    background 0.1s ease,
 
37
    box-shadow 0.1s ease
 
38
  ;
 
39
  transition:
 
40
    opacity 0.1s ease,
 
41
    color 0.1s ease,
 
42
    background 0.1s ease,
 
43
    box-shadow 0.1s ease
 
44
  ;
 
45
 
 
46
  -webkit-box-sizing: border-box;
 
47
  -moz-box-sizing: border-box;
 
48
  -ms-box-sizing: border-box;
 
49
  box-sizing: border-box;
 
50
  border-radius: 0.325em 0.325em 0.325em 0.325em;
 
51
}
 
52
 
 
53
.ui.message:first-child {
 
54
  margin-top: 0em;
 
55
}
 
56
.ui.message:last-child {
 
57
  margin-bottom: 0em;
 
58
}
 
59
 
 
60
 
 
61
/*--------------
 
62
     Content
 
63
---------------*/
 
64
 
 
65
/* block with headers */
 
66
.ui.message .header {
 
67
  margin: 0em;
 
68
  font-size: 1.33em;
 
69
  font-weight: bold;
 
70
}
 
71
 
 
72
/* block with paragraphs */
 
73
.ui.message p {
 
74
  opacity: 0.85;
 
75
  margin: 1em 0em;
 
76
}
 
77
.ui.message p:first-child {
 
78
  margin-top: 0em;
 
79
}
 
80
.ui.message p:last-child {
 
81
  margin-bottom: 0em;
 
82
}
 
83
.ui.message .header + p {
 
84
  margin-top: 0.3em;
 
85
}
 
86
.ui.message > :first-child {
 
87
  margin-top: 0em;
 
88
}
 
89
.ui.message > :last-child {
 
90
  margin-bottom: 0em;
 
91
}
 
92
 
 
93
/* block with child list */
 
94
.ui.message ul.list {
 
95
  opacity: 0.85;
 
96
  list-style-position: inside;
 
97
  margin: 0.2em 0em;
 
98
  padding: 0em;
 
99
}
 
100
.ui.message ul.list li {
 
101
  position: relative;
 
102
  list-style-type: none;
 
103
  margin: 0em 0em 0.3em 1em;
 
104
  padding: 0em;
 
105
}
 
106
.ui.message ul.list li:before {
 
107
  position: absolute;
 
108
  content: '\2022';
 
109
  top: -0.05em;
 
110
  left: -0.8em;
 
111
 
 
112
  height: 100%;
 
113
  vertical-align: baseline;
 
114
  opacity: 0.5;
 
115
}
 
116
.ui.message ul.list li:first-child {
 
117
  margin-top: 0em;
 
118
}
 
119
 
 
120
/* dismissable block */
 
121
.ui.message > .close.icon {
 
122
  cursor: pointer;
 
123
  position: absolute;
 
124
  right: 0em;
 
125
  top: 0em;
 
126
 
 
127
  width: 2.5em;
 
128
  height: 2.5em;
 
129
 
 
130
  opacity: 0.7;
 
131
  padding: 0.75em 0em 0em 0.75em;
 
132
  z-index: 2;
 
133
 
 
134
  -webkit-transition:
 
135
    opacity 0.1s linear
 
136
  ;
 
137
  -moz-transition:
 
138
    opacity 0.1s linear
 
139
  ;
 
140
  transition:
 
141
    opacity 0.1s linear
 
142
  ;
 
143
  z-index: 10;
 
144
}
 
145
.ui.message > .close.icon:hover {
 
146
  opacity: 1;
 
147
}
 
148
 
 
149
 
 
150
 
 
151
/*******************************
 
152
            States
 
153
*******************************/
 
154
 
 
155
.ui.message.visible {
 
156
  display: block !important;
 
157
}
 
158
.ui.icon.message.animating,
 
159
.ui.icon.message.visible {
 
160
  display: table !important;
 
161
}
 
162
 
 
163
.ui.message.hidden {
 
164
  display: none !important;
 
165
}
 
166
 
 
167
/*******************************
 
168
            Variations
 
169
*******************************/
 
170
 
 
171
/*--------------
 
172
    Compact
 
173
---------------*/
 
174
 
 
175
.ui.compact.message {
 
176
  display: inline-block;
 
177
}
 
178
 
 
179
 
 
180
/*--------------
 
181
    Attached
 
182
---------------*/
 
183
 
 
184
.ui.attached.message {
 
185
  margin-left: -1px;
 
186
  margin-right: -1px;
 
187
  margin-bottom: -1px;
 
188
  border-radius: 0.325em 0.325em 0em 0em;
 
189
 
 
190
  -webkit-box-shadow:
 
191
    0em 0em 0em 1px rgba(0, 0, 0, 0.1) inset
 
192
  ;
 
193
  box-shadow:
 
194
    0em 0em 0em 1px rgba(0, 0, 0, 0.1) inset
 
195
  ;
 
196
}
 
197
.ui.attached + .ui.attached.message:not(.top):not(.bottom) {
 
198
  margin-top: -1px;
 
199
  border-radius: 0em;
 
200
}
 
201
.ui.bottom.attached.message {
 
202
  margin-top: -1px;
 
203
  border-radius: 0em 0em 0.325em 0.325em;
 
204
}
 
205
.ui.bottom.attached.message:not(:last-child) {
 
206
  margin-bottom: 1em;
 
207
}
 
208
.ui.attached.icon.message {
 
209
  display: block;
 
210
  width: auto;
 
211
}
 
212
 
 
213
 
 
214
/*--------------
 
215
      Icon
 
216
---------------*/
 
217
 
 
218
.ui.icon.message {
 
219
  display: table;
 
220
  width: 100%;
 
221
}
 
222
.ui.icon.message > .icon:not(.close) {
 
223
  display: table-cell;
 
224
  vertical-align: middle;
 
225
  font-size: 3.8em;
 
226
  opacity: 0.5;
 
227
}
 
228
.ui.icon.message > .icon + .content {
 
229
  padding-left: 1em;
 
230
}
 
231
.ui.icon.message > .content {
 
232
  display: table-cell;
 
233
  vertical-align: middle;
 
234
}
 
235
 
 
236
/*--------------
 
237
    Inverted
 
238
---------------*/
 
239
 
 
240
.ui.inverted.message {
 
241
  background-color: rgba(255, 255, 255, 0.05);
 
242
  color: rgba(255, 255, 255, 0.95);
 
243
}
 
244
 
 
245
 
 
246
/*--------------
 
247
    Floating
 
248
---------------*/
 
249
 
 
250
.ui.floating.message {
 
251
  -webkit-box-shadow:
 
252
    0px 1px 3px 0px rgba(0, 0, 0, 0.1),
 
253
    0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset
 
254
  ;
 
255
  box-shadow:
 
256
    0px 1px 3px 0px rgba(0, 0, 0, 0.1),
 
257
    0px 0px 0px 1px rgba(0, 0, 0, 0.05) inset
 
258
  ;
 
259
}
 
260
 
 
261
 
 
262
/*--------------
 
263
     Colors
 
264
---------------*/
 
265
 
 
266
.ui.black.message {
 
267
  background-color: #333333;
 
268
  color: rgba(255, 255, 255, 0.95);
 
269
}
 
270
 
 
271
 
 
272
 
 
273
/*--------------
 
274
     Types
 
275
---------------*/
 
276
.ui.blue.message,
 
277
.ui.info.message {
 
278
  background-color: #E6F4F9;
 
279
  color: #4D8796;
 
280
}
 
281
 
 
282
/* Green Text Block */
 
283
.ui.green.message {
 
284
  background-color: #DEFCD5;
 
285
  color: #52A954;
 
286
}
 
287
 
 
288
/* Yellow Text Block */
 
289
.ui.yellow.message,
 
290
.ui.warning.message {
 
291
  background-color: #F6F3D5;
 
292
  color: #96904D;
 
293
}
 
294
/* Red Text Block */
 
295
.ui.red.message {
 
296
  background-color: #F1D7D7;
 
297
  color: #A95252;
 
298
}
 
299
 
 
300
/* Success Text Block */
 
301
.ui.success.message,
 
302
.ui.positive.message {
 
303
  background-color: #DEFCD5;
 
304
  color: #52A954;
 
305
}
 
306
/* Error Text Block */
 
307
.ui.error.message,
 
308
.ui.negative.message {
 
309
  background-color: #F1D7D7;
 
310
  color: #A95252;
 
311
}
 
312
 
 
313
 
 
314
/*--------------
 
315
     Sizes
 
316
---------------*/
 
317
 
 
318
.ui.small.message {
 
319
  font-size: 0.875em;
 
320
}
 
321
.ui.message {
 
322
  font-size: 1em;
 
323
}
 
324
.ui.large.message {
 
325
  font-size: 1.125em;
 
326
}
 
327
.ui.huge.message {
 
328
  font-size: 1.5em;
 
329
}
 
330
.ui.massive.message {
 
331
  font-size: 2em;
 
332
}
 
 
b'\\ No newline at end of file'