diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index 1f005989d..2d2f3ba8c 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -72,6 +72,7 @@ code { white-space: normal; } -/* Bootstrap assumes that checkboxes are on the left of labels, while it's usually the opposite in Red */ -.field.checkbox input[type="checkbox"] { margin-left: 0px; } -.field.checkbox label { padding-left: 0px; font-weight: 700} +.form-group label { + font-weight: bold; +padding-left: 0px; +} diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index f96bd8dda..1e8d18269 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -117,7 +117,7 @@ a:focus, } input, optgroup, select, textarea { - color: $font_colour; + font-size: 0.9rem !important; resize: vertical; } @@ -1059,8 +1059,6 @@ img.mail-conv-sender-photo { height: $reply_photo; } - - .wall-item-ago, .dropdown-sub-text { color: #777; @@ -1480,17 +1478,17 @@ dl.bb-dl > dd > li { /* Turn checkboxes into switches */ -.field.checkbox > div { +.form-group.checkbox > div { position: relative; width: 60px; -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none; display:inline-block; } -.field.checkbox input { +.form-group.checkbox input { display: none; } -.field.checkbox > div label { +.form-group.checkbox > div label { display: block; overflow: hidden; cursor: pointer; border: 1px solid #ccc; border-radius: 4px; @@ -1500,11 +1498,11 @@ dl.bb-dl > dd > li { transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; } -.field.checkbox:hover label { +.form-group.checkbox:hover label { color: $link_colour; } -.field.checkbox:hover > div label { +.form-group.checkbox:hover > div label { border-color: $link_colour; } @@ -1543,11 +1541,11 @@ dl.bb-dl > dd > li { -o-transition: all 0.3s ease-in 0s; transition: all 0.3s ease-in 0s; } -.field.checkbox > div > input:checked + label .onoffswitch-inner { +.form-group.checkbox > div > input:checked + label .onoffswitch-inner { margin-left: 0px; } -.field.checkbox > div > input:checked + label .onoffswitch-switch { +.form-group.checkbox > div > input:checked + label .onoffswitch-switch { right: 0px; background-color: #0275d8; } diff --git a/view/tpl/acl_selector.tpl b/view/tpl/acl_selector.tpl index e0b31162a..f4f851c8a 100755 --- a/view/tpl/acl_selector.tpl +++ b/view/tpl/acl_selector.tpl @@ -32,7 +32,7 @@