_button.scss
ASCII text
1/* Buttons */ 2 3@use "../../../../theme"; 4@use "../../drawing"; 5@use "../../typography"; 6 7%button, 8.button { 9min-height: theme.$medium-size; 10min-width: 64px - 8px * 2; 11padding: 0 8px; 12border: 0; 13border-radius: theme.$corner-radius; 14 15@include typography.button; 16@include drawing.button(flat-normal); 17 18&:focus { 19@include drawing.button(flat-focus); 20} 21 22&:hover { 23@include drawing.button(flat-hover); 24} 25 26&:active { 27@include drawing.button(flat-active); 28} 29 30&:insensitive { 31@include drawing.button(flat-insensitive); 32} 33} 34 35// buttons in dialogs and notifications 36%bubble_button { 37@extend %button; 38margin: theme.$container-padding; 39margin-right: 0; 40 41&:first-child, 42&:last-child, 43&:first-child:last-child { 44border-radius: theme.$corner-radius; 45} 46 47&:last-child, 48&:first-child:last-child { 49margin-right: theme.$container-padding; 50border-right-width: 0; 51} 52} 53