added twopanel directive
This commit is contained in:
parent
d9081e0037
commit
e4030c10c0
6 changed files with 189 additions and 47 deletions
17
src/renderer/less/directives.less
Normal file
17
src/renderer/less/directives.less
Normal file
|
@ -0,0 +1,17 @@
|
|||
#app.twopanel {
|
||||
--chromeHeight1: 42px;
|
||||
--chromeHeight2: 55px;
|
||||
--chromeHeight: calc(var(--chromeHeight1) + var(--chromeHeight2));
|
||||
.app-chrome {
|
||||
.app-mainmenu {
|
||||
width: 88px;
|
||||
}
|
||||
height: var(--chromeHeight1);
|
||||
&.chrome-bottom {
|
||||
height: var(--chromeHeight2);
|
||||
.app-chrome--left {
|
||||
padding-left: 32px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue