forked from 1j01/98
-
Notifications
You must be signed in to change notification settings - Fork 0
/
classic.css
181 lines (175 loc) · 4.35 KB
/
classic.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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
.desktop {
background: var(--Background);
}
.taskbar {
outline: 1px solid var(--ButtonLight);
border-top: 1px solid var(--ButtonHilight);
background: var(--ButtonFace);
color: var(--ButtonText);
}
.taskbar-divider {
border-left: 1px solid var(--ButtonShadow);
border-right: 1px solid var(--ButtonHilight);
}
.taskbar-time {
font-family: sans-serif;
font-family: "MS Sans Serif", "Segoe UI", sans-serif;
font-size: 12px;
}
.start-menu-titlebar {
/* background-image: url("images/start-menu-side.png"); */
/* background-image: url("images/start-menu-side-98-js.png"); */
background-image: url("images/start-menu-side-98-js-alt.png");
background-repeat: no-repeat;
background-position: bottom left;
background-color: #000080;
}
.start-menu li a,
.start-menu .back-link {
display: block;
padding: 5px 0;
color: blue !important; /* regardless of :visited */
}
.start-menu li a:before,
.start-menu .back-link:before,
.the-thing-heading:before {
content: "»";
text-decoration: none;
display: inline-block;
margin-right: 5px;
}
.start-menu .back-link:before {
content: "«"
}
.the-thing-heading {
/* font-size: 1em; */
}
.windows-cant-do-it-you-can {
margin-top: 2em;
/* background: white;
padding: 5px;
border: inset 1px; */
}
.task.selected {
font-weight: bold;
}
.desktop-icon {
position: absolute;
}
.folder-view:not([data-view-mode="DESKTOP"]):not([data-view-mode="LARGE_ICONS"]) .desktop-icon {
display: flex;
flex-direction: row;
width: 150px;
height: 16px;
}
.folder-view[data-view-mode="DESKTOP"] .desktop-icon,
.folder-view[data-view-mode="LARGE_ICONS"] .desktop-icon {
width: 75px;
height: 75px;
}
.desktop-icon .title {
font-family: sans-serif;
font-family: "MS Sans Serif", "Segoe UI", sans-serif;
/*font-size: 10px;*/
font-size: 8pt;
background: var(--Background);
color: white;
position: relative;
}
.folder-view[data-view-mode="DESKTOP"] .desktop-icon .title,
.folder-view[data-view-mode="LARGE_ICONS"] .desktop-icon .title {
margin-top: 5px;
}
.folder-view:not([data-view-mode="DESKTOP"]):not([data-view-mode="LARGE_ICONS"]) .desktop-icon .title {
text-align: start;
white-space: nowrap;
}
.folder-view.focused .desktop-icon.selected .title {
background: var(--Hilight);
color: var(--HilightText);
}
.folder-view.focused .desktop-icon.focused .title::after {
content: "";
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
border: 1px dotted #ffffff;
mix-blend-mode: exclusion;
}
.desktop-icon .icon-wrapper .selection-effect {
display: none;
position: absolute;
left: 0;
top: 0;
width: var(--icon-size, 32px);
height: var(--icon-size, 32px);
mask-image: var(--icon-image);
-webkit-mask-image: var(--icon-image);
background: var(--Hilight);
opacity: 0.5;
}
.folder-view.focused .desktop-icon.selected .icon-wrapper .selection-effect {
display: block;
}
.desktop-icon .icon-wrapper {
position: relative;
}
.desktop-icon.shortcut .icon-wrapper:after {
content: var(--shortcut-icon, url("images/icons/shortcut-32x32.png"));
position: absolute;
left: 0;
top: 0;
}
.folder-view .marquee {
border: 1px dotted #ffffff;
mix-blend-mode: exclusion;
/* TODO: fallback for browsers that don't support mix-blend-mode (something like #FF7F7F)... Edge doesn't support @supports either :/ */
z-index: 1;
}
.help-window .item {
font-family: 'Segoe UI', sans-serif;
font-size: 12px;
padding: 0 2px;
position: relative; /* for ::after */
}
.help-window .item:hover {
text-decoration: underline;
color: #0000FF;
cursor: pointer;
}
.help-window li:before {
background-image: url("../../images/help-icons.png");
}
.help-window:not(.focused) .item.selected {
background-color: var(--ButtonFace);
color: var(--ButtonText); /* ?? */
}
.help-window.focused .item.selected {
background-color: var(--Hilight);
color: var(--HilightText);
/* @TODO: separate focus state of the item */
outline: 1px dotted black;
outline-offset: -1px;
}
/* @TODO: separate focus state of the item; while mouse down, the main highlight does not move with the arrow keys but this does, among other differences */
/* .help-window.focused .item.selected::after {
content: "";
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
border: 1px dotted white;
mix-blend-mode: difference;
} */
* {
image-rendering: crisp-edges;
image-rendering: pixelated;
}
.menu-hotkey {
/* TODO: remove once this is in os-gui */
text-decoration-skip: none;
text-decoration-skip-ink: none;
}