Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
.h5p-metadata-button-wrapper {
2
  display: flex;
3
  flex-direction: row;
4
  align-items: center;
5
  margin-top: -7px;
6
  margin-left: 7px;
7
  cursor: pointer;
8
}
9
 
10
.h5p-metadata-button-wrapper.inline-with-selector {
11
  display: inline-flex;
12
  margin-left: 17px;
13
}
14
 
15
.h5p-metadata-toggler {
16
  margin-left: -11px;
17
  height: 14.5px;
18
  max-height: 14.5px;
19
  padding: 0.217rem 0.3rem 0.217rem 0.217rem;
20
  font-size: 0.625em;
21
  font-weight: bold;
22
  letter-spacing: 0.025em;
23
  border: 1px solid #b6cada;
24
  border-left: none;
25
  border-radius: 4px;
26
  background: linear-gradient(#fff, #deeaf1);
27
  color: #356593;
28
  z-index: 1;
29
  justify-content:center;
30
  align-content:center;
31
  line-height: 1.5em;
32
}
33
 
34
.h5p-metadata-button-tip {
35
  width: 16.5px;
36
  height: 16.5px;
37
  content: "";
38
  background: linear-gradient(-215deg, #fff, #deeaf1);
39
  border: 1px solid #b6cada;
40
  border-right: none;
41
  border-top: none;
42
  border-radius: 4px;
43
  transform: rotate(45deg);
44
  z-index: 0;
45
}
46
 
47
.h5p-metadata-button-wrapper:hover {
48
  .h5p-metadata-toggler,
49
  .h5p-metadata-button-tip {
50
    border-color: #6d9fce;
51
  }
52
  .h5p-metadata-toggler {
53
    background: linear-gradient(#f3f8fb, #cee5f3);
54
  }
55
  .h5p-metadata-button-tip {
56
    background: linear-gradient(-215deg, #f3f8fb, #cee5f3);
57
  }
58
}
59
 
60
.h5p-metadata-button-wrapper:active {
61
  .h5p-metadata-toggler,
62
  .h5p-metadata-button-tip {
63
    color: #294f73;
64
    border-color: #6d9fce;
65
  }
66
  .h5p-metadata-toggler {
67
    background: linear-gradient(#f3f8fb, #bcd4e2);
68
  }
69
  .h5p-metadata-button-tip {
70
    background: linear-gradient(-215deg, #f3f8fb, #bcd4e2);
71
  }
72
}
73
 
74
#metadata-title-main-label {
75
  margin-top: 0;
76
}
77
 
78
.h5p-metadata-button {
79
  background: white;
80
  padding: 10px;
81
  text-align: center;
82
  border-radius: 5px;
83
  border: 2px solid #6b6b6b;
84
  color: #6b6b6b;
85
  font-weight: bold;
86
  display: inline;
87
  cursor: pointer;
88
}
89
.h5p-metadata-button:hover {
90
  border-color: #4a4a4a;
91
  color: #4a4a4a;
92
}
93
.h5p-metadata-button:active {
94
  border-color: #000;
95
  color: #000;
96
}
97
 
98
.h5p-metadata-button.inverted {
99
  border: 2px solid #0a715e;
100
  color: #0a715e;
101
}
102
.h5p-metadata-button.inverted:hover {
103
  border-color: #0d826c;
104
  color: #0d826c;
105
}
106
.h5p-metadata-button.inverted:active {
107
  border-color: #095345;
108
  color: #095345;
109
}
110
 
111
.h5p-metadata-icon-button {
112
  border: none;
113
  cursor: pointer;
114
  color: #6b6b6b;
115
  background: transparent;
116
  padding: 0;
117
}
118
.h5p-metadata-icon-button:hover {
119
  color: #4a4a4a;
120
}
121
.h5p-metadata-icon-button:active {
122
  color: #000;
123
}
124
 
125
.h5p-metadata-wrapper {
126
  display: inline-block;
127
  background-color: #fff;
128
  max-width: 700px;
129
  width: calc(100% - 4em);
130
  text-align: left;
131
  /* Adds a 20px margin on the bottom */
132
  border-bottom: 20px solid transparent;
133
  background-clip: padding-box;
134
  max-height: calc(100% - 40px);
135
  overflow: auto;
136
  margin-bottom: 20px;
137
 
138
  .h5p-metadata-header {
139
    display: flex;
140
    border-bottom: 1px solid #ced6e3;
141
    padding: 1.5em;
142
 
143
    .h5p-title-container {
144
     flex-grow: 1;
145
     padding-left: 3.5em;
146
     white-space: nowrap;
147
     overflow: hidden;
148
     margin-right: 1%;
149
     position: relative;
150
 
151
     h2 {
152
       margin: 0;
153
     }
154
 
155
     p {
156
       margin: 0.1em;
157
     }
158
    }
159
 
160
    .h5p-title-container:before {
161
      position: absolute;
162
      font-family: 'h5p-metadata-icons';
163
      content: '\e903';
164
      left: 0;
165
      top: 0;
166
      font-size: 2em;
167
      height: 1.4em;
168
      line-height: 1.3;
169
    }
170
  }
171
 
172
  .h5p-save {
173
    border: solid 2px #0a715e;
174
    border-radius: 0.3rem;
175
    color: #fff;
176
    background-color: #0a715e;
177
    padding: 0.75rem;
178
    white-space: nowrap;
179
  }
180
  .h5p-save:hover {
181
    border-color: #0d826c;
182
    background-color: #0d826c;
183
  }
184
  .h5p-save:active {
185
    border-color: #095345;
186
    background-color: #095345;
187
  }
188
 
189
  .h5peditor-label {
190
    font-size: 0.8em;
191
    color: #333;
192
  }
193
 
194
  .h5peditor-field-description {
195
    color: #697484;
196
    margin-top: 0.35em;
197
    letter-spacing: 0.5px;
198
  }
199
 
200
  .copyright-form {
201
    margin-top: 20px;
202
  }
203
 
204
  h2 {
205
    font-size: 1em;
206
    overflow: hidden;
207
    text-overflow:ellipsis;
208
  }
209
 
210
  p {
211
    font-size: 0.8333em;
212
    color: #697484;
213
    overflow: hidden;
214
    text-overflow: ellipsis;
215
    margin-bottom: 0;
216
  }
217
 
218
  .errors p,
219
  .h5p-errors p {
220
    color: #da0001;
221
    font-size: 1em;
222
    white-space: normal;
223
    text-overflow: unset;
224
  }
225
 
226
  select.h5peditor-select,
227
  input.h5peditor-text,
228
  textarea {
229
    border: 1px solid #b8c0cd;
230
    font-size: 0.833em;
231
    border-radius: 0.208em;
232
    box-shadow: none;
233
    font-family: $font-family;
234
  }
235
 
236
  select:focus,
237
  input:focus,
238
  textarea:focus {
239
    box-shadow: inset 0px 0px 10px rgba(0,0,0,0.15);
240
  }
241
 
242
  select {
243
    width: 100%;
244
  }
245
 
246
  .h5p-metadata-fields-wrapper {
247
    display: flex;
248
    flex-wrap: wrap;
249
    margin: 1.5em;
250
 
251
    > .field {
252
      margin-bottom: 0;
253
      width: 100%;
254
    }
255
 
256
    > .field-name-license {
257
      width: 49%;
258
      margin-right: 1%;
259
    }
260
 
261
    > .field-name-licenseVersion {
262
      width: 49%;
263
      margin-left: 1%;
264
    }
265
 
266
    > .field-name-yearFrom {
267
      width: 24%;
268
      margin-right: 1%;
269
      white-space: nowrap;
270
 
271
      .h5peditor-text {
272
        width: 100%;
273
      }
274
    }
275
 
276
    > .field-name-yearTo {
277
      width: 23%;
278
      margin-right: 1%;
279
      margin-left: 1%;
280
 
281
      .h5peditor-text {
282
        width: 100%;
283
      }
284
    }
285
 
286
    > .field-name-source {
287
      width: 49%;
288
      margin-left: 1%;
289
    }
290
 
291
    .field-name-title label {
292
      justify-content: space-between;
293
 
294
      .a11y-title-toggle {
295
        background: none;
296
        border: none;
297
        cursor: pointer;
298
 
299
        &:before {
300
          font-family: 'h5p-metadata-icons';
301
          content: "\e905";
302
          margin-right: 0.5em;
303
          font-size: 1.5em;
304
          vertical-align: middle;
305
        }
306
 
307
        &:focus,
308
        &:active,
309
        &:hover {
310
          border: none;
311
        }
312
        &:hover .h5p-a11y-title-text {
313
          text-decoration: underline;
314
        }
315
      }
316
    }
317
 
318
    .field-name-a11yTitle {
319
      transition: max-height 0.2s, margin 0.2s;
320
      overflow: hidden;
321
 
322
      &.hide {
323
        max-height: 0;
324
        margin: 0;
325
      }
326
 
327
      &.hidden {
328
        display: none;
329
      }
330
    }
331
  }
332
 
333
  .field.group {
334
    > .title {
335
      font-weight: 400;
336
      background: #F6F6F6;
337
      color: #323232;
338
      border: solid 1px #ced6e3;
339
      border-radius: 0.208em;
340
    }
341
    &.expanded > .title {
342
      border-radius: 0.208em 0.208em 0 0;
343
    }
344
    > .title:focus {
345
      border-color: rgb(77, 144, 254);
346
    }
347
    > .content {
348
      border: solid 1px #ced6e3;
349
      border-radius: 0 0 0.208em 0.208em ;
350
      padding: 20px;
351
      border-top: 0;
352
    }
353
  }
354
}
355
 
356
.h5p-metadata-additional-information {
357
  width: 100%;
358
  margin-top: 1em;
359
 
360
  .content.h5peditor-single {
361
    min-height: 2em;
362
    border: 1px solid #d0d0d1;
363
    border-top: none;
364
    background: #fff;
365
  }
366
 
367
  .title {
368
    font-weight: 400;
369
    background: #F6F6F6;
370
    color: #323232;
371
    border: solid 1px #ced6e3;
372
    border-radius: 0.208em;
373
  }
374
  .title:focus {
375
    border-color: rgb(77, 144, 254);
376
  }
377
}