Dotclear

source: admin/style/jsToolBar/jsToolBar.css @ 1618:50d7656f833a

Revision 1618:50d7656f833a, 3.7 KB checked in by Anne Kozlika <kozlika@…>, 11 years ago (diff)

Focus on jsToolbar textarea (wiki editor). (But not on wysiwyg textarea because iframe can't be styled on focus.)

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

Sites map