openrat-button.less (560B)
1 @smartphones: ~"only screen and (max-width: 55rem)"; 2 3 .or { 4 &-button { 5 //position: relative; 6 &-knob { 7 //border: 1px solid black; 8 margin: 0.5em; 9 } 10 11 // if the button is active, then display the content 12 &--is-active, 13 &--active-on-hover:hover { 14 .or-button-value { 15 display: initial; 16 } 17 18 } 19 20 &-value { 21 display: none; 22 position: absolute; 23 right: 1em; 24 //top: 0.3em; 25 } 26 27 z-index: 4; 28 } 29 }