Browse Source

Adding an active state to segmented controllers.

pull/216/head
connors 11 years ago
parent
commit
2ac06451ee
  1. 3
      dist/ratchet.css
  2. 5
      lib/sass/segmented-controllers.scss

3
dist/ratchet.css vendored

@ -869,6 +869,9 @@ input[type="button"] {
.segmented-controller li:first-child {
border-left-width: 0;
}
.segmented-controller li:active {
background-color: #d5e9ff;
}
.segmented-controller li.selected {
background-color: #007aff;
transition: background-color .2s linear;

5
lib/sass/segmented-controllers.scss

@ -41,7 +41,10 @@
border-left-width: 0;
}
// Active state of segmented controller
&:active {
background-color: rgba(213,233,255,1);
}
// Selected segment of controller
&.selected {

Loading…
Cancel
Save