forked from zhrexl/DrawOnYourScreen2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylesheet.css
136 lines (106 loc) · 2.95 KB
/
stylesheet.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
/* square area */
.draw-on-your-screen .draw-on-your-screen-square-area {
outline: 2px solid rgba(255, 0, 0, 0.7);
}
.draw-on-your-screen:insensitive .draw-on-your-screen-square-area {
outline: none;
}
/* "Ctrl + F1" on-screen-display */
.draw-on-your-screen-helper {
margin: 0px;
border-radius: 0px;
}
.draw-on-your-screen-helper > StBoxLayout {
margin: 8px;
margin-right: 16px;
spacing: 0.5em;
}
.draw-on-your-screen-helper > StBoxLayout StBoxLayout {
spacing: 7em;
}
.draw-on-your-screen-helper > StBoxLayout StBoxLayout StLabel {
text-align: right;
font-weight: normal;
}
.draw-on-your-screen-helper-separator {
min-height: 0.6em;
}
/* context menu */
.draw-on-your-screen-menu {
font-size: 0.97em; /* default: 1em */
min-width: 21em; /* like the aggregate menu */
}
.draw-on-your-screen-menu .popup-menu-item {
padding-top: .3em; /* default: .4em */
padding-bottom: .3em;
}
.draw-on-your-screen-menu .popup-menu-item > .popup-menu-icon {
icon-size: 1em; /* default: 1.09 */
padding-top: 0.03em;
}
/* max size for uncontrolled contents (font, image and drawing names) */
.draw-on-your-screen-menu-ellipsized {
max-width: 21em;
}
.draw-on-your-screen-menu .toggle-switch {
height: 1.35em; /* default: 22px */
}
.draw-on-your-screen-menu-separator-item {
margin-top: 0;
padding-top: 0.14em;
padding-bottom: 0.14em;
}
.draw-on-your-screen-menu-separator-item StLabel {
font-size: 0;
}
.draw-on-your-screen-menu-separator-item .popup-separator-menu-item {
margin-top: 0.2em; /* default 6px */
margin-bottom: 0.2em; /* default 6px */
}
.draw-on-your-screen-menu-separator-item .popup-separator-menu-item-separator {
background-color: transparent;
}
.draw-on-your-screen-menu-thin-separator-item .popup-separator-menu-item-separator {
margin-top: 0;
}
.draw-on-your-screen-menu-destructive-button:hover {
color: #e01b24; /* upstream destructive color, light: #e01b24, dark: #b2161d */
}
/* override .button upstream style class */
.draw-on-your-screen-menu-action-button {
min-height: 0;
min-width: 0;
border-radius: 32px;
padding: 12px;
}
.draw-on-your-screen-menu-action-button > StIcon {
icon-size: 1em;
}
.draw-on-your-screen-menu-slider-label {
min-width: 3em;
text-align: right;
}
.draw-on-your-screen-menu-entry-item {
padding-right: 1.15em; /* default 1.75em */
spacing: 0; /* default 12px */
}
.draw-on-your-screen-menu-entry {
border: none;
border-radius: 3px;
padding: 0.35em 0.57em;
width: 10em;
}
.draw-on-your-screen-menu-entry-error {
color: #f57900; /* upstream warning_color */
}
.draw-on-your-screen-menu-entry:focus {
padding: 0.35em 0.57em;
}
/* override .button upstream style class */
.draw-on-your-screen-menu-inline-button {
min-height: 1px;
padding: 2px 4px; /* default 3px 24px */
}
.draw-on-your-screen-menu-inline-button .popup-menu-icon {
icon-size: 0.85em; /* default 1.09 */
}