cryptpad/customize.dist/src/toolbar.less

166 lines
3.4 KiB
Plaintext
Raw Normal View History

@import "./variables.less";
2016-08-03 17:00:09 +02:00
.unselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.cryptpad-toolbar {
box-sizing: border-box;
2016-08-03 17:00:09 +02:00
.unselectable;
color: #666;
font-weight: bold;
display: inline-block;
width: 100%;
z-index: 9001;
a {
float: right;
}
div {
padding: 0 3px;
height: 1.5em;
line-height: 25px;
2016-09-27 18:33:03 +02:00
height: 100%;
2016-07-11 17:37:22 +02:00
&.cryptpad-back {
padding: 0;
font-weight: bold;
cursor: pointer;
color: #000;
}
}
button, .rightside-element {
height: 26px;
padding-right: 5px;
padding-left: 5px;
margin: 2px;
}
button {
background-color: inherit;
2016-09-27 18:33:03 +02:00
background-image: linear-gradient(to bottom,#fff,#e4e4e4);
border: 1px solid #A6A6A6;
2016-09-27 18:33:03 +02:00
border-bottom-color: #979797;
border-radius: 3px;
&:hover {
background-image:linear-gradient(to bottom,#f2f2f2,#ccc);
}
&.userlist {
@media screen and (max-width: 800px) {
display: none;
}
@media screen and (min-width: 801px) {
display: inline-block;
}
&.small {
@media screen and (max-width: 800px) {
display: inline-block;
}
@media screen and (min-width: 801px) {
display: none;
}
}
}
}
.rightside-button {
float: right;
cursor: pointer;
}
.leftside-button {
cursor: pointer;
float: left;
}
.rightside-element {
vertical-align: middle;
white-space: nowrap;
//float: right;
}
select {
border: 0px;
margin-left: 5px;
margin-right: 5px;
padding-left: 5px;
border: 1px solid #A6A6A6;
border-bottom-color: #979797;
}
}
.cryptpad-toolbar-leftside {
float: left;
max-width: 35%;
.cryptpad-dropdown-container {
position: relative;
display: inline-block;
padding: 0px;
.cryptpad-dropdown {
z-index:1000;
display:none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
overflow: auto;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
height: auto;
p {
width: 210px;
padding: 0;
margin: 0;
}
}
}
.cryptpad-userbuttons-container {
display: none;
}
}
.cryptpad-toolbar-rightside {
text-align: right;
//float: right;
}
.cryptpad-lag {
float: right;
}
.cryptpad-spinner {
float: left;
display: inline-block;
}
2016-09-26 17:35:27 +02:00
.cryptpad-readonly {
margin-right: 20px;
font-weight: bold;
text-transform: uppercase;
}
.cryptpad-toolbar-username {
}
2016-09-27 18:33:03 +02:00
.lag {
display: inline-block;
vertical-align: middle;
padding: 0 !important;
margin: 0 5px !important;
2016-09-27 18:33:03 +02:00
height: 15px !important;
width: 15px !important;
border-radius: 50%;
border: 1px solid @cp-outline;
}
.lag-green {
background-color: @cp-green;
}
.lag-red {
background-color: @cp-red;
}
.lag-orange {
background-color: @cp-orange;
}