Rounded limit bar

master
David Benqué 3 years ago
parent 5cc163baf1
commit 789d11e7fe

@ -268,7 +268,7 @@
// Limit // Limit
@cp_limit-fg: @cryptpad_text_col; @cp_limit-fg: @cryptpad_text_col;
@cp-limit-bar-bg: @cryptpad_color_white; @cp-limit-bar-bg: @cryptpad_color_grey_200;
@cp-limit-bar-normal: @cryptpad_color_green; @cp-limit-bar-normal: @cryptpad_color_green;
@cp-limit-bar-warning: @cryptpad_color_orange; @cp-limit-bar-warning: @cryptpad_color_orange;
@cp-limit-bar-above: @cryptpad_color_red; @cp-limit-bar-above: @cryptpad_color_red;

@ -1,4 +1,5 @@
@import (reference) "./colortheme-all.less"; @import (reference) "./colortheme-all.less";
@import (reference) "./variables.less";
.limit-bar_main () { .limit-bar_main () {
--LessLoader_require: LessLoader_currentFile(); --LessLoader_require: LessLoader_currentFile();
@ -23,6 +24,7 @@
width: ~"calc(100% - 10px)"; width: ~"calc(100% - 10px)";
height: 10px; height: 10px;
overflow: hidden; overflow: hidden;
border-radius: @variables_radius;
.cp-limit-usage { .cp-limit-usage {
height: 10px; height: 10px;
display: inline-block; display: inline-block;
@ -65,7 +67,7 @@
padding-bottom: 0; padding-bottom: 0;
justify-content: center; justify-content: center;
flex: 1; flex: 1;
border-radius: 0px; border-radius: @variables_radius;
} }
} }
} }

Loading…
Cancel
Save