forked from Offroaders123/Dovetail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
102 lines (88 loc) · 1.74 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
*, *::before, *::after {
box-sizing: border-box;
}
html {
height: 100%;
overflow: hidden;
}
body {
margin: 0;
position: fixed;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
font-family: system-ui, sans-serif;
-webkit-user-select: none;
user-select: none;
}
body > * {
flex-shrink: 0;
}
header {
padding: 0.5rem;
display: flex;
align-items: center;
gap: 0.5em;
border: 0 solid transparent;
border-left-width: env(safe-area-inset-left);
border-right-width: env(safe-area-inset-right);
}
@media (display-mode: window-controls-overlay) {
header {
min-height: env(titlebar-area-height);
background: #445985;
border-left-width: env(titlebar-area-x);
border-top-width: env(titlebar-area-y);
-webkit-app-region: drag;
}
header button {
-webkit-app-region: no-drag;
}
}
input[type="file"] {
display: none;
}
textarea {
margin: 0;
padding: 8px;
flex-grow: 1;
font-size: 13px;
font-family: ui-monospace, "Noto Sans Mono", "Cousine", monospace;
line-height: 1.4;
caret-color: currentColor;
background: #aaaaaa40;
border: 0 solid transparent;
border-left-width: env(safe-area-inset-left);
border-right-width: env(safe-area-inset-right);
border-top: 1px solid #80808080;
border-bottom-width: env(safe-area-inset-bottom);
border-radius: 0;
outline: none;
resize: none;
}
textarea[disabled] {
opacity: unset;
}
::placeholder {
color: inherit;
opacity: 0.55;
white-space: pre-wrap;
}
[disabled]::placeholder {
opacity: 0.5;
}
dialog {
-webkit-user-select: none;
user-select: none;
}
dialog-header {
display: flex;
justify-content: space-between;
align-items: center;
}
form {
display: flex;
gap: 0.75rem;
flex-direction: column;
}