-
Notifications
You must be signed in to change notification settings - Fork 3
/
styles.css
108 lines (96 loc) · 2.5 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
.editor_ousupsub {
display: inline-block;
vertical-align: bottom;
}
/* Moodle does not add an 'edge' classname to body yet, and when they do
(MDL-50807) the class name used may not be 'edge', but in any case, this is
the right offset. */
body.edge .editor_ousupsub {
vertical-align: 25px;
}
.editor_ousupsub_content {
outline: none; /* Remove outer border of Chrome. */
}
.editor_ousupsub_content_wrap {
border: 1px solid #bbb;
border-top: none;
background-color: #fff;
color: #000;
white-space: nowrap;
overflow-x: auto;
}
div.editor_ousupsub_toolbar {
display: block;
background: #f2f2f2;
border: 1px solid #bbb;
height: 25px;
line-height: 0;
box-sizing: content-box;
}
div.editor_ousupsub_toolbar div.ousupsub_group {
display: inline-block;
background: #fff;
}
div.editor_ousupsub_toolbar button {
border: 1px solid #f2f2f2;
padding: 0;
width: 35px;
height: 25px;
position: relative;
margin: 0 auto;
cursor: pointer;
line-height: 20px;
background: none;
border-radius: 0;
}
div.editor_ousupsub_toolbar button:before {
background: none;
border: 1px solid #bbb;
content: "";
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
}
div.editor_ousupsub_toolbar button.ousupsub_undo_button,
div.editor_ousupsub_toolbar button.ousupsub_redo_button {
display: none;
}
body.dir-rtl div.editor_ousupsub_toolbar button {
border-right: 0;
border-left: 1px solid #bbb;
}
div.editor_ousupsub_toolbar button img.icon {
padding: 0;
margin: 0;
/* The following is dedicated to the beloved IE8, clashing with Bootstrap. God bless you IE. */
vertical-align: bottom;
width: auto;
height: 16px;
}
div.editor_ousupsub_toolbar button.ousupsub_superscript_button_superscript img.icon {
position: relative;
top: -4px;
}
div.editor_ousupsub_toolbar button[disabled] {
opacity: .45;
background: none;
cursor: default;
}
.editor_ousupsub_toolbar button:hover {
background-image: radial-gradient(ellipse at center, #fff 60%, #d2691e 100%);
background-color: #ebebeb;
}
.editor_ousupsub_toolbar button:active,
.editor_ousupsub_toolbar button.highlight {
background-image: radial-gradient(ellipse at center, #fff 40%, #d2691e 100%);
background-color: #dfdfdf;
}
/* Make firefox button sizes match other browsers */
div.editor_ousupsub_toolbar button::-moz-focus-inner {
border: 0;
padding: 0;
}