cryptpad/www/settings/main.less

129 lines
3.5 KiB
Plaintext
Raw Normal View History

@import '/customize/src/less/variables.less';
2017-07-10 16:29:23 +00:00
@import '/customize/src/less/mixins.less';
2017-02-14 18:07:17 +00:00
@border: 1px solid #555;
2017-07-10 16:29:23 +00:00
@leftside-bg: #eee;
@leftside-color: #000;
@rightside-color: #000;
@description-color: #777;
@button-width: 400px;
@button-bg: #3066e5;
@button-alt-bg: #fff;
@button-red-bg: #e54e4e;
2017-02-14 18:07:17 +00:00
.cp {
input[type="text"] {
padding-left: 10px;
}
2017-07-10 16:29:23 +00:00
#container {
font-size: 16px;
display: flex;
flex: 1;
min-height: 0;
#leftSide {
color: @leftside-color;
width: 250px;
background: @leftside-bg;
display: flex;
flex-flow: column;
.categories {
flex: 1;
.category {
2017-07-11 09:57:14 +00:00
.leftsideCategory();
2017-07-10 16:29:23 +00:00
}
}
}
#rightSide {
2017-07-11 11:11:16 +00:00
flex: 1;
2017-07-10 16:29:23 +00:00
padding: 5px 20px;
color: @rightside-color;
overflow: auto;
.element {
label:not(.noTitle), .label {
display: block;
2017-02-14 18:07:17 +00:00
font-weight: bold;
2017-07-10 16:29:23 +00:00
margin-bottom: 0;
2017-02-14 18:07:17 +00:00
}
2017-07-10 16:29:23 +00:00
.description {
display: block;
color: @description-color;
margin-bottom: 5px;
}
margin-bottom: 20px;
}
[type="text"], button {
vertical-align: middle;
height: 40px;
box-sizing: border-box;
2017-02-14 18:07:17 +00:00
}
2017-07-10 16:29:23 +00:00
.userFeedback {
input {
2017-02-14 18:07:17 +00:00
vertical-align: middle;
2017-07-10 16:29:23 +00:00
margin-right: 5px;
}
}
.languageSelector {
button.btn {
width: @button-width;
background-color: @button-alt-bg;
border-color: #adadad;
color: black;
&:hover {
background-color: darken(@button-alt-bg, 15%);
}
}
}
.infoBlock {
[type="text"] {
width: @button-width;
}
}
.inputBlock {
display: inline-flex;
width: @button-width;
input {
flex: 1;
border-radius: 0.25em 0 0 0.25em;
border: 1px solid #adadad;
border-right: 0px;
}
button {
border-radius: 0 0.25em 0.25em 0;
//border: 1px solid #adadad;
border-left: 0px;
2017-02-14 18:07:17 +00:00
}
}
.backupDrive {
button {
span.fa {
margin-right: 5px;
}
margin-right: 5px;
}
2017-02-14 18:07:17 +00:00
}
2017-07-10 16:29:23 +00:00
button.btn {
background-color: @button-bg;
border-color: darken(@button-bg, 10%);
color: white;
&:hover {
background-color: darken(@button-bg, 10%);
}
&.btn-danger {
background-color: @button-red-bg;
border-color: darken(@button-red-bg, 10%);
color: white;
&:hover {
background-color: darken(@button-red-bg, 10%);
}
}
}
2017-02-14 18:07:17 +00:00
&>div {
margin: 10px 0;
}
}
}
}