Dotclear

source: admin/style/jsToolBar/jsToolBar.css @ 1399:cdf556efc5ea

Revision 1399:cdf556efc5ea, 3.6 KB checked in by Anne Kozlika <kozlika@…>, 12 years ago (diff)

Semantic xhtml and a11y. Let labels to be labels. Step One: admin. Plugins and Themes will come later.

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

Sites map