Revert "Merge branch 'MDL-41912-master' of git://github.com/damyon/moodle"
[moodle.git] / lib / editor / atto / styles.css
CommitLineData
c90641fa
DW
1div.editor_atto {
2 background-color: white;
f477b698 3 border: 1px solid #BBB;
9cc23e26 4 width: 100%;
c90641fa
DW
5}
6
37b16441
JF
7.editor_atto + textarea {
8 width: 100%;
9 padding: 0;
9cc23e26
JF
10 resize: vertical;
11 border-radius: 0;
12 border: 1px solid #BBB;
37b16441
JF
13}
14
c90641fa
DW
15div.editor_atto_toolbar {
16 display: block;
f477b698 17 background: #F2F2F2;
36973d70 18 min-height: 42px;
f477b698
JF
19 border-top: 1px solid #BBB;
20 border-left: 1px solid #BBB;
21 border-right: 1px solid #BBB;
9cc23e26 22 width: 100%;
36973d70 23 padding: 0 0 9px 0;
c90641fa
DW
24}
25
26div.editor_atto_toolbar button {
36973d70 27 padding: 5px 9px 4px 9px;
f477b698 28 background: none;
36973d70
JF
29 border: 0px;
30 margin: 0;
31 border-radius: 0;
f477b698
JF
32 }
33
36973d70
JF
34div.editor_atto_toolbar button + button {
35 border-left: 1px solid #CCC;
36}
37
f477b698
JF
38div.editor_atto_toolbar button[disabled] {
39 opacity: .45;
c90641fa 40}
f477b698 41
c90641fa
DW
42div.editor_atto_toolbar button img {
43 padding: 1px;
44}
45
c90641fa 46
36973d70
JF
47div.editor_atto_toolbar div.atto_group {
48 display: inline-block;
49 border: 1px solid #CCC;
50 border-bottom: 1px solid #B3B3B3;
51 border-radius: 4px;
52 margin: 9px 0px 0px 9px;
53 background: #FFF;
c90641fa
DW
54}
55
56.editor_atto img {
57 resize: both; overflow: auto;
58}
36973d70 59
c90641fa
DW
60.atto_menuentry img {
61 width: 16px;
62 height: 16px;
63}
64
65.atto_menu {
66 min-width: 12em;
67 background: white;
68 padding: 1px;
69}
70
71.atto_menu a {
72 color: black;
73}
74.atto_menuentry {
75 border-bottom: 1px solid #eee;
76 padding: 2px;
36973d70 77 clear: left;
c90641fa
DW
78}
79
80.atto_menuentry h1,
81.atto_menuentry h2,
82.atto_menuentry p {
83 margin: 4px;
84}
85
86
87.atto_form label {
88 display: block;
89 margin: 5px;
90}
f477b698 91
36973d70
JF
92/* RTL Rules */
93body.dir-rtl div.editor_atto_toolbar button + button {
94 border-left: 0;
95 border-right: 1px solid #CCC;
96}
97
98body.dir-rtl div.editor_atto_toolbar img.icon {
99 padding: 0;
100}
101
102body.dir-rtl div.editor_atto_toolbar div.atto_group {
103 margin: 9px 9px 0px 0px;
104}