Dotclear

source: admin/style/scss/partials/_markup.scss @ 3439:640a478849cf

Revision 3439:640a478849cf, 2.9 KB checked in by franck <carnet.franck.paul@…>, 9 years ago (diff)

Prettify scss code

Line 
1/* ------------------------------------------------------------------ titres */
2
3
4/* fil d'ariane */
5
6#content > h2 {
7     padding: 0 1em .5em 1em;
8     margin: 0 -1em 1em -1em;
9     background: #fff url(bg_h2.png) repeat-x center bottom;
10}
11
12h2 a:link,
13h2 a:visited {
14     color: #676e78;
15     border-color: #000;
16}
17
18
19/* page courante dans le fil d'ariane */
20
21.page-title {
22     color: #d30e60;
23     img {
24          padding-left: .5em;
25          vertical-align: middle;
26     }
27}
28
29
30/* autres titres */
31
32#main-menu h3 {
33     font-weight: bold;
34}
35
36.fieldset h3,
37.fieldset h4,
38.pretty-title {
39     color: #D33800;
40     font-size: 1em;
41     font-weight: bold;
42}
43
44.fieldset h3 {
45     font-size: 1.17em;
46}
47
48.fieldset h3.smart-title,
49.fieldset h4.smart-title,
50.smart-title {
51     font-size: 1em;
52     text-transform: uppercase;
53     font-weight: bold;
54     color: #333;
55     text-shadow: 0 1px 0 rgba(200, 200, 200, 0.6)
56}
57
58#entry-sidebar h5 {
59     font-weight: normal;
60     color: #333;
61}
62
63.entry-status img.img_select_option {
64     padding-left: 4px;
65     vertical-align: text-top;
66}
67
68h4 label,
69h5 label {
70     color: #333;
71}
72
73h2:first-child,
74h3:first-child,
75h4:first-child,
76h5:first-child,
77ul:first-child,
78p:first-child {
79     margin-top: 0;
80}
81
82
83/* ---------------------------------------------------------------- tableaux */
84
85
86/*  Pour autoriser le scroll sur les petites largeurs
87     envelopper les tableaux dans une div.table-outer */
88
89.table-outer {
90     width: 100%;
91     overflow: auto;
92}
93
94table {
95     font-size: 1em;
96     border-collapse: collapse;
97     margin: 0 0 1em 0;
98     width: 100%;
99}
100
101caption {
102     color: #333;
103     font-weight: bold;
104     text-align: left;
105     margin-bottom: .5em;
106}
107
108th {
109     border-width: 1px 0 1px 0;
110     border-style: solid;
111     border-color: #dfdfdf;
112     background: #eef1ec;
113     padding: .4em 1em .4em .5em;
114     vertical-align: top;
115     text-align: left;
116}
117
118td {
119     border-width: 0 0 1px 0;
120     border-style: solid;
121     border-color: #e3e3e3;
122     padding: .4em 1em .4em .5em;
123     vertical-align: top;
124}
125
126
127/* ---------------------------------------------------------- autres balises */
128
129p {
130     margin: 0 0 1em 0;
131}
132
133hr {
134     height: 1px;
135     border-width: 1px 0 0;
136     border-color: #dfdfdf;
137     background: #dfdfdf;
138     border-style: solid;
139     &.clearer {
140          clear: both;
141     }
142}
143
144pre,
145code,
146#debug {
147     font: 100% $monospace;
148}
149
150code {
151     background: #fefacd;
152}
153
154pre {
155     white-space: pre;
156     white-space: -moz-pre-wrap;
157     white-space: pre-wrap;
158     white-space: pre-line;
159     word-wrap: break-word;
160}
161
162abbr {
163     cursor: help;
164}
165
166input,
167textarea,
168select,
169option,
170optgroup,
171legend,
172label {
173     font-size: 1em;
174}
175
176
177/* ------------------------------------------------------------------ liens */
178
179a,
180a:link,
181a:visited {
182     color: #2373A8;
183     text-decoration: none;
184     border-bottom: 1px dotted #999;
185     background-color: inherit;
186     outline: 0;
187     img {
188          border: none;
189          background: inherit;
190     }
191}
192
193a:hover,
194a:active {
195     border-bottom-style: solid;
196}
197
198h1 a:link,
199h1 a:visited {
200     border: none;
201}
202
203.discrete a {
204     color: #333;
205}
206
207a:link {
208     transition: .5s;
209}
210
211a:focus,
212a:focus img {
213     outline: 2px solid #bee74b;
214     border-bottom: none;
215     text-decoration: none;
216}
Note: See TracBrowser for help on using the repository browser.

Sites map