Fix slideSwitch height

This commit is contained in:
Hadi Nategh 2016-01-12 14:45:07 +00:00
parent 8588e08692
commit f7ccce8975

View File

@ -1691,17 +1691,17 @@ span.et2_checkbox_slideSwitch {
vertical-align: middle; vertical-align: middle;
} }
span.et2_checkbox_slideSwitch > span.slideSwitch_container { span.et2_checkbox_slideSwitch > span.slideSwitch_container {
height: 18px; height: 16px;
border: none; border: 1px solid silver;
background-color: #FFFFFF; background-color: #FFF;
box-shadow: inset 0 2px 6px rgb(71, 71, 71), 0 1px 0 rgba(255, 255, 255, 0.2); box-shadow: inset 0 2px 6px rgb(71, 71, 71), 0 1px 0 rgba(255, 255, 255, 0.2);
margin: 0; margin: 0px;
min-width:44px; min-width: 44px;
display: block; display: block;
position: relative; position: relative;
border-radius: 3px; border-radius: 2px;
padding: 3px 0px 3px 0px; padding: 3px 0px 3px 0px;
font-size: 12 px; font-size: 12px;
} }
span.et2_checkbox_slideSwitch > span.slideSwitch_container > span:first-child { span.et2_checkbox_slideSwitch > span.slideSwitch_container > span:first-child {
width: 50%; width: 50%;
@ -1714,7 +1714,7 @@ span.et2_checkbox_slideSwitch > span.slideSwitch_container > span:first-child {
z-index: 6; z-index: 6;
font-weight: bold; font-weight: bold;
color:#C0C0C0; color:#C0C0C0;
top:5px; top: 5px;
} }
span.et2_checkbox_slideSwitch.switchOn > span.slideSwitch_container > span:first-child { span.et2_checkbox_slideSwitch.switchOn > span.slideSwitch_container > span:first-child {
color:#FAFAFA; color:#FAFAFA;
@ -1742,13 +1742,14 @@ span.et2_checkbox_slideSwitch > span.slideSwitch_container a {
z-index: 4; z-index: 4;
display: block; display: block;
width: 50%; width: 50%;
height: 95%; height: 100%;
padding-bottom: 0px; padding-bottom: 0px;
background-color: #7B7B7B; background-color: #7B7B7B;
border-radius: 3px; border-radius: 3px;
-webkit-transition: all 0.5s ease-out; -webkit-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease-out; -moz-transition: all 0.5s ease-out;
transition: all 0.5s ease-out; transition: all 0.5s ease-out;
box-shadow: grey -1px 0px 3px 0px;
} }
span.et2_checkbox_slideSwitch > input { span.et2_checkbox_slideSwitch > input {
opacity: 0; opacity: 0;
@ -1762,9 +1763,10 @@ span.et2_checkbox_slideSwitch.switchOn > span.slideSwitch_container a {
} }
/* Slide switch in a toolbar */ /* Slide switch in a toolbar */
.et2_toolbar_actionlist span.et2_checkbox_slideSwitch { .et2_toolbar_actionlist span.et2_checkbox_slideSwitch {
padding-right: 3px;
padding-left: 1px;
vertical-align: bottom; vertical-align: bottom;
margin: 1px;
margin-right: 3px;
border-radius: 3px;
} }
.et2_toolbar_more span.et2_checkbox_slideSwitch { .et2_toolbar_more span.et2_checkbox_slideSwitch {
text-align: left; text-align: left;