156 lines
2.6 KiB
SCSS
156 lines
2.6 KiB
SCSS
button,
|
|
submit{
|
|
box-sizing: border-box;
|
|
cursor: pointer;
|
|
|
|
font-weight: $semi-bold;
|
|
font-family: $font_family;
|
|
|
|
box-shadow: none;
|
|
border: 0;
|
|
|
|
transition: 0.3s;
|
|
|
|
// Button sizes
|
|
|
|
&.small{
|
|
padding: 5px 32px;
|
|
min-width: 160px;
|
|
font-size: 14px;
|
|
}
|
|
&.medium{
|
|
padding: 10px 32px;
|
|
min-width: 160px;
|
|
font-size: 16px;
|
|
}
|
|
&.large{
|
|
padding: 12px 32px;
|
|
min-width: 160px;
|
|
font-size: 20px;
|
|
}
|
|
//Gumb v polju zraven teksta ali ikon
|
|
&.table-inline{
|
|
padding: 4px 20px;
|
|
width: fit-content;
|
|
font-size: 14px;
|
|
border-radius: 2px;
|
|
margin-left: 16px;
|
|
white-space: nowrap;
|
|
}
|
|
//Sam gumb v polju
|
|
&.table{
|
|
padding: 4px 20px;
|
|
width: fit-content;
|
|
font-size: 14px;
|
|
border-radius: 2px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
|
|
// Button colors
|
|
&.blue{
|
|
color: $white;
|
|
|
|
background-color: $blue;
|
|
border: 1px $blue solid;
|
|
|
|
&:hover {
|
|
background-color: darken($blue, 3%);
|
|
}
|
|
}
|
|
&.white-blue{
|
|
color: $blue;
|
|
|
|
background-color: $white;
|
|
border: 1px $blue solid;
|
|
|
|
&:hover {
|
|
background-color: darken($white, 5%);
|
|
}
|
|
}
|
|
&.white-black{
|
|
color: $black;
|
|
|
|
background-color: $white;
|
|
border: 1px $black solid;
|
|
|
|
&:hover {
|
|
background-color: darken($white, 5%);
|
|
}
|
|
}
|
|
&.gray{
|
|
color: $black;
|
|
|
|
background-color: $gray;
|
|
border: 1px $black solid;
|
|
|
|
&:hover {
|
|
background-color: darken($gray, 5%);
|
|
}
|
|
}
|
|
&.yellow{
|
|
color: $black;
|
|
|
|
background-color: $yellow;
|
|
border: 1px $yellow solid;
|
|
|
|
&:hover {
|
|
background-color: darken($yellow, 2%);
|
|
}
|
|
}
|
|
&.red{
|
|
color: $white;
|
|
|
|
background-color: $red;
|
|
border: 1px $red solid;
|
|
|
|
&:hover {
|
|
background-color: darken($red, 5%);
|
|
}
|
|
}
|
|
}
|
|
|
|
div.button_holder {
|
|
display: flex;
|
|
flex-direction: row;
|
|
box-sizing: border-box;
|
|
margin-bottom: 32px;
|
|
|
|
button {
|
|
margin-right: 16px;
|
|
}
|
|
|
|
&.bottom16 {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
&.top16 {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
&.bottom0 {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
&.inline {
|
|
align-items: flex-end;
|
|
|
|
&.center {
|
|
align-items: center;
|
|
}
|
|
|
|
button {
|
|
margin-left: 16px;
|
|
}
|
|
}
|
|
|
|
&.below {
|
|
margin-bottom: 0;
|
|
margin-top: 24px;
|
|
}
|
|
|
|
&.intext{
|
|
margin: 16px 0;
|
|
}
|
|
}
|