Browse Source

minor toggle change

pull/253/head
connors 11 years ago
parent
commit
101254a034
  1. 6
      dist/ios-theme.css
  2. 6
      docs-assets/css/docs.css
  3. 6
      lib/sass/theme-ios.scss

6
dist/ios-theme.css vendored

@ -402,12 +402,6 @@ textarea,
-ms-transform: translate3d(17px, 0, 0); -ms-transform: translate3d(17px, 0, 0);
transform: translate3d(17px, 0, 0); transform: translate3d(17px, 0, 0);
} }
.toggle.active:active .toggle-handle,
.toggle.active .toggle-handle:active {
-webkit-transform: translate3d(10px, 0, 0) !important;
-ms-transform: translate3d(10px, 0, 0) !important;
transform: translate3d(10px, 0, 0) !important;
}
.toggle.active .toggle-handle { .toggle.active .toggle-handle {
border-color: #4cd964; border-color: #4cd964;
} }

6
docs-assets/css/docs.css

@ -1149,12 +1149,6 @@ hr {
-ms-transform: translate3d(17px, 0, 0); -ms-transform: translate3d(17px, 0, 0);
transform: translate3d(17px, 0, 0); transform: translate3d(17px, 0, 0);
} }
.platform-ios .toggle.active:active .toggle-handle,
.platform-ios .toggle.active .toggle-handle:active {
-webkit-transform: translate3d(10px, 0, 0) !important;
-ms-transform: translate3d(10px, 0, 0) !important;
transform: translate3d(10px, 0, 0) !important;
}
.platform-ios .toggle.active .toggle-handle { .platform-ios .toggle.active .toggle-handle {
border-color: #4cd964; border-color: #4cd964;
} }

6
lib/sass/theme-ios.scss

@ -524,12 +524,6 @@ textarea,
@include transform(translate3d(17px,0,0)); @include transform(translate3d(17px,0,0));
} }
// When the handle and the container is active
&:active .toggle-handle,
.toggle-handle:active {
@include transform(translate3d(10px,0,0) !important); // Evil important tag is used to overwrite js.
}
.toggle-handle { .toggle-handle {
border-color: $positive-color; border-color: $positive-color;
} }

Loading…
Cancel
Save