2019-12-30 19:59:22 +00:00
|
|
|
/*
|
|
|
|
* Citizen - jQuery UI Smoothness Theme
|
|
|
|
* https://starcitizen.tools
|
|
|
|
*/
|
|
|
|
|
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
|
2024-04-16 05:28:45 +00:00
|
|
|
---------------------------------- */
|
2021-03-07 03:22:51 +00:00
|
|
|
.ui {
|
|
|
|
&-dialog {
|
2022-04-24 19:24:09 +00:00
|
|
|
box-shadow: var( --box-shadow-dialog );
|
2019-12-30 19:59:22 +00:00
|
|
|
|
2023-06-03 22:50:25 +00:00
|
|
|
.ui-dialog-titlebar {
|
|
|
|
padding: var( --space-md );
|
|
|
|
}
|
|
|
|
|
2021-03-07 03:22:51 +00:00
|
|
|
&.ui-widget-content {
|
2022-04-26 02:27:52 +00:00
|
|
|
background: var( --color-surface-1 );
|
2024-04-16 05:28:45 +00:00
|
|
|
border-radius: var( --border-radius--medium );
|
2021-03-07 03:22:51 +00:00
|
|
|
}
|
2019-12-30 19:59:22 +00:00
|
|
|
}
|
|
|
|
|
2021-03-07 03:22:51 +00:00
|
|
|
&-widget {
|
2021-03-09 18:13:49 +00:00
|
|
|
font-family: var( --font-family-base );
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2019-12-30 19:59:22 +00:00
|
|
|
|
2023-06-03 23:07:14 +00:00
|
|
|
/* Align with Codex styles */
|
2023-06-03 22:50:25 +00:00
|
|
|
input,
|
|
|
|
select,
|
|
|
|
textarea {
|
2024-04-16 05:28:45 +00:00
|
|
|
padding: var( --space-xxs ) var( --space-xs );
|
2023-06-03 22:50:25 +00:00
|
|
|
/* FIXME: Replace with line-height-small when we import Codex line height */
|
|
|
|
line-height: var( --line-height-sm );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2024-04-16 05:28:45 +00:00
|
|
|
// Show background when hovered
|
|
|
|
background-color: transparent;
|
2024-04-19 19:14:18 +00:00
|
|
|
border-color: var( --border-color-interactive );
|
2023-06-03 23:07:14 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var( --color-surface-0 );
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive--hover );
|
2023-06-03 23:07:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
background-color: var( --color-surface-0 );
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive );
|
2023-06-03 23:07:14 +00:00
|
|
|
outline: 0;
|
2024-06-30 05:04:30 +00:00
|
|
|
box-shadow: inset 0 0 0 1px var( --color-progressive );
|
2023-06-03 23:07:14 +00:00
|
|
|
}
|
2023-06-03 22:50:25 +00:00
|
|
|
}
|
|
|
|
|
2021-03-07 03:22:51 +00:00
|
|
|
input,
|
|
|
|
select,
|
|
|
|
textarea,
|
|
|
|
button {
|
2021-03-09 18:13:49 +00:00
|
|
|
font-family: var( --font-family-base );
|
2024-04-16 05:28:45 +00:00
|
|
|
border-radius: var( --border-radius--small );
|
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 {
|
|
|
|
color: var( --color-base );
|
2024-04-16 05:28:45 +00:00
|
|
|
background: var( --color-surface-2 );
|
|
|
|
border-color: var( --border-color-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
|
|
|
&-header {
|
2023-06-03 22:50:25 +00:00
|
|
|
font-size: 1rem;
|
2024-04-16 05:28:45 +00:00
|
|
|
font-weight: var( --font-weight-semibold );
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2024-04-16 05:28:45 +00:00
|
|
|
background: var( --color-surface-2--hover );
|
2023-06-03 23:07:14 +00:00
|
|
|
border: 0;
|
2021-03-07 03:22:51 +00:00
|
|
|
}
|
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
|
2024-04-16 05:28:45 +00:00
|
|
|
---------------------------------- */
|
2021-03-07 03:22:51 +00:00
|
|
|
.ui-state-default,
|
|
|
|
.ui-widget-content .ui-state-default,
|
|
|
|
.ui-widget-header .ui-state-default {
|
2024-04-16 05:28:45 +00:00
|
|
|
font-weight: var( --font-weight-medium );
|
2021-03-07 03:22:51 +00:00
|
|
|
color: var( --color-base );
|
2024-04-16 05:28:45 +00:00
|
|
|
background: var( --color-surface-2 );
|
|
|
|
border-color: var( --border-color-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
|
|
|
.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 {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2024-04-16 05:28:45 +00:00
|
|
|
background: var( --color-surface-2--hover );
|
|
|
|
border-color: transparent;
|
2021-03-07 03:22:51 +00:00
|
|
|
}
|
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 {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2021-03-07 03:22:51 +00:00
|
|
|
}
|
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 {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2024-04-16 05:28:45 +00:00
|
|
|
background: var( --color-surface-2--active );
|
|
|
|
border-color: var( --color-surface-2--active );
|
2021-03-07 03:22:51 +00:00
|
|
|
}
|
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 {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
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 Cues
|
2024-04-16 05:28:45 +00:00
|
|
|
---------------------------------- */
|
2021-03-07 03:22:51 +00:00
|
|
|
.ui-state-highlight,
|
|
|
|
.ui-widget-content .ui-state-highlight,
|
|
|
|
.ui-widget-header .ui-state-highlight {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive );
|
2024-07-01 00:41:31 +00:00
|
|
|
background: var( --background-color-progressive-subtle );
|
2024-04-16 05:28:45 +00:00
|
|
|
border-color: var( --border-color-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
|
|
|
.ui-state-highlight a,
|
|
|
|
.ui-widget-content .ui-state-highlight a,
|
|
|
|
.ui-widget-header .ui-state-highlight a {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-progressive );
|
2021-03-07 03:22:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ui-state-error,
|
|
|
|
.ui-widget-content .ui-state-error,
|
|
|
|
.ui-widget-header .ui-state-error {
|
|
|
|
color: var( --color-destructive );
|
2024-04-16 05:28:45 +00:00
|
|
|
background: var( --background-color-destructive );
|
|
|
|
border-color: var( --border-color-base );
|
2021-03-07 03:22:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
2024-07-01 00:41:31 +00:00
|
|
|
background: var( --background-color-backdrop-light );
|
2021-03-07 03:22:51 +00:00
|
|
|
opacity: 1;
|
|
|
|
}
|
2019-12-30 20:02:53 +00:00
|
|
|
|
2024-04-25 00:48:43 +00:00
|
|
|
.skin-theme-clientpref-night {
|
2019-12-30 20:02:53 +00:00
|
|
|
.ui-widget-header .ui-icon {
|
2024-04-16 05:28:45 +00:00
|
|
|
filter: invert( 1 ) hue-rotate( 180deg );
|
2019-12-30 20:02:53 +00:00
|
|
|
}
|
2019-12-30 19:59:22 +00:00
|
|
|
}
|