From 789d11e7fe0ca909530a514ab8789a71d312122c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Mon, 7 Feb 2022 14:58:47 +0000 Subject: [PATCH] Rounded limit bar --- customize.dist/src/less2/include/colortheme.less | 2 +- customize.dist/src/less2/include/limit-bar.less | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/customize.dist/src/less2/include/colortheme.less b/customize.dist/src/less2/include/colortheme.less index 9063af5fc..c34df76dc 100644 --- a/customize.dist/src/less2/include/colortheme.less +++ b/customize.dist/src/less2/include/colortheme.less @@ -268,7 +268,7 @@ // Limit @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-warning: @cryptpad_color_orange; @cp-limit-bar-above: @cryptpad_color_red; diff --git a/customize.dist/src/less2/include/limit-bar.less b/customize.dist/src/less2/include/limit-bar.less index 324daf722..a219674ba 100644 --- a/customize.dist/src/less2/include/limit-bar.less +++ b/customize.dist/src/less2/include/limit-bar.less @@ -1,4 +1,5 @@ @import (reference) "./colortheme-all.less"; +@import (reference) "./variables.less"; .limit-bar_main () { --LessLoader_require: LessLoader_currentFile(); @@ -23,6 +24,7 @@ width: ~"calc(100% - 10px)"; height: 10px; overflow: hidden; + border-radius: @variables_radius; .cp-limit-usage { height: 10px; display: inline-block; @@ -65,7 +67,7 @@ padding-bottom: 0; justify-content: center; flex: 1; - border-radius: 0px; + border-radius: @variables_radius; } } }