67 lines
1.9 KiB
CSS
67 lines
1.9 KiB
CSS
/*!
|
|
* Angular Material Design
|
|
* https://github.com/angular/material
|
|
* @license MIT
|
|
* v0.7.0-rc3
|
|
*/
|
|
md-radio-button, .md-switch-thumb {
|
|
display: block;
|
|
margin: 15px;
|
|
white-space: nowrap;
|
|
cursor: pointer; }
|
|
md-radio-button input, .md-switch-thumb input {
|
|
display: none; }
|
|
md-radio-button .md-container, .md-switch-thumb .md-container {
|
|
position: relative;
|
|
top: 4px;
|
|
display: inline-block;
|
|
width: 16px;
|
|
height: 16px;
|
|
cursor: pointer; }
|
|
md-radio-button .md-container .md-ripple-container, .md-switch-thumb .md-container .md-ripple-container {
|
|
position: absolute;
|
|
display: block;
|
|
width: 48px;
|
|
height: 48px;
|
|
left: -16px;
|
|
top: -16px; }
|
|
md-radio-button .md-off, .md-switch-thumb .md-off {
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
width: 16px;
|
|
height: 16px;
|
|
border: solid 2px;
|
|
border-radius: 50%;
|
|
-webkit-transition: border-color ease 0.28s;
|
|
transition: border-color ease 0.28s; }
|
|
md-radio-button .md-on, .md-switch-thumb .md-on {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 50%;
|
|
-webkit-transition: -webkit-transform ease 0.28s;
|
|
transition: transform ease 0.28s;
|
|
-webkit-transform: scale(0);
|
|
transform: scale(0); }
|
|
md-radio-button.md-checked .md-on, .md-switch-thumb.md-checked .md-on {
|
|
-webkit-transform: scale(0.55);
|
|
transform: scale(0.55); }
|
|
md-radio-button .md-label, .md-switch-thumb .md-label {
|
|
position: relative;
|
|
display: inline-block;
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
vertical-align: middle;
|
|
white-space: normal;
|
|
pointer-events: none;
|
|
width: auto; }
|
|
md-radio-button .circle, .md-switch-thumb .circle {
|
|
border-radius: 50%; }
|
|
|
|
md-radio-group {
|
|
border: 1px dotted transparent;
|
|
display: block;
|
|
outline: none; }
|