Dotclear

source: admin/style/scss/partials/_markup.scss @ 3771:ee48b80e8d04

Revision 3771:ee48b80e8d04, 3.2 KB checked in by franck <carnet.franck.paul@…>, 7 years ago (diff)

Use svg image rather than png for outgoing links

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

Sites map