-
Notifications
You must be signed in to change notification settings - Fork 7
/
window-buttons-macos.css
62 lines (61 loc) · 1.88 KB
/
window-buttons-macos.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
/*
Window buttons mod for macOS
https://forum.vivaldi.net/topic/33606/window-buttons-mod-for-macos
Changes the shape of unhovered window buttons on macOS. A version for Windows is available in the topic.
*/
#browser.mac .window-buttongroup button svg {
display: none;
}
#browser.mac #titlebar {
height: 100%;
}
#browser.mac .window-buttongroup {
-webkit-app-region: no-drag;
height: 100%;
margin: 0;
padding: 14px 8px 0;
}
#browser.mac #titlebar.tabless .window-buttongroup {
margin-top: 0px;
padding-top: 5px;
}
.stacks-off.fullscreen#browser.mac .window-buttongroup, .tabs-at-edge#browser.mac .window-buttongroup {
margin-top: 0px;
padding-top: 9px;
}
#browser.mac .window-buttongroup button {
margin-top: 3px;
height: 6px;
width: 12px;
opacity: 0.2;
background-color: var(--colorFg);
border: 1px solid rgba(0, 0, 0, 0.15);
border-radius: 2px;
transition-duration: 150ms;
transition-property: margin, height, border-radius;
}
#browser.mac .window-buttongroup:hover button {
margin-top: 0px;
height: 12px;
border-radius: 50%;
}
:not(.fullscreen).hasfocus#browser.mac .window-buttongroup.graphite button.window-minimize, .hasfocus#browser.mac .window-buttongroup.graphite button.window-maximize, .hasfocus#browser.mac .window-buttongroup.graphite button.window-close {
opacity: 1;
background-color: #8e8e93;
border-color: #727277;
}
:not(.fullscreen).hasfocus#browser.mac .window-buttongroup:not(.graphite) button.window-minimize {
opacity: 1;
background-color: #f7bb3f;
border-color: #dc9e34;
}
.hasfocus#browser.mac .window-buttongroup:not(.graphite) button.window-maximize {
opacity: 1;
background-color: #34c749;
border-color: #1fa42d;
}
.hasfocus#browser.mac .window-buttongroup:not(.graphite) button.window-close {
opacity: 1;
background-color: #f8625e;
border-color: #de4947;
}