Dotclear

source: admin/style/jsToolBar/jsToolBar.css @ 1741:b669af061dda

Revision 1741:b669af061dda, 3.4 KB checked in by Anne Kozlika <kozlika@…>, 12 years ago (diff)

Organisation et factorisation des CSS, step 1: Organisation.
Work in progress. L'affichage de toutes les pages a été testé.
(Au passage, nettoyage de bizarreries dans les fichiers php.)

Line 
1.jstEditor {
2     border-width : 0 1px 1px 1px;
3     border-style : solid;
4     border-color : #ddd;
5     background : #f7f7f7;
6}
7.jstEditor textarea, .jstEditor iframe {
8     -webkit-box-sizing: border-box;
9     -moz-box-sizing: border-box;
10     box-sizing: border-box; 
11     margin: 0;
12     border: 1px solid #fbfbfb;
13     width: 100%;
14     padding: .5em 0 0 0;
15}
16.jstHandle {
17     height: 8px;
18     background: #ccc url(resize.png) no-repeat center center;
19     font-size: 0.1em;
20     cursor: s-resize;
21     border-color: #ccc #ccc #ccc #000;
22     border-width: 0 1px 1px 1px;
23     border-style: solid;
24}
25.jstEditor textarea:focus, .jstEditor iframe:focus {
26     border-color: #bee74b;
27}
28.jstElements {
29     height: 28px;
30     padding: 0 1rem; 
31     border: 1px solid #dfdfdf;
32     overflow: hidden; 
33     background: #f5f5f5; 
34     -moz-border-radius: 4px 4px 0 0; 
35     -webkit-border-radius: 4px 4px 0 0; 
36     border-radius: 4px 4px 0 0; 
37}
38
39.jstElements select, .jstElements button {
40     vertical-align: middle;
41}
42.jstElements select {
43     width: 12em;
44     margin-right: .6rem;
45     border: 1px solid #ddd; 
46}
47.jstElements button {
48     width : 30px;
49     height: 28px;
50     border-style: solid;
51     border-width:  0 1px 0 0;
52     border-color: #e7e7e7;
53     background-color : #f7f7f7;
54     background-position : 50% 50%;
55     background-repeat: no-repeat;
56}
57.jstElements button:hover {
58     border-color : #ddd;
59     background-color: #fff;
60}
61.jstElements button span {
62     display : none;     
63}
64.jstElements span {
65     display : inline-block;
66     vertical-align: top;
67     background: #e5e5e5;
68}
69span.jstSpacer {
70     width : 6px;
71     height: 28px;
72     margin-right: 0;
73}
74
75.jstSwitcher {
76     display: block;
77     list-style: none;
78     margin: 0;
79     padding: 0 0 5px 0;
80     background: #dfdfdf;
81     border-top: 1px solid #999;
82}
83.jstSwitcher li {
84     display: inline;
85     margin: 0 0 0 5px;
86     padding: 2px 8px;
87}
88.jstSwitcher li.jstSwitcherCurrent {
89     color: #fff;
90     background: #677374;
91     border-radius: 0 0 2px 2px;
92}
93.jstSwitcher a {
94     font-weight: normal;
95     border-bottom: none !important;
96}
97
98/* Buttons
99-------------------------------------------------------- */
100.jstb_strong {
101     background-image: url(bt_strong.png);
102}
103.jstb_em {
104     background-image: url(bt_em.png);
105}
106.jstb_ins {
107     background-image: url(bt_ins.png);
108}
109.jstb_del {
110     background-image: url(bt_del.png);
111}
112.jstb_quote {
113     background-image: url(bt_quote.png);
114}
115.jstb_code {
116     background-image: url(bt_code.png);
117}
118.jstb_paragraph {
119     background-image: url(bt_paragraph.png);
120}
121.jstb_br {
122     background-image: url(bt_br.png);
123}
124.jstb_blockquote {
125     background-image: url(bt_bquote.png);
126}
127.jstb_pre {
128     background-image: url(bt_pre.png);
129}
130.jstb_ul {
131     background-image: url(bt_ul.png);
132}
133.jstb_ol {
134     background-image: url(bt_ol.png);
135}
136.jstb_link {
137     background-image: url(bt_link.png);
138}
139.jstb_img {
140     background-image: url(bt_img.png);
141}
142.jstb_img_select {
143     background-image: url(bt_img_select.png);
144}
145.jstb_post_link {
146     background-image: url(bt_post.png);
147}
148.jstb_removeFormat {
149     background-image: url(bt_clean.png);
150}
151
152/* WYSIWYG Iframe */
153.wysiwygIframe {
154     border-width : 1px;
155     border-style : solid;
156     border-color : #000 #ccc #ccc #000;
157     width : 100%;
158}
159
160/* WYSIWYG Document */
161body.wysiwygDoc {
162     font: 12px "DejaVu Sans","Lucida Grande","Lucida Sans Unicode",Arial,sans-serif;
163     color : #000;
164     background: #f9f9f9;
165     margin: 0;
166     padding : 2px;
167     border: none;
168}
169.wysiwygDoc pre, .wysiwygDoc code, .wysiwygDoc kbd, .wysiwygDoc samp {
170     font-family:"Courier New",Courier,monospace;
171     font-size : 1.1em;
172}
173.wysiwygDoc code {
174     color : #666;
175     font-weight : bold;
176}
177body.wysiwygDoc  > p:first-child {
178     margin-top: 0;
179}
Note: See TracBrowser for help on using the repository browser.

Sites map