From 235c920fe0b3aa4704637a3ab5d55feaed24071a Mon Sep 17 00:00:00 2001 From: vapormusic Date: Wed, 2 Feb 2022 23:54:24 +0700 Subject: [PATCH] mac stoplights --- src/renderer/style.less | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/src/renderer/style.less b/src/renderer/style.less index 76077d6b..457d270c 100644 --- a/src/renderer/style.less +++ b/src/renderer/style.less @@ -1069,6 +1069,44 @@ input[type=range].web-slider::-webkit-slider-runnable-track { height: 100%; } +body[platform="darwin"] .app-chrome .app-chrome-item > .window-controls > div.minimize { + height: 12px; + width: 12px; + background-color: rgb(0, 202, 86); + border-radius: 50%; + display: inline-block; + margin: auto 4px; + color: rgb(130, 0, 5); + -webkit-app-region: no-drag; + background-image: unset; +} + +body[platform="darwin"] .app-chrome .app-chrome-item > .window-controls { + width: 67px; +} + +body[platform="darwin"] .app-chrome .app-chrome-item > .window-controls > div.minmax { + height: 12px; + width: 12px; + background-color: rgb(255, 189, 76); + border-radius: 50%; + display: inline-block; + margin: auto 4px; + -webkit-app-region: no-drag; + background-image: unset; +} + +body[platform="darwin"] .app-chrome .app-chrome-item > .window-controls > div.close { + height: 12px; + width: 12px; + background-color: rgb(255, 92, 92); + border-radius: 50%; + display: inline-block; + margin: auto 4px auto 4px; + -webkit-app-region: no-drag; + background-image: unset; +} + .app-chrome .app-chrome-item.playback-controls { width: 80%; height: 90%;