2019-12-28 12:48:07 +00:00
|
|
|
/*
|
|
|
|
* Citizen - Buttons
|
|
|
|
* https://starcitizen.tools
|
|
|
|
*/
|
|
|
|
|
2019-12-29 09:47:56 +00:00
|
|
|
@import '../../../resources/variables.less';
|
2019-12-28 12:48:07 +00:00
|
|
|
|
2021-03-01 17:55:05 +00:00
|
|
|
.mw-ui-button {
|
|
|
|
background-color: var( --background-color-framed );
|
|
|
|
color: var( --color-base );
|
|
|
|
|
|
|
|
&.mw-ui-quiet,
|
|
|
|
&.mw-ui-quiet.mw-ui-progressive,
|
|
|
|
&.mw-ui-quiet.mw-ui-destructive {
|
|
|
|
color: var( --color-base );
|
2019-12-28 12:48:07 +00:00
|
|
|
|
|
|
|
&:hover {
|
2021-03-01 17:55:05 +00:00
|
|
|
background-color: var( --background-color-quiet--hover );
|
|
|
|
color: var( --color-base--emphasized );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: var( --background-color-quiet--active );
|
|
|
|
color: var( --color-base--subtle );
|
2019-12-28 12:48:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2021-03-01 17:55:05 +00:00
|
|
|
color: var( --color-base );
|
2019-12-28 12:48:07 +00:00
|
|
|
}
|
|
|
|
|
2021-03-01 17:55:05 +00:00
|
|
|
&:disabled,
|
|
|
|
&:disabled:hover,
|
|
|
|
&:disabled:active {
|
|
|
|
color: var( --color-base--subtle );
|
2019-12-28 12:48:07 +00:00
|
|
|
}
|
2021-03-01 17:55:05 +00:00
|
|
|
}
|
2019-12-28 12:48:07 +00:00
|
|
|
|
2021-03-01 17:55:05 +00:00
|
|
|
&.mw-ui-progressive {
|
|
|
|
background-color: var( --color-primary );
|
2019-12-28 12:48:07 +00:00
|
|
|
|
2021-03-01 17:55:05 +00:00
|
|
|
&:hover {
|
|
|
|
background-color: var( --color-primary--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: var( --color-primary--active );
|
2019-12-28 12:48:07 +00:00
|
|
|
}
|
|
|
|
|
2021-03-01 17:55:05 +00:00
|
|
|
&:focus {
|
|
|
|
background-color: var( --color-primary );
|
|
|
|
}
|
|
|
|
|
|
|
|
&.mw-ui-quiet {
|
|
|
|
color: var( --color-primary );
|
2019-12-28 12:48:07 +00:00
|
|
|
|
|
|
|
&:hover {
|
2021-03-01 17:55:05 +00:00
|
|
|
color: var( --color-primary--hover );
|
2019-12-28 12:48:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2021-03-01 17:55:05 +00:00
|
|
|
color: var( --color-primary--active );
|
2019-12-28 12:48:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2021-03-01 17:55:05 +00:00
|
|
|
color: var( --color-primary );
|
2019-12-28 12:48:07 +00:00
|
|
|
}
|
2021-03-01 17:55:05 +00:00
|
|
|
}
|
|
|
|
}
|
2019-12-28 12:48:07 +00:00
|
|
|
|
2021-03-01 17:55:05 +00:00
|
|
|
&.mw-ui-destructive {
|
|
|
|
&.mw-ui-quiet {
|
|
|
|
color: var( --color-destructive );
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var( --color-destructive--hover );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
color: var( --color-destructive--active );
|
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
color: var( --color-destructive );
|
2019-12-28 12:48:07 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|