From c219a8b53269c590638bf00d4af20332c09e98aa Mon Sep 17 00:00:00 2001 From: codl Date: Wed, 25 Apr 2018 13:59:53 +0200 Subject: [PATCH] unify the look of radiostrips and the other buttons --- assets/styles.css | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/assets/styles.css b/assets/styles.css index 1b9e102..aedba01 100644 --- a/assets/styles.css +++ b/assets/styles.css @@ -280,10 +280,24 @@ section > pre.error-log { padding: .3em .5em; cursor: pointer; user-select: none; - background-color: #ededed; + background-color: transparent; + border: 1px solid rgba(0,0,0,0.3); +} + +.radiostrip label:first-of-type { + border-radius: .2rem 0 0 .2rem; +} + +.radiostrip label:last-of-type { + border-radius: 0 .2rem .2rem 0; +} + +.radiostrip label:not(:first-of-type) { + border-left-color: transparent; } .radiostrip label:not(:last-of-type) { + border-right-color: transparent; margin-right: 1px; } @@ -294,4 +308,5 @@ section > pre.error-log { .radiostrip input[type=radio]:checked + label { background: #37d; color: white; + border-color: transparent; }