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