mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-13 23:37:47 +00:00
Create a secondary form button
This commit is contained in:
committed by
Nihal M. Kelanthodika
parent
786b198f4d
commit
802c5c8c94
@@ -10,6 +10,12 @@ input[type='button'], input[type='submit'] {
|
||||
background-color: $disabled-background;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
&.secondary:disabled {
|
||||
background-color: #ebf3fb;
|
||||
border: 1px solid #ebf3fb;
|
||||
color: #AFCFEF;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-container-disabled {
|
||||
|
||||
@@ -85,6 +85,20 @@ button, .button {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&.secondary {
|
||||
background-color: transparent;
|
||||
border: 1px solid $color-btn-bg;
|
||||
color: $color-btn-bg;
|
||||
|
||||
&:hover, &:active, &:focus {
|
||||
background-color: #ebf3fb;
|
||||
}
|
||||
|
||||
&:active:focus {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
span.info {
|
||||
|
||||
Reference in New Issue
Block a user