forked from logicexpertise/moodle-mod_onlyoffice
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathstyles.css
211 lines (176 loc) · 4.05 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
/* @copyright 2024 Ascensio System SIA <integration@onlyoffice.com>
* @copyright based on work by 2018 Olumuyiwa Taiwo <muyi.taiwo@logicexpertise.com>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
#page-content h2,
#page-content .onlyofficeeditor .activityinstance > a {
display: inline-block;
}
.onlyofficeeditor-container > iframe {
height: 95vh;
max-height: 60rem;
}
.onlyofficeeditor-container.onlyofficeeditor-fullscreen {
position: absolute;
left: 0;
right: 0;
top: 0;
margin: 0 0 0 50px;
z-index: 100;
}
.onlyofficeeditor-container.onlyofficeeditor-rightindent {
margin-right: 43px;
}
#onlyofficeeditor-editor.error {
color: red;
}
.onlyofficeeditor-create-button {
position: relative;
justify-content: center;
min-width: 85px;
margin-top: 10px;
padding: 45px 5px 6px;
background-repeat: no-repeat;
}
.onlyofficeeditor-create-button input[type=radio] {
margin: auto;
appearance: none;
position: absolute;
top: 0;
opacity: 0.5;
}
.onlyofficeeditor-create-button input[type=radio]:checked {
opacity: 1;
}
.onlyofficeeditor-create-button input[value^="Document"] {
content: url([[pix:onlyofficeeditor|file_docx]]);
}
.onlyofficeeditor-create-button input[value^="Presentation"] {
content: url([[pix:onlyofficeeditor|file_pptx]]);
}
.onlyofficeeditor-create-button input[value^="Spreadsheet"] {
content: url([[pix:onlyofficeeditor|file_xlsx]]);
}
.onlyofficeeditor-create-button input[value^="PDF form"] {
content: url([[pix:onlyofficeeditor|file_pdf]]);
}
.onlyofficeeditor-create-button input[value^="Upload file"] {
content: url([[pix:onlyofficeeditor|file_upload]]);
}
.onlyofficeeditor-saveas-section {
max-width: 100%;
padding: 0.5rem 0;
color: rgb(44, 123, 194);
font-size: 20px;
cursor: pointer;
}
.onlyofficeeditor-saveas-section-selected {
background-color: rgb(248, 249, 250);
}
.onlyofficeeditor-saveas-section:before,
.onlyofficeeditor-saveas-section:last-child:after {
position: absolute;
left: 0;
content: '';
width: 100%;
height: 1px;
background-color: rgb(222, 226, 230);
top: 0;
}
.onlyofficeeditor-saveas-section:last-child:after {
top: 100%;
}
.onlyofficeeditor-editor-fs-button {
border: 1px solid rgb(15, 111, 197);
background: white;
color: rgb(15, 111, 197);
float: right;
}
#onlyofficeeditor-enter-fs-button {
padding: 5px;
margin-right: 10px;
}
#onlyofficeeditor-exit-fs-button {
margin: 12px;
}
.onlyoffice-banner {
border: 1px solid #e9e9e9;
border-radius: 3px;
display: flex;
align-items: center;
padding: 16px 32px 21px 20px;
width: fit-content;
background-image: url([[pix:onlyofficeeditor|banner_bg]]);
background-repeat: no-repeat;
margin: 15px 0;
}
.banner-body {
max-width: 398px;
display: flex;
align-items: center;
column-gap: 35px;
padding-right: 24px;
}
.banner-body h4,
.banner-body p {
margin: 0;
}
.banner-body h4 {
margin-bottom: 5px;
}
.banner-icon img {
max-width: 82px;
max-height: 79px;
width: 82px;
height: 79px;
margin-right: 0;
}
.banner-title {
font-weight: 700;
font-size: 20px;
line-height: 23px;
}
.banner-description {
font-weight: 300;
font-size: 14px;
}
.banner-links {
margin-left: 24px;
}
.banner-links a {
background-color: transparent;
color: #316ab9;
border: 1px solid #316ab9;
padding: 6px 20px;
border-radius: 3px;
cursor: pointer;
font-size: 14px;
font-weight: 500;
}
.banner-links a:active {
background-color: transparent;
}
.banner-links a:hover {
text-decoration: none;
}
@media (max-width: 603px) {
.onlyoffice-banner {
flex-direction: column;
}
.banner-body {
padding-right: 0;
}
.banner-links {
margin-top: 15px;
}
}
@media (max-width: 480px) {
.banner-body {
flex-direction: column;
justify-items: center;
}
.banner-title,
.banner-description {
text-align: center;
}
}