Fix #81 missing top checkboxes on Firefox
- Use position: absolute on inputs instead of float - Unify mixins to check for checkboxes and radioes - Improve checkbox layout in few places
This commit is contained in:
@@ -73,6 +73,8 @@ Latest (master):
|
|||||||
* Fixed #69: fixed "remember me" checkbox layout on login page
|
* Fixed #69: fixed "remember me" checkbox layout on login page
|
||||||
* Fixed #78: files not visible on list in wiki when there is a lot of them
|
* Fixed #78: files not visible on list in wiki when there is a lot of them
|
||||||
* Updated dependencies
|
* Updated dependencies
|
||||||
|
* Fixed #81: top watchers checkboxes were not visible on Firefox
|
||||||
|
* Removed `checkbox` and `radio` mixins in favour of `check`
|
||||||
|
|
||||||
v1.8.0 (2016-11-20):
|
v1.8.0 (2016-11-20):
|
||||||
|
|
||||||
|
|||||||
@@ -330,6 +330,10 @@ $label-space: 10px !default;
|
|||||||
$legend-color: $gray-dark !default;
|
$legend-color: $gray-dark !default;
|
||||||
$legend-border-color: #e5e5e5 !default;
|
$legend-border-color: #e5e5e5 !default;
|
||||||
|
|
||||||
|
$check-input-gutter: 20px !default;
|
||||||
|
$check-input-margin-vertical: 3px !default;
|
||||||
|
$check-input-margin-horizontal: 8px !default;
|
||||||
|
|
||||||
$check-list-max-height: 20 * $line-height-computed;
|
$check-list-max-height: 20 * $line-height-computed;
|
||||||
$check-list-offset-top: $input-padding-vertical + 1px;
|
$check-list-offset-top: $input-padding-vertical + 1px;
|
||||||
|
|
||||||
|
|||||||
@@ -190,7 +190,7 @@ a.collapsible.collapsed,
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
label {
|
label {
|
||||||
@include checkbox;
|
@include check;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -244,6 +244,23 @@ a.collapsible.collapsed,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//== Users selection list
|
||||||
|
//
|
||||||
|
|
||||||
|
#principals {
|
||||||
|
label {
|
||||||
|
@include check;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.roles-selection {
|
||||||
|
label {
|
||||||
|
@include check-inline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//== Subtitle paragraph (can be seen on activity list)
|
//== Subtitle paragraph (can be seen on activity list)
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|||||||
@@ -303,7 +303,6 @@ em.info {
|
|||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
padding-left: 16px;
|
padding-left: 16px;
|
||||||
float: none;
|
float: none;
|
||||||
clear: left;
|
|
||||||
text-align: left;
|
text-align: left;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
@@ -363,7 +362,7 @@ label[for=issue_description] + a {
|
|||||||
//
|
//
|
||||||
|
|
||||||
label[for=closed] {
|
label[for=closed] {
|
||||||
@include checkbox;
|
@include check;
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: $line-height-computed / 2;
|
margin-bottom: $line-height-computed / 2;
|
||||||
}
|
}
|
||||||
@@ -580,13 +579,7 @@ label[for=closed] {
|
|||||||
|
|
||||||
label {
|
label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: $padding-base-horizontal;
|
margin-right: $check-input-margin-horizontal;
|
||||||
|
|
||||||
input[type="checkbox"],
|
|
||||||
input[type="radio"] {
|
|
||||||
margin-left: -20px;
|
|
||||||
float: left;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
font-weight: $font-weight-bold;
|
font-weight: $font-weight-bold;
|
||||||
|
|
||||||
&[for="autologin"] {
|
&[for="autologin"] {
|
||||||
@include checkbox;
|
@include check;
|
||||||
margin-bottom: $line-height-computed;
|
margin-bottom: $line-height-computed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -105,9 +105,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
@include checkbox;
|
@include check-inline;
|
||||||
display: inline-block;
|
|
||||||
margin-right: 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
p:last-child {
|
p:last-child {
|
||||||
|
|||||||
@@ -158,7 +158,7 @@ div.tabs:not(#main-menu) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
@include checkbox;
|
@include check;
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 3px;
|
margin-bottom: 3px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,28 +40,28 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin checkbox() {
|
|
||||||
@include check;
|
|
||||||
}
|
|
||||||
|
|
||||||
@mixin radio() {
|
|
||||||
@include check;
|
|
||||||
}
|
|
||||||
|
|
||||||
@mixin check() {
|
@mixin check() {
|
||||||
@extend %clearfix;
|
@extend %clearfix;
|
||||||
padding-left: 20px;
|
position: relative;
|
||||||
|
padding-left: $check-input-gutter;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-weight: $font-weight-normal;
|
font-weight: $font-weight-normal;
|
||||||
|
|
||||||
input[type="checkbox"],
|
input[type="checkbox"],
|
||||||
input[type="radio"] {
|
input[type="radio"] {
|
||||||
|
position: absolute;
|
||||||
width: auto;
|
width: auto;
|
||||||
margin-left: -20px;
|
margin-top: $check-input-margin-vertical;
|
||||||
float: left;
|
margin-left: -$check-input-gutter;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin check-inline() {
|
||||||
|
@include check;
|
||||||
|
display: inline-block;
|
||||||
|
margin-right: $check-input-margin-horizontal;
|
||||||
|
}
|
||||||
|
|
||||||
@mixin check-list() {
|
@mixin check-list() {
|
||||||
@include check;
|
@include check;
|
||||||
display: block;
|
display: block;
|
||||||
@@ -72,9 +72,4 @@
|
|||||||
@media screen and (min-width: $screen-sm-min) {
|
@media screen and (min-width: $screen-sm-min) {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="checkbox"],
|
|
||||||
input[type="radio"] {
|
|
||||||
top: -1px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user