Dotclear

source: admin/style/scss/partials/_messages.scss @ 3355:5619cd4c8c5d

Revision 3355:5619cd4c8c5d, 2.2 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

Switch admin CSS to Sass/Compass?, 1st step

Line 
1.warn,
2.warning,
3.info {
4    font-style: normal;
5    padding: .2em .66em .2em;
6    text-indent: 24px;
7    color: #333;
8    display: inline-block;
9    line-height: 1.5em;
10    border-radius: 3px;
11    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6)
12}
13
14div.warn,
15div.warning,
16div.info {
17    display: block;
18    padding: 1em 1em .33em 1em;
19    margin-bottom: 1em;
20}
21
22.warn,
23.warning {
24    background: #FEFACD url(msg-warning.png) no-repeat .3em .3em;
25    border: 1px solid #ffd478;
26}
27
28.info {
29    background: #D9EDF7 url(msg-info.png) no-repeat .3em .3em;
30    border: 1px solid #BCE8F1;
31}
32
33span.warn,
34span.warning,
35span.info {
36    padding-top: 1px;
37    padding-bottom: 1px;
38    background-position: .3em .2em;
39}
40
41.error,
42.message,
43.static-msg,
44.success,
45.warning-msg {
46    padding: 1em 0.5em 0.5em 48px;
47    margin-bottom: 1em;
48    border-radius: 8px;
49    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
50}
51
52p.error,
53p.message,
54p.static-msg,
55p.success,
56p.warning-msg {
57    padding-top: 1em;
58    padding-bottom: 1em;
59    margin-top: .5em;
60}
61
62.error {
63    background: #FFBABA url(msg-error.png) no-repeat .7em .7em;
64    color: #000;
65    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
66}
67
68.message,
69.static-msg {
70    background: #676e78 url(msg-std.png) no-repeat .7em .7em;
71    color: #fff;
72}
73
74.message a,
75.static-msg a,
76.message h3,
77.static-msg h3 {
78    color: #fff;
79}
80
81.success,
82.warning-msg {
83    color: #000;
84    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6)
85}
86
87.success {
88    background: #9bca1c url(msg-success.png) no-repeat .7em .7em;
89}
90
91.warning-msg {
92    background: #ffd478 url(msg-warning.png) no-repeat .7em .7em;
93    border: 1px solid #ffd478;
94}
95
96.success a,
97.warning-msg a,
98.info a {
99    color: #333;
100}
101
102.dc-update {
103    padding: 1em 48px 0.5em 48px;
104    margin-bottom: 1em;
105    border-radius: 8px;
106    background: #A2CBE9 url(msg-success.png) no-repeat .7em .7em;
107    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
108    color: #000;
109    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1)
110}
111
112.dc-update h3 {
113    margin-top: 0;
114    color: #000;
115}
116
117.dc-update p {
118    display: inline-block;
119    vertical-align: middle;
120}
121
122.dc-update a {
123    color: #000;
124    margin-right: 1em;
125}
126
127.dc-update a.button {
128    padding: .5em 1em;
129}
130
131.updt-info a {
132    margin-left: 2em;
133    border-color: #000;
134    font-weight: bold;
135}
Note: See TracBrowser for help on using the repository browser.

Sites map