mediawiki-skins-Citizen/skinStyles/jquery.ui/smoothness/jquery.ui.theme.less

144 lines
3.1 KiB
Plaintext
Raw Normal View History

2019-12-30 19:59:22 +00:00
/*
* Citizen - jQuery UI Smoothness Theme
* https://starcitizen.tools
*/
@import '../../../resources/variables.less';
2021-03-07 03:22:51 +00:00
@import '../../../resources/mixins.less';
2019-12-30 19:59:22 +00:00
2021-03-07 03:22:51 +00:00
/*!
* jQuery UI CSS Framework 1.9.2
*/
2019-12-30 19:59:22 +00:00
2021-03-07 03:22:51 +00:00
/* Component containers
----------------------------------*/
.ui {
&-dialog {
.boxshadow(4);
2019-12-30 19:59:22 +00:00
2021-03-07 03:22:51 +00:00
&.ui-widget-content {
background: var( --background-color-dp-24 );
}
2019-12-30 19:59:22 +00:00
}
2021-03-07 03:22:51 +00:00
&-widget {
font-family: var( --font-family-base );
2021-03-07 23:42:10 +00:00
font-size: @ui-menu-text;
2019-12-30 19:59:22 +00:00
2021-03-07 03:22:51 +00:00
input,
select,
textarea,
button {
font-family: var( --font-family-base );
2021-03-07 03:22:51 +00:00
}
2019-12-30 19:59:22 +00:00
2021-03-07 03:22:51 +00:00
&-content {
border-color: var( --border-color-base );
background: var( --background-color-framed );
color: var( --color-base );
}
2019-12-30 19:59:22 +00:00
2021-03-07 03:22:51 +00:00
&-header {
border-color: var( --border-color-base );
background: var( --background-color-framed--hover );
color: var( --color-base );
}
2019-12-30 19:59:22 +00:00
}
2021-03-07 03:22:51 +00:00
}
2019-12-30 19:59:22 +00:00
2021-03-07 03:22:51 +00:00
/* Interaction states
----------------------------------*/
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
border-color: var( --border-color-base );
background-color: var( --background-color-framed );
color: var( --color-base );
}
2019-12-30 19:59:22 +00:00
2021-03-07 03:22:51 +00:00
.ui-state-default a,
.ui-state-default a:link,
.ui-state-default a:visited {
color: var( --color-base );
}
2019-12-30 19:59:22 +00:00
2021-03-07 03:22:51 +00:00
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
border-color: var( --border-color-base );
background-color: var( --background-color-framed--hover );
color: var( --color-base--emphasized );
}
2019-12-30 19:59:22 +00:00
2021-03-07 03:22:51 +00:00
.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited {
color: var( --color-base--emphasized );
}
2019-12-30 19:59:22 +00:00
2021-03-07 03:22:51 +00:00
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
border-color: var( --background-color-framed--active );
background-color: var( --background-color-framed--active );
color: var( --color-base--subtle );
}
2019-12-30 19:59:22 +00:00
2021-03-07 03:22:51 +00:00
.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
color: var( --color-base--subtle );
}
2019-12-30 19:59:22 +00:00
2021-03-07 03:22:51 +00:00
/* Interaction Cues
----------------------------------*/
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
border-color: var( --border-color-base );
background: var( --background-color-primary--hover );
color: var( --color-primary );
}
2019-12-30 19:59:22 +00:00
2021-03-07 03:22:51 +00:00
.ui-state-highlight a,
.ui-widget-content .ui-state-highlight a,
.ui-widget-header .ui-state-highlight a {
color: var( --color-primary );
}
.ui-state-error,
.ui-widget-content .ui-state-error,
.ui-widget-header .ui-state-error {
border-color: var( --border-color-base );
background: var( --background-color-destructive );
color: var( --color-destructive );
}
.ui-state-error a,
.ui-widget-content .ui-state-error a,
.ui-widget-header .ui-state-error a {
color: var( --color-destructive );
}
.ui-state-error-text,
.ui-widget-content .ui-state-error-text,
.ui-widget-header .ui-state-error-text {
color: var( --color-destructive );
}
/* Overlays */
.ui-widget-overlay {
background: var( --background-color-overlay--lighter );
opacity: 1;
}
2019-12-30 20:02:53 +00:00
2021-03-07 03:22:51 +00:00
.skin-citizen-dark {
2019-12-30 20:02:53 +00:00
.ui-widget-header .ui-icon {
2021-03-07 03:22:51 +00:00
filter: invert(1) hue-rotate(180deg);
2019-12-30 20:02:53 +00:00
}
2019-12-30 19:59:22 +00:00
}