Rounded settings page

master
David Benqué 3 years ago
parent 789d11e7fe
commit 612467ed92

@ -17,6 +17,9 @@
border-top: 1px solid @cp_context-border; border-top: 1px solid @cp_context-border;
} }
} }
.dropdown-menu {
padding: 6px 0px;
}
li { li {
padding: 0; padding: 0;
font-size: @colortheme_app-font-size; font-size: @colortheme_app-font-size;
@ -39,7 +42,7 @@
top: -0.7rem; top: -0.7rem;
left: 100%; left: 100%;
background-color: @cp_context-bg; background-color: @cp_context-bg;
border-radius: 0px; border-radius: @variables_radius;
border: 1px solid @cp_context-border; border: 1px solid @cp_context-border;
} }
} }

@ -5,10 +5,11 @@
.leftside-menu-category_main() { .leftside-menu-category_main() {
.unselectable_make(); .unselectable_make();
padding: 5px; padding: 5px;
margin: 15px 0; margin: 10px 0;
cursor: pointer; cursor: pointer;
height: @variables_bar-height; height: @variables_bar-height;
border-radius: @variables_radius; border-radius: @variables_radius;
background-color: @cp_sidebar-left-item-bg;
.fa, .cptools { .fa, .cptools {
display: inline-flex; display: inline-flex;
justify-content: center; justify-content: center;

@ -24,12 +24,14 @@
background: @cp_sidebar-left-bg; background: @cp_sidebar-left-bg;
display: flex; display: flex;
flex-flow: column; flex-flow: column;
padding: 0px 5px;
.cp-sidebarlayout-categories { .cp-sidebarlayout-categories {
flex: 1; flex: 1;
.cp-sidebarlayout-category { .cp-sidebarlayout-category {
display: flex; display: flex;
align-items: center; align-items: center;
.leftside-menu-category_main(); .leftside-menu-category_main();
box-shadow: 0px 0px 5px 1px #00000030; // XXX
} }
} }
&.cp-leftside-narrow { &.cp-leftside-narrow {
@ -111,10 +113,12 @@
//border-radius: 0.25em 0 0 0.25em; //border-radius: 0.25em 0 0 0.25em;
border: 1px solid @cryptpad_color_grey_500; border: 1px solid @cryptpad_color_grey_500;
border-right: 0px; border-right: 0px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
} }
button { button {
//border-radius: 0 0.25em 0.25em 0; border-top-left-radius: 0px;
//border: 1px solid #adadad; border-bottom-left-radius: 0px;
border-left: 0px; border-left: 0px;
height: 40px; height: 40px;
margin: 0 !important; margin: 0 !important;

@ -1449,7 +1449,7 @@ define([
$('<label>').text(Messages.settings_codeIndentation).appendTo($div); $('<label>').text(Messages.settings_codeIndentation).appendTo($div);
var $inputBlock = $('<div>', { var $inputBlock = $('<div>', {
'class': 'cp-sidebarlayout-input-block', 'class': 'cp-sidebarlayout-input',
}).appendTo($div); }).appendTo($div);
var $input = $('<input>', { var $input = $('<input>', {
@ -1544,7 +1544,7 @@ define([
$('<label>').text(Messages.settings_codeFontSize).appendTo($div); $('<label>').text(Messages.settings_codeFontSize).appendTo($div);
var $inputBlock = $('<div>', { var $inputBlock = $('<div>', {
'class': 'cp-sidebarlayout-input-block', 'class': 'cp-sidebarlayout-input',
}).appendTo($div); }).appendTo($div);
var $input = $('<input>', { var $input = $('<input>', {

Loading…
Cancel
Save