Dotclear

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

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

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

Line 
1.part-tabs ul {
2    padding: .5em 0 0 1em;
3    border-bottom: 1px solid #ccc;
4    line-height: 1.8;
5}
6
7.part-tabs li {
8    list-style: none;
9    margin: 0;
10    display: inline;
11}
12
13.part-tabs li:first-child a {
14    border-top-left-radius: 3px;
15}
16
17.part-tabs li:last-child a {
18    border-top-right-radius: 3px;
19}
20
21.part-tabs li a {
22    padding: .33em 1.5em;
23    margin-right: -1px;
24    border: 1px solid #ccc;
25    border-bottom: none;
26    text-decoration: none;
27    color: #333;
28    background-color: #ecf0f1;
29    display: inline-block;
30}
31
32.part-tabs li a:hover,
33.part-tabs li a:focus {
34    color: #000;
35    background: #fff;
36    border-bottom-color: #fff;
37}
38
39.part-tabs li.part-tabs-active a {
40    background: #fff;
41    font-weight: bold;
42    border-bottom-color: #fff;
43}
44
45.multi-part {
46    padding-left: 1em;
47}
48
49.pseudo-tabs {
50    margin: -.75em 0 2em 0;
51    border-bottom: 1px solid #bbb;
52    display: table;
53    width: 100%;
54    padding: 0;
55    line-height: 24px;
56    border-collapse: collapse;
57}
58
59.pseudo-tabs li {
60    display: table-cell;
61    border-width: 0 1px;
62    border-style: solid;
63    border-color: #ccc;
64    padding: 0;
65    margin: 0;
66    text-align: center;
67}
68
69.pseudo-tabs a {
70    display: block;
71    font-weight: bold;
72    padding: 0 24px;
73    border-bottom: none;
74}
75
76.pseudo-tabs a:hover,
77.pseudo-tabs a:focus {
78    background-color: #ecf0f1;
79    color: #333;
80}
81
82.pseudo-tabs a.active {
83    background-color: #ecf0f1;
84    color: #d30e60;
85}
86
87
88/* contextual help */
89
90#help {
91    margin-top: 4em;
92    background: #f5f5f5;
93    z-index: 100;
94    clear: both;
95    padding: 0 1em;
96}
97
98#content.with-help #help {
99    display: block;
100    position: absolute;
101    top: 0;
102    right: 0;
103    width: 32rem; // 24em;
104    border-left: 2px solid #FFD478;
105    border-top: 2px solid #FFD478;
106    margin-top: 0;
107    padding: .5em 0 0 0;
108    overflow: auto;
109}
110
111#help-button {
112    background: transparent url(help-mini.png) no-repeat 6px center;
113    position: absolute;
114    top: 0;
115    right: 0;
116    padding: 0 1.5em 0 30px;
117    cursor: pointer;
118    color: #2373A8;
119    line-height: 3;
120}
121
122#help-button.floatable {
123    border-top: 2px solid #ccc;
124    border-left: 2px solid #ccc;
125    border-bottom: 2px solid #ccc;
126    border-bottom-left-radius: 1em;
127    border-top-left-radius: 1em;
128    background-color: #f5f5f5;
129    position: fixed;
130    top: 10px;
131    -webkit-transform: translateZ(0);
132    /* Let GPU doing his job */
133}
134
135.no-js #help-button {
136    top: 1em;
137}
138
139#help-button span {
140    padding: .5em 0 .1em 0;
141}
142
143#content.with-help #help-button {
144    right: 32rem; // 24em;
145    background-color: #f5f5f5;
146    position: fixed;
147    top: 6em; // 50px;
148    z-index: 100;
149    border-top: 2px solid #FFD478;
150    border-left: 2px solid #FFD478;
151    border-bottom: 2px solid #FFD478;
152    border-bottom-left-radius: 1em;
153    border-top-left-radius: 1em;
154}
155
156.help-box {
157    display: none;
158}
159
160.help-box ul {
161    padding-left: 20px;
162    margin-left: 0;
163}
164
165#content.with-help .help-content {
166    padding: 0 1em 1em;
167}
168
169.help-content dt {
170    font-weight: bold;
171    color: #676e78;
172    margin: 0;
173}
174
175.help-content dd {
176    margin: 0.3em 0 1.5em 0;
177}
178
179
180/* lien d'aide générale dans le help content */
181
182#helplink p {
183    padding: 0 0 0 .5em;
184}
Note: See TracBrowser for help on using the repository browser.

Sites map