Dotclear

source: admin/style/install.css @ 2300:268401c6d78d

Revision 2300:268401c6d78d, 3.8 KB checked in by Anne Kozlika <kozlika@…>, 12 years ago (diff)

CSS. Réduction/simplification du nombre de couleurs utilisées.

Line 
1/*
2     loader.css
3     Simple CSS rules for NetInstall
4     
5     (c) 2008 - Olivier Meunier & contributors - All rights reserved.
6     Please see http://dotclear.net/ for more details.
7*/
8html {
9     font-size: 62.5%;
10}
11body.install {
12     font: 1.2rem/1.5 Arial,Helvetica,sans-serif;
13     color: #333;
14     background: #fff;
15     margin: 0;
16     padding: 0;
17}
18body.install #content {
19     width:32em;
20     margin:1em auto;
21}
22body.install #main {
23     padding:1em 2em;
24     border:1px #ccc solid;
25     border-radius: 8px;
26}
27body.install h1,h2 {
28     font-family: arial,Helvetica,sans-serif;
29}
30body.install h1 {
31     background: url(install/w-logo.png) no-repeat top center;
32     font-size:1.8em;
33     font-weight:normal;
34     text-align:center;
35     color: #666;
36     padding-top: 70px;
37     margin: 0 0 0.75em 0;
38}
39body.install h2 {
40     color: #f90;
41}
42body.install h3 {
43     margin-top:0;
44}
45body.install label {
46     color: #555;
47}
48
49body.install .msg {
50     padding:10px 10px 10px 60px;
51     border-radius:8px;
52}
53body.install .warning {
54     background: #ffc url(install/important.png) no-repeat 10px 10px;
55}
56body.install .notice {
57     background: #eef url(install/note.png) no-repeat 10px 10px;
58}
59a, a:link, a:visited {
60     color: #2373A8;
61     text-decoration: none;
62     border-bottom: 1px dotted #f90;
63}
64a:hover, a:active, a:focus {
65     text-decoration: underline;
66}
67
68div.error, p.error, div.message, p.message, div.static-msg, p.static-msg {
69     padding: 0.5em 0.5em 0.5em 60px;
70     margin-bottom: 1em;
71     border-radius: 8px;
72}
73p.error, p.message, p.static-msg {
74     padding-top: 1em;
75     padding-bottom: 1em;
76}
77div.error, p.error {
78     background: #e5bfbf url(install/process_warning.png) no-repeat 5px 5px;
79     color: #600;
80}
81div.message, p.message, div.static-msg, p.static-msg {
82     background: #666 url(install/note.png) no-repeat 5px 5px;
83     color: #fff;
84}
85div.message a, p.message a, div.static-msg a, p.static-msg a {
86     color: #fff;
87}
88label {
89     display : block;
90}
91label input, label select, label span {
92     display : block;
93}
94
95label.required {
96     font-weight : bold;
97}
98label.required abbr {
99     color: #900;
100     font-size: 1.3em;
101}
102
103form {
104     display : block;
105     margin : 0;
106     padding : 0;
107}
108
109fieldset {
110     display : block;
111     margin : 0 0 1em 0;
112     padding : 1em 0.5em;
113     border-width : 1px 0;
114     border-style: solid;
115     border-color: #ccc;
116     background: #f5f5f5;
117}
118legend {
119     font-weight : bold;
120     padding: 0.2em 0.6em;
121     border-width: 1px;
122     border-style: solid;
123     border-color: #ccc;
124     background: #f5f5f5;
125     margin-bottom: 0.5em;
126}
127a#obfus {
128     color: #fff;
129     background-color: #666;
130     padding: 0 10px;
131     border-radius: 2px;
132}
133
134input[type=submit]{
135     font-size: 1.05em;
136     display: inline-block;
137     outline: none;
138     cursor: pointer;
139     text-align: center;
140     text-decoration: none;
141     padding: .1em .5em;
142     text-shadow: 0 1px 1px rgba(0,0,0,.3);
143     border-radius: .2em;
144     margin-bottom: .1em;
145     color: #fff;
146     border: 1px solid #2373A8;
147     background: #2373A8;
148     background: -webkit-gradient(linear, left top, left bottom, from(#2C8FD1), to(#2373A8));
149     background: -moz-linear-gradient(top,  #2C8FD1,  #2373A8);
150     width: 100%;
151}
152input[type=submit]:hover,
153input[type=submit]:focus {
154     background: #2373A8;
155     background: -webkit-gradient(linear, left top, left bottom, from(#2373A8), to(#2C8FD1));
156     background: -moz-linear-gradient(top,  #2373A8,  #2C8FD1);
157     filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#2373A8', endColorstr='#2C8FD1');
158     border: 1px solid #2C8FD1;
159}
160
161
162/* --------------------------------------------------------------- password indcator */
163.pw-table {
164     display: block;
165     margin-bottom: .25em;
166}
167.pw-cell {
168     display: block;
169     margin-bottom: .25em;
170}
171#pwindicator {
172     display: block;
173     vertical-align: bottom;
174     padding-left: 1.5em;
175}
176#pwindicator .bar {
177     height: 6px;
178     margin-bottom: 4px;
179}
180.pw-very-weak .bar {
181     background: #900;
182     width: 30px;
183}
184.pw-weak .bar {
185     background: #c00;
186     width: 60px;
187}
188.pw-mediocre .bar {
189     background: #f90;
190     width: 90px;
191}
192.pw-strong .bar {
193     background: #080;
194     width: 120px;
195}
196.pw-very-strong .bar {
197     background: #0c0;
198     width: 150px;
199}
Note: See TracBrowser for help on using the repository browser.

Sites map