aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkingControl.scss
blob: 465e14d079849b616d6a1e1132a7352308023cda (plain)
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
@import "globalCssVariables";
.inking-control {
    bottom: 20px;
    margin: 0;
    padding: 0;
    display: flex;
    label,
    input,
    option {
        font-size: 12px;
    }
    input[type="range"] {
        -webkit-appearance: none;
        background-color: transparent;
        vertical-align: middle;
        margin-top: 8px;
        &:focus {
            outline: none;
        }
        &::-webkit-slider-runnable-track {
            width: 100%;
            height: 3px;
            border-radius: 1.5px;
            cursor: pointer;
            background: $intermediate-color;
        }
        &::-webkit-slider-thumb {
            height: 12px;
            width: 12px;
            border: 1px solid $intermediate-color;
            border-radius: 6px;
            background: $light-color;
            cursor: pointer;
            -webkit-appearance: none;
            margin-top: -4px;
        }
        &::-moz-range-track {
            width: 100%;
            height: 3px;
            border-radius: 1.5px;
            cursor: pointer;
            background: $light-color;
        }
        &::-moz-range-thumb {
            height: 12px;
            width: 12px;
            border: 1px solid $intermediate-color;
            border-radius: 6px;
            background: $light-color;
            cursor: pointer;
            -webkit-appearance: none;
            margin-top: -4px;
        }
    }
    input[type="text"] {
        border: none;
        padding: 0 0px;
        background: transparent;
        color: $dark-color;
        font-size: 12px;
        margin-top: 4px;
    }
    .ink-panel {
        height: 24px;
        vertical-align: middle;
        line-height: 28px;
        padding: 0 10px;
        color: $intermediate-color;
        &:first {
            margin-top: 0;
        }
    }
    .ink-tools {
        display: flex;
        background-color: transparent;
        border-radius: 0;
        padding: 0;
        button {
            height: 36px;
            padding: 0px;
            padding-bottom: 3px;
            margin-left: 10px;
            background-color: transparent;
            color: $intermediate-color;
        }
        button:hover {
            transform: scale(1.15);
        }
    }
    .ink-size {
        display: flex;
        justify-content: space-between;
        input[type="text"] {
            width: 42px;
        }
        >* {
            margin-right: 6px;
            &:last-child {
                margin-right: 0;
            }
        }
    }
    .ink-color {
        display: flex;
        position: relative;
        padding-right: 0;
        label {
            margin-right: 6px;
        }
        .ink-color-display {
            border-radius: 11px;
            width: 22px;
            height: 22px;
            cursor: pointer;
            text-align: center; //   span {
            //     color: $light-color;
            //     font-size: 8px;
            //     user-select: none;
            //   }
        }
        .ink-color-picker {
            background-color: $light-color;
            border-radius: 5px;
            padding: 12px;
            position: absolute;
            bottom: 36px;
            left: -3px;
            box-shadow: $intermediate-color 0.2vw 0.2vw 0.8vw;
        }
    }
}