From e467cf5ec208f7c316921e685aa8e04e8a3d209b Mon Sep 17 00:00:00 2001 From: eli Date: Tue, 5 Oct 2021 23:29:46 +0100 Subject: [PATCH] [CSS] Fixed: note actions size. --- public/assets/default_theme/css/colors.css | 5 +++-- .../assets/default_theme/css/pages/feeds.css | 8 +++----- .../default_theme/css/widgets/buttons.css | 18 +++++++++++------- 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/public/assets/default_theme/css/colors.css b/public/assets/default_theme/css/colors.css index 0864a5b40d..2f2b65cfcf 100644 --- a/public/assets/default_theme/css/colors.css +++ b/public/assets/default_theme/css/colors.css @@ -17,6 +17,7 @@ box-shadow: inset 0 0 0 2px #8081BA; } #header, + .accessibility-menu, .header-extra-forms-open, .section-title-details, .set-background-color-hard, @@ -128,7 +129,7 @@ .section-widget, .set-border-soft, button, - input:not([type=checkbox], [type=radio]), + input, select, textarea { border: 2px solid #46465E !important; @@ -181,6 +182,7 @@ box-shadow: inset 0 0 0 2px #2e3440; } #header, + .accessibility-menu, .header-extra-forms-open, .section-title-details, .set-background-color-hard, @@ -297,7 +299,6 @@ .set-border-soft, button, input, - input[type=radio], select, textarea { border: 2px solid #4c566a66 !important; diff --git a/public/assets/default_theme/css/pages/feeds.css b/public/assets/default_theme/css/pages/feeds.css index a78b1dd458..f3102a5170 100644 --- a/public/assets/default_theme/css/pages/feeds.css +++ b/public/assets/default_theme/css/pages/feeds.css @@ -81,13 +81,11 @@ all: unset } .button-container { - all: unset; border: none !important; - background-repeat: no-repeat !important; - width: 1em !important; - height: 1em !important; + border-radius: unset !important; margin-left: 0.6rem; - text-indent: -9999em + width: 1rem; + height: 1rem; } .button-container:hover, .button-container:focus { diff --git a/public/assets/default_theme/css/widgets/buttons.css b/public/assets/default_theme/css/widgets/buttons.css index 65a7666cec..72dab29c99 100644 --- a/public/assets/default_theme/css/widgets/buttons.css +++ b/public/assets/default_theme/css/widgets/buttons.css @@ -23,8 +23,8 @@ input[type=radio] { all: unset; display: inline-block; cursor: pointer !important; - width: 1em !important; - height: 1em !important; + width: 1rem !important; + height: 1rem !important; } input[type=checkbox]:not(:hover, :focus), input[type=radio]:not(:hover, :focus) { @@ -102,11 +102,10 @@ input[type=radio] { border: solid 0.25em !important; } input[type=checkbox] { - vertical-align: middle; - -webkit-background-size: cover; - -moz-background-size: cover; - -o-background-size: cover; - background-size: cover; + -webkit-background-size: 100%; + -moz-background-size: 100%; + -o-background-size: 100%; + background-size: 100%; margin-right: 2px; -webkit-mask-image: url("../../icons/check-off.svg") !important; -o-mask-image: url("../../icons/check-off.svg") !important; @@ -144,4 +143,9 @@ input[type=file] { ::file-selector-button { font-family: 'Open Sans', sans-serif !important; font-weight: bold !important; +} + +input[type=checkbox], +input[type=radio] { + border: unset !important; } \ No newline at end of file