diff --git a/nummi/main/static/main/css/chart.css b/nummi/main/static/main/css/chart.css index 9535e49..3810285 100644 --- a/nummi/main/static/main/css/chart.css +++ b/nummi/main/static/main/css/chart.css @@ -36,8 +36,8 @@ .chart .left .bar.tot {right: 0} .chart .right .bar.tot {left: 0} -.chart .left .bar {border-radius: 2px 0 0 2px} -.chart .right .bar {border-radius: 0 2px 2px 0} +.chart .left .bar {border-radius: var(--radius) 0 0 var(--radius)} +.chart .right .bar {border-radius: 0 var(--radius) var(--radius) 0} .chart .bar_m {background: var(--red)} .chart .bar_p {background: var(--green)} diff --git a/nummi/main/static/main/css/form.css b/nummi/main/static/main/css/form.css index a29048f..854d98d 100644 --- a/nummi/main/static/main/css/form.css +++ b/nummi/main/static/main/css/form.css @@ -52,7 +52,7 @@ form input[type="file"] { border: 0; background: var(--bg-01); cursor: pointer; - border-radius: 2px; + border-radius: var(--radius); } form > .buttons input { margin-left: var(--gap); diff --git a/nummi/main/static/main/css/main.css b/nummi/main/static/main/css/main.css index 222136b..1445adb 100644 --- a/nummi/main/static/main/css/main.css +++ b/nummi/main/static/main/css/main.css @@ -28,6 +28,8 @@ --red: #bf1500; --green: var(--theme-2); + + --radius: 2px; } body { diff --git a/nummi/main/static/main/css/table.css b/nummi/main/static/main/css/table.css index 0e42b34..84ebe3c 100644 --- a/nummi/main/static/main/css/table.css +++ b/nummi/main/static/main/css/table.css @@ -1,7 +1,7 @@ .table { display: grid; margin: 2em 0; - border-radius: 1em 0 1em 0; + border-radius: var(--radius); overflow: hidden; border-bottom: .5em solid var(--bg-inv); }