Dotclear

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

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

Prettify scss code

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

Sites map