File size: 947 Bytes
97420cf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* DO NOT EDIT
@todo This file is copied from GUI and should be pulled out into a shared library.
See https://github.com/LLK/scratch-paint/issues/13 */

@import "../../css/units.css";
@import "../../css/colors.css";
@import "../input-group/input-group.css";

.input-label, .input-label-secondary {
    font-size: 0.625rem;
    user-select: none;
    cursor: default;
}

[dir="ltr"] .input-label, [dir="ltr"] .input-label-secondary{
    margin-right: calc(2 * $grid-unit);
}

[dir="rtl"] .input-label, [dir="ltr"] .input-label-secondary{
    margin-left: calc(2 * $grid-unit);
}

.input-label {
    font-weight: bold;
}

@media only screen and (max-width: $full-size-paint) {
    .input-group {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: -1rem; /* To align with the non-labeled inputs */
    }

    .input-label {
        font-weight: normal;
        margin-bottom: 0.25rem;
    }
}