|
|
@ -15,6 +15,7 @@
|
|
|
|
@bg-color: @colortheme_apps[default], // color of the toolbar background
|
|
|
|
@bg-color: @colortheme_apps[default], // color of the toolbar background
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
@toolbar-bg-color: @bg-color;
|
|
|
|
@toolbar-bg-color: @bg-color;
|
|
|
|
|
|
|
|
@toolbar-bg-color-fade: fade(@toolbar-bg-color, 70%);
|
|
|
|
@desat-color: desaturate(@bg-color, 20%);
|
|
|
|
@desat-color: desaturate(@bg-color, 20%);
|
|
|
|
@toolbar-bg-color-light: contrast(@cp_toolbar-fg, lighten(@bg-color, 30%), darken(@desat-color, 20%));
|
|
|
|
@toolbar-bg-color-light: contrast(@cp_toolbar-fg, lighten(@bg-color, 30%), darken(@desat-color, 20%));
|
|
|
|
@toolbar-bg-color-active: contrast(@cp_toolbar-fg, lighten(@bg-color, 20%), darken(@desat-color, 10%));
|
|
|
|
@toolbar-bg-color-active: contrast(@cp_toolbar-fg, lighten(@bg-color, 20%), darken(@desat-color, 10%));
|
|
|
@ -27,6 +28,7 @@
|
|
|
|
.toolbar_vars(@bg-color);
|
|
|
|
.toolbar_vars(@bg-color);
|
|
|
|
|
|
|
|
|
|
|
|
--toolbar-bg-color: @toolbar-bg-color;
|
|
|
|
--toolbar-bg-color: @toolbar-bg-color;
|
|
|
|
|
|
|
|
--toolbar-bg-color-fade: @toolbar-bg-color-fade;
|
|
|
|
--toolbar-bg-color-light: @toolbar-bg-color-light;
|
|
|
|
--toolbar-bg-color-light: @toolbar-bg-color-light;
|
|
|
|
--toolbar-bg-color-active: @toolbar-bg-color-active;
|
|
|
|
--toolbar-bg-color-active: @toolbar-bg-color-active;
|
|
|
|
|
|
|
|
|
|
|
@ -392,7 +394,6 @@
|
|
|
|
//display: inline-block;
|
|
|
|
//display: inline-block;
|
|
|
|
button {
|
|
|
|
button {
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
margin: 0;
|
|
|
|
background: transparent;
|
|
|
|
background: transparent;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -896,7 +897,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.cp-toolbar-history, .cp-toolbar-snapshots {
|
|
|
|
.cp-toolbar-history, .cp-toolbar-snapshots {
|
|
|
|
background-color: @toolbar-bg-color-light;
|
|
|
|
background-color: @toolbar-bg-color-light; // XXX NOW
|
|
|
|
background-color: var(--toolbar-bg-color-light);
|
|
|
|
background-color: var(--toolbar-bg-color-light);
|
|
|
|
color: @toolbar-color;
|
|
|
|
color: @toolbar-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -935,24 +936,9 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.cp-toolbar-bottom {
|
|
|
|
.cp-toolbar-bottom {
|
|
|
|
background-color: @toolbar-bg-color-light;
|
|
|
|
|
|
|
|
background-color: var(--toolbar-bg-color-light);
|
|
|
|
|
|
|
|
color: @cp_toolbar-bottom-fg;
|
|
|
|
color: @cp_toolbar-bottom-fg;
|
|
|
|
button:hover, button.cp-toolbar-button-active {
|
|
|
|
|
|
|
|
background-color: @toolbar-bg-color-active;
|
|
|
|
|
|
|
|
background-color: var(--toolbar-bg-color-active);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
button.cp-toolbar-button-active {
|
|
|
|
|
|
|
|
border-color: @toolbar-bg-color-active;
|
|
|
|
|
|
|
|
border-color: var(--toolbar-bg-color-active);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
button:hover, button:focus {
|
|
|
|
|
|
|
|
border-color: @toolbar-bg-color-active;
|
|
|
|
|
|
|
|
border-color: var(--toolbar-bg-color-active);
|
|
|
|
|
|
|
|
//border-color: @cryptpad_text_col;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
|
|
margin: 5px 0px;
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
justify-content: space-between;
|
|
|
|
max-width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
@ -967,18 +953,45 @@
|
|
|
|
margin: 5px 0px;
|
|
|
|
margin: 5px 0px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
button {
|
|
|
|
button {
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border: 1px solid @cp_toolbar-bottom-fg;
|
|
|
|
|
|
|
|
background-color: @cp_toolbar-bottom-fg;
|
|
|
|
|
|
|
|
color: @cp_toolbar-fg-inv;
|
|
|
|
|
|
|
|
//border-color: var(--toolbar-bg-color-active);
|
|
|
|
box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
|
margin: 0px;
|
|
|
|
margin: 0px;
|
|
|
|
border-radius: 0;
|
|
|
|
border-radius: @variables_radius;
|
|
|
|
height: @toolbar_line-height;
|
|
|
|
height: @toolbar_line-height;
|
|
|
|
display: inline-flex;
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
align-items: center;
|
|
|
|
.fa, .cptools {
|
|
|
|
.fa, .cptools {
|
|
|
|
margin-right: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
|
|
background-color: fade(@cp_toolbar-bottom-fg, 70%);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
button.cp-toolbar-button-active {
|
|
|
|
|
|
|
|
background-color: @cp_toolbar-bg;
|
|
|
|
|
|
|
|
border-color: @cp_toolbar-bottom-fg;
|
|
|
|
|
|
|
|
color: @cp_toolbar-bottom-fg;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
|
|
background-color: fade(@cp_toolbar-bottom-fg, 30%);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
button.cp-toolbar-button-primary {
|
|
|
|
|
|
|
|
background-color: @toolbar-bg-color;
|
|
|
|
|
|
|
|
background-color: var(--toolbar-bg-color);
|
|
|
|
|
|
|
|
border-color: @toolbar-bg-color;
|
|
|
|
|
|
|
|
border-color: var(--toolbar-bg-color);
|
|
|
|
|
|
|
|
color: @cp_toolbar-fg-inv;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
|
|
|
background-color: fade(@toolbar-bg-color, 70%);
|
|
|
|
|
|
|
|
background-color: var(--toolbar-bg-color-fade);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
button.cp-toolbar-collapse {
|
|
|
|
button.cp-toolbar-collapse {
|
|
|
|
/*
|
|
|
|
/*
|
|
|
@ -1013,14 +1026,25 @@
|
|
|
|
.cp-toolbar-bottom-left {
|
|
|
|
.cp-toolbar-bottom-left {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
order: 1;
|
|
|
|
order: 1;
|
|
|
|
|
|
|
|
padding-left: 5px;
|
|
|
|
|
|
|
|
button {
|
|
|
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.cp-toolbar-bottom-mid {
|
|
|
|
.cp-toolbar-bottom-mid {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
order: 2;
|
|
|
|
order: 2;
|
|
|
|
|
|
|
|
button {
|
|
|
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.cp-toolbar-bottom-right {
|
|
|
|
.cp-toolbar-bottom-right {
|
|
|
|
order: 3;
|
|
|
|
order: 3;
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
padding-right: 5px;
|
|
|
|
|
|
|
|
button {
|
|
|
|
|
|
|
|
margin-left: 5px;
|
|
|
|
|
|
|
|
}
|
|
|
|
#cp-toolbar-chat-drawer-open { order: 0; }
|
|
|
|
#cp-toolbar-chat-drawer-open { order: 0; }
|
|
|
|
#cp-toolbar-userlist-drawer-open { order: 1; }
|
|
|
|
#cp-toolbar-userlist-drawer-open { order: 1; }
|
|
|
|
& > .cp-dropdown-container {
|
|
|
|
& > .cp-dropdown-container {
|
|
|
@ -1091,11 +1115,11 @@
|
|
|
|
top: @toolbar_line-height;
|
|
|
|
top: @toolbar_line-height;
|
|
|
|
margin: -1px;
|
|
|
|
margin: -1px;
|
|
|
|
min-width: 50px;
|
|
|
|
min-width: 50px;
|
|
|
|
background: @cp_dropdown-bg;
|
|
|
|
background: @cp_dropdown-bg; // XXX not applied
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
flex-flow: column;
|
|
|
|
z-index: 10000; //Z cp-toolbar-drawer-content
|
|
|
|
z-index: 10000; //Z cp-toolbar-drawer-content
|
|
|
|
color: @cp_dropdown-fg;
|
|
|
|
color: @cp_dropdown-fg; // XXX not applied
|
|
|
|
.tools_unselectable();
|
|
|
|
.tools_unselectable();
|
|
|
|
.fa {
|
|
|
|
.fa {
|
|
|
|
font-size: 17px;
|
|
|
|
font-size: 17px;
|
|
|
|