Skip to content

Commit 7921ef0

Browse files
committed
2.0 - Small fixes
1 parent 72c3874 commit 7921ef0

File tree

1 file changed

+46
-25
lines changed

1 file changed

+46
-25
lines changed

dist/assets/css/main.css

Lines changed: 46 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,60 +1094,76 @@ input[type="radio"]:checked + label .round-check:after {
10941094
color: rgba(255, 255, 255, 0.7);
10951095
}
10961096

1097-
.mac-controls {
1097+
.linux-controls {
10981098
display: none;
10991099
position: absolute;
11001100
left: 10px;
1101-
top: 10px;
1101+
top: 7px;
11021102
z-index: 9999;
11031103
}
11041104

1105-
.mac-controls button {
1105+
.linux-controls button {
11061106
background: transparent;
11071107
border: none;
11081108
outline: 0;
11091109
display: block;
11101110
height: 14px;
11111111
width: 14px;
11121112
padding: 0;
1113+
border-radius: 50%;
11131114
cursor: pointer;
11141115
}
11151116

1116-
.mac-controls button + button {
1117+
.linux-controls button + button {
11171118
margin-left: 5px;
11181119
}
11191120

1120-
#mac-close {
1121-
background-image: url("../img/ui/mac-sprites.png");
1122-
background-size: 62px auto;
1123-
background-position: 0 0;
1124-
background-repeat: no-repeat;
1121+
.app-mac #linux-close {
1122+
background-color: #fc5753;
11251123
}
11261124

1127-
#mac-close:active {
1128-
background-position: 0 -16px;
1125+
.app-mac #linux-close:active {
1126+
background-color: #F53B38;
11291127
}
11301128

1131-
#mac-minimize {
1132-
background-image: url("../img/ui/mac-sprites.png");
1133-
background-size: 62px auto;
1134-
background-position: -16px 0;
1135-
background-repeat: no-repeat;
1129+
.app-mac #linux-minimize {
1130+
background-color: #fdbc40;
11361131
}
11371132

1138-
#mac-minimize:active {
1139-
background-position: -16px -16px;
1133+
.app-mac #linux-minimize:active {
1134+
background-color: #FC9F00;
11401135
}
11411136

1142-
#mac-maximize {
1143-
background-image: url("../img/ui/mac-sprites.png");
1144-
background-size: 62px auto;
1145-
background-position: -32px 0;
1146-
background-repeat: no-repeat;
1137+
.app-mac #linux-maximize {
1138+
background-color: #33c748;
1139+
}
1140+
1141+
.app-mac #linux-maximize:active {
1142+
background-color: #23A134;
1143+
}
1144+
1145+
.app-linux #linux-close {
1146+
background-color: #fc5753;
1147+
}
1148+
1149+
.app-linux #linux-close:active {
1150+
background-color: #F53B38;
11471151
}
11481152

1149-
#mac-maximize:active {
1150-
background-position: -32px -16px;
1153+
.app-linux #linux-minimize {
1154+
background-color: #585869;
1155+
}
1156+
1157+
.app-linux #linux-minimize:active {
1158+
background-color: #464657;
1159+
}
1160+
1161+
.app-linux #linux-maximize {
1162+
background-color: #4f4f54;
1163+
}
1164+
1165+
.app-linux #linux-maximize:active {
1166+
background-color: #38383D;
11511167
}
11521168

11531169
.win-controls {
@@ -2440,3 +2456,8 @@ iframe {
24402456
.app-win .win-controls {
24412457
display: flex;
24422458
}
2459+
2460+
.app-linux .linux-controls,
2461+
.app-mac .linux-controls {
2462+
display: flex;
2463+
}

0 commit comments

Comments
 (0)