app chrome changes, added app.macOSEmu()
This commit is contained in:
parent
474084deb8
commit
0d5be827c0
8 changed files with 210 additions and 82 deletions
45
src/renderer/less/macosemu.less
Normal file
45
src/renderer/less/macosemu.less
Normal file
|
@ -0,0 +1,45 @@
|
|||
#app.macosemu {
|
||||
|
||||
|
||||
|
||||
.app-chrome .app-chrome-item > .window-controls-macos {
|
||||
@controlSize: 12px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 96px;
|
||||
@closeClr: rgb(255, 92, 92);
|
||||
@minmaxClr: rgb(77, 202, 77);
|
||||
@minClr: rgb(255, 189, 76);
|
||||
@borderDarken: 55%;
|
||||
|
||||
div {
|
||||
margin: 4px;
|
||||
background-color: red;
|
||||
border-radius: 100%;
|
||||
flex: 0 0 auto;
|
||||
background-image: unset !important;
|
||||
//border: 1px solid white;
|
||||
&.close {
|
||||
box-shadow: 0px 0px 0px 1px darken(@closeClr, @borderDarken);
|
||||
background-color: @closeClr;
|
||||
width: @controlSize;
|
||||
height: @controlSize;
|
||||
}
|
||||
|
||||
&.minimize {
|
||||
box-shadow: 0px 0px 0px 1px darken(@minClr, @borderDarken);
|
||||
background-color: @minClr;
|
||||
width: @controlSize;
|
||||
height: @controlSize;
|
||||
}
|
||||
|
||||
&.minmax {
|
||||
box-shadow: 0px 0px 0px 1px darken(@minmaxClr, 45%);
|
||||
background-color: @minmaxClr;
|
||||
width: @controlSize;
|
||||
height: @controlSize;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue