Dotclear

source: admin/style/jsToolBar/jsToolBar.css @ 1810:1cad42f451bc

Revision 1810:1cad42f451bc, 3.5 KB checked in by Anne Kozlika <kozlika@…>, 12 years ago (diff)

Bug fix. Correction de la disparition des images des boutons au survol.

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

Sites map