2021-11-03 11:53:26 +01:00
|
|
|
button,
|
|
|
|
submit{
|
|
|
|
box-sizing: border-box;
|
2021-11-08 12:26:21 +01:00
|
|
|
cursor: pointer;
|
2021-11-03 11:53:26 +01:00
|
|
|
|
2021-11-22 15:17:04 +01:00
|
|
|
font-weight: $semi-bold;
|
2021-11-09 14:26:47 +01:00
|
|
|
font-family: $font_family;
|
2021-11-03 11:53:26 +01:00
|
|
|
|
|
|
|
box-shadow: none;
|
|
|
|
border: 0;
|
2021-11-08 12:26:21 +01:00
|
|
|
|
|
|
|
transition: 0.3s;
|
2021-11-22 22:32:47 +01:00
|
|
|
|
2021-11-03 11:53:26 +01:00
|
|
|
// Button sizes
|
2021-12-22 17:10:30 +01:00
|
|
|
|
2021-11-03 11:53:26 +01:00
|
|
|
&.small{
|
|
|
|
padding: 5px 32px;
|
2021-12-22 17:10:30 +01:00
|
|
|
min-width: 160px;
|
2021-11-03 11:53:26 +01:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
&.medium{
|
|
|
|
padding: 10px 32px;
|
2021-12-22 17:10:30 +01:00
|
|
|
min-width: 160px;
|
2021-11-03 11:53:26 +01:00
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
&.large{
|
|
|
|
padding: 12px 32px;
|
2021-12-22 17:10:30 +01:00
|
|
|
min-width: 160px;
|
2021-11-03 11:53:26 +01:00
|
|
|
font-size: 20px;
|
|
|
|
}
|
2022-02-24 13:15:36 +01:00
|
|
|
//Gumb v polju zraven teksta ali ikon
|
2022-02-15 15:45:40 +01:00
|
|
|
&.table-inline{
|
|
|
|
padding: 4px 20px;
|
|
|
|
width: fit-content;
|
|
|
|
font-size: 14px;
|
|
|
|
border-radius: 2px;
|
|
|
|
margin-left: 16px;
|
2022-02-24 01:08:18 +01:00
|
|
|
white-space: nowrap;
|
2022-02-15 15:45:40 +01:00
|
|
|
}
|
2022-02-24 13:15:36 +01:00
|
|
|
//Sam gumb v polju
|
2022-02-24 13:04:26 +01:00
|
|
|
&.table{
|
|
|
|
padding: 4px 20px;
|
|
|
|
width: fit-content;
|
|
|
|
font-size: 14px;
|
|
|
|
border-radius: 2px;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2021-11-03 11:53:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
// Button colors
|
|
|
|
&.blue{
|
|
|
|
color: $white;
|
|
|
|
|
|
|
|
background-color: $blue;
|
2021-11-10 14:29:49 +01:00
|
|
|
border: 1px $blue solid;
|
2021-11-08 12:26:21 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($blue, 3%);
|
|
|
|
}
|
2021-11-03 11:53:26 +01:00
|
|
|
}
|
|
|
|
&.white-blue{
|
|
|
|
color: $blue;
|
|
|
|
|
|
|
|
background-color: $white;
|
|
|
|
border: 1px $blue solid;
|
2021-11-08 12:26:21 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($white, 5%);
|
|
|
|
}
|
2021-11-03 11:53:26 +01:00
|
|
|
}
|
|
|
|
&.white-black{
|
|
|
|
color: $black;
|
|
|
|
|
|
|
|
background-color: $white;
|
|
|
|
border: 1px $black solid;
|
2021-11-08 12:26:21 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($white, 5%);
|
|
|
|
}
|
2021-11-03 11:53:26 +01:00
|
|
|
}
|
|
|
|
&.gray{
|
|
|
|
color: $black;
|
|
|
|
|
|
|
|
background-color: $gray;
|
|
|
|
border: 1px $black solid;
|
2021-11-08 12:26:21 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($gray, 5%);
|
|
|
|
}
|
2021-11-03 11:53:26 +01:00
|
|
|
}
|
|
|
|
&.yellow{
|
|
|
|
color: $black;
|
|
|
|
|
|
|
|
background-color: $yellow;
|
2021-11-10 14:29:49 +01:00
|
|
|
border: 1px $yellow solid;
|
2021-11-08 12:26:21 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($yellow, 2%);
|
|
|
|
}
|
2021-11-03 11:53:26 +01:00
|
|
|
}
|
|
|
|
&.red{
|
|
|
|
color: $white;
|
|
|
|
|
|
|
|
background-color: $red;
|
2021-11-10 14:29:49 +01:00
|
|
|
border: 1px $red solid;
|
2021-11-08 12:26:21 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($red, 5%);
|
|
|
|
}
|
2021-11-03 11:53:26 +01:00
|
|
|
}
|
2021-11-22 15:01:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
div.button_holder {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
box-sizing: border-box;
|
2021-11-23 13:36:49 +01:00
|
|
|
margin-bottom: 32px;
|
2021-12-29 01:23:24 +01:00
|
|
|
|
|
|
|
button {
|
|
|
|
margin-right: 16px;
|
|
|
|
}
|
2021-11-22 15:01:11 +01:00
|
|
|
|
2021-12-16 11:23:23 +01:00
|
|
|
&.bottom16 {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
2022-01-18 17:02:47 +01:00
|
|
|
&.top16 {
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
|
|
|
|
2021-12-29 01:23:24 +01:00
|
|
|
&.bottom0 {
|
|
|
|
margin-bottom: 0px;
|
2021-11-22 15:01:11 +01:00
|
|
|
}
|
2021-11-29 12:51:31 +01:00
|
|
|
|
|
|
|
&.inline {
|
|
|
|
align-items: flex-end;
|
|
|
|
|
2022-03-09 15:48:00 +01:00
|
|
|
&.vertical_center {
|
2022-03-04 01:49:58 +01:00
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2021-11-29 12:51:31 +01:00
|
|
|
button {
|
|
|
|
margin-left: 16px;
|
|
|
|
}
|
|
|
|
}
|
2021-12-16 15:53:34 +01:00
|
|
|
|
|
|
|
&.below {
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-top: 24px;
|
|
|
|
}
|
2022-01-18 14:49:38 +01:00
|
|
|
|
|
|
|
&.intext{
|
|
|
|
margin: 16px 0;
|
|
|
|
}
|
2021-12-09 00:07:01 +01:00
|
|
|
}
|