Commit 35576fa0 authored by Steffen Michels's avatar Steffen Michels

fix positioning of toggles

parent fd24a306
......@@ -1068,18 +1068,14 @@ div.itasks-exception {
position: absolute;
top: 0;
left: 0;
margin-left: 0;
margin: 0;
opacity: 0;
z-index: 2;
cursor: pointer;
height: 1em;
width: 1em;
}
.itasks-choicetree li input + ol {
margin: -15px 0 0 -44px;
display: block;
height: 1em;
background: url("/css/icons/toggle-small-expand.png") 42px -3px no-repeat;
height: 16px;
background: url("/css/icons/toggle-small-expand.png") 44px 0 no-repeat;
}
.itasks-choicetree li input + ol > li {
display: none;
......@@ -1087,10 +1083,8 @@ div.itasks-exception {
padding-left: 1px;
}
.itasks-choicetree li input:checked + ol {
margin: -20px 0 0 -44px;
padding: 20px 0 0 80px;
height: auto;
background: url("/css/icons/toggle-small.png") 42px 0 no-repeat;
background: url("/css/icons/toggle-small.png") 44px 0 no-repeat;
}
.itasks-choicetree li input:checked + ol > li {
display: block;
......
......@@ -1068,18 +1068,14 @@ div.itasks-exception {
position: absolute;
top: 0;
left: 0;
margin-left: 0;
margin: 0;
opacity: 0;
z-index: 2;
cursor: pointer;
height: 1em;
width: 1em;
}
.itasks-choicetree li input + ol {
margin: -15px 0 0 -44px;
display: block;
height: 1em;
background: url("/css/icons/toggle-small-expand.png") 42px -3px no-repeat;
height: 16px;
background: url("/css/icons/toggle-small-expand.png") 44px 0 no-repeat;
}
.itasks-choicetree li input + ol > li {
display: none;
......@@ -1087,10 +1083,8 @@ div.itasks-exception {
padding-left: 1px;
}
.itasks-choicetree li input:checked + ol {
margin: -20px 0 0 -44px;
padding: 20px 0 0 80px;
height: auto;
background: url("/css/icons/toggle-small.png") 42px 0 no-repeat;
background: url("/css/icons/toggle-small.png") 44px 0 no-repeat;
}
.itasks-choicetree li input:checked + ol > li {
display: block;
......
......@@ -86,18 +86,14 @@
position: absolute;
top: 0;
left: 0;
margin-left: 0;
margin: 0;
opacity: 0;
z-index: 2;
cursor: pointer;
height: 1em;
width: 1em;
+ ol {
margin: -15px 0 0 -44px;
display: block;
height: 1em;
background: url('#{$icon-path}toggle-small-expand.png') 42px -3px no-repeat;
height: 16px;
background: url('#{$icon-path}toggle-small-expand.png') 44px 0 no-repeat;
> li {
display: none;
......@@ -106,10 +102,9 @@
}
}
&:checked + ol {
margin: -20px 0 0 -44px;
padding: 20px 0 0 80px;
height: auto;
background: url('#{$icon-path}toggle-small.png') 42px 0 no-repeat;
background: url('#{$icon-path}toggle-small.png') 44px 0 no-repeat;
> li {
display: block;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment