mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-12-05 03:08:52 +00:00
288 lines
5.3 KiB
Plaintext
288 lines
5.3 KiB
Plaintext
/*
|
|
* Citizen
|
|
*
|
|
* SkinStyles for Extension:CodeEditor
|
|
* Module: ext.codeEditor.ace
|
|
* Version: REL1_39 67c012c
|
|
*
|
|
* Date: 2023-06-03
|
|
*/
|
|
|
|
.ace {
|
|
&-tm {
|
|
color: var( --color-base--emphasized );
|
|
background-color: transparent;
|
|
|
|
.ace {
|
|
&_gutter {
|
|
color: var( --color-base--subtle );
|
|
background-color: transparent;
|
|
|
|
&-active-line {
|
|
background-color: var( --background-color-quiet--hover );
|
|
}
|
|
}
|
|
|
|
&_marker-layer {
|
|
.ace {
|
|
&_active-line {
|
|
background-color: var( --background-color-quiet--hover );
|
|
}
|
|
|
|
&_selected-word {
|
|
background: var( --background-color-primary--hover );
|
|
border-color: var( --border-color-base );
|
|
}
|
|
|
|
&_selection {
|
|
background: var( --background-color-primary--active );
|
|
box-shadow: inset 0 0 0 2px var( --color-primary );
|
|
}
|
|
}
|
|
}
|
|
|
|
&_print-margin {
|
|
background: var( --border-color-base );
|
|
}
|
|
|
|
&_cursor {
|
|
color: var( --color-base--emphasized );
|
|
}
|
|
|
|
&_storage,
|
|
&_keyword {
|
|
color: var( --color-syntax-purple );
|
|
}
|
|
|
|
&_constant {
|
|
color: var( --color-syntax-orange );
|
|
|
|
&.ace {
|
|
&_buildin {
|
|
color: var( --color-syntax-orange );
|
|
}
|
|
|
|
&_language {
|
|
color: var( --color-syntax-orange );
|
|
}
|
|
|
|
&_library {
|
|
color: var( --color-syntax-orange );
|
|
}
|
|
|
|
&_numeric {
|
|
color: var( --color-syntax-orange );
|
|
}
|
|
}
|
|
}
|
|
|
|
&_invalid {
|
|
color: var( --color-destructive );
|
|
background-color: var( --background-color-quiet--hover );
|
|
}
|
|
|
|
&_support {
|
|
&.ace {
|
|
&_function {
|
|
color: var( --color-syntax-blue );
|
|
}
|
|
|
|
&_constant {
|
|
color: var( --color-syntax-orange );
|
|
}
|
|
|
|
&_type,
|
|
&_class {
|
|
color: var( --color-syntax-purple );
|
|
}
|
|
}
|
|
}
|
|
|
|
&_keyword {
|
|
&.ace {
|
|
&_operator {
|
|
color: var( --color-syntax-cyan );
|
|
}
|
|
}
|
|
}
|
|
|
|
&_string {
|
|
color: var( --color-syntax-green );
|
|
|
|
&.ace {
|
|
&_regex {
|
|
color: var( --color-syntax-red );
|
|
}
|
|
}
|
|
}
|
|
|
|
&_comment {
|
|
color: var( --color-base--subtle );
|
|
|
|
&.ace {
|
|
&_doc {
|
|
&.ace {
|
|
&_tag {
|
|
color: var( --color-base--subtle );
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&_variable {
|
|
color: var( --color-syntax-yellow );
|
|
}
|
|
|
|
&_xml-pe {
|
|
color: var( --color-syntax-brown );
|
|
}
|
|
|
|
&_entity {
|
|
&.ace {
|
|
&_name {
|
|
&.ace {
|
|
&_function {
|
|
color: var( --color-syntax-blue );
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&_heading {
|
|
color: var( --color-syntax-blue );
|
|
}
|
|
|
|
&_list {
|
|
color: var( --color-syntax-red );
|
|
}
|
|
|
|
&_meta {
|
|
&.ace {
|
|
&_tag {
|
|
color: var( --color-syntax-blue );
|
|
}
|
|
}
|
|
}
|
|
|
|
&_paren,
|
|
&_punctuation {
|
|
color: var( --color-syntax-cyan );
|
|
}
|
|
|
|
&_indent-guide {
|
|
opacity: var( --opacity-base--disabled );
|
|
}
|
|
}
|
|
}
|
|
|
|
&_gutter {
|
|
&-cell {
|
|
color: var( --color-base--subtle );
|
|
}
|
|
}
|
|
|
|
&_search {
|
|
color: var( --color-base--subtle );
|
|
background-color: var( --color-surface-2 );
|
|
border-color: var( --border-color-base );
|
|
|
|
&_field {
|
|
color: var( --color-base--emphasized );
|
|
background-color: transparent;
|
|
border-color: var( --border-color-interactive );
|
|
border-top-left-radius: var( --border-radius--small );
|
|
border-bottom-left-radius: var( --border-radius--small );
|
|
|
|
&:hover {
|
|
background-color: var( --color-surface-0 );
|
|
border-color: var( --color-primary--hover );
|
|
}
|
|
|
|
&:focus {
|
|
background-color: var( --color-surface-0 );
|
|
border-color: var( --color-primary );
|
|
box-shadow: inset 0 0 0 1px var( --color-primary );
|
|
}
|
|
}
|
|
|
|
&btn {
|
|
font-weight: var( --font-weight-semibold );
|
|
color: var( --color-base--emphasized );
|
|
background-color: transparent;
|
|
border-color: var( --border-color-interactive );
|
|
|
|
&:last-child {
|
|
border-color: var( --border-color-interactive );
|
|
}
|
|
|
|
&:hover {
|
|
background-color: var( --background-color-quiet--hover );
|
|
}
|
|
|
|
&:active {
|
|
background-color: var( --background-color-quiet--active );
|
|
}
|
|
}
|
|
}
|
|
|
|
&_button {
|
|
font-weight: var( --font-weight-semibold );
|
|
color: var( --color-base--emphasized );
|
|
border-color: transparent;
|
|
border-radius: var( --border-radius--small );
|
|
|
|
&:hover {
|
|
background-color: var( --background-color-quiet--hover );
|
|
}
|
|
|
|
&:active {
|
|
background-color: var( --background-color-quiet--active );
|
|
}
|
|
|
|
&.checked {
|
|
background-color: var( --background-color-primary--active );
|
|
border-color: transparent;
|
|
}
|
|
}
|
|
|
|
&_optionsMenuEntry {
|
|
button {
|
|
background-color: var( --color-surface-3 );
|
|
border-color: var( --border-color-base );
|
|
|
|
&:hover {
|
|
background-color: var( --background-color-quiet--hover );
|
|
}
|
|
|
|
&:active {
|
|
background-color: var( --background-color-quiet--active );
|
|
}
|
|
|
|
&[ ace_selected_button='true' ] {
|
|
color: var( --color-inverted-primary );
|
|
background-color: var( --color-primary );
|
|
border-color: var( --color-primary );
|
|
box-shadow: none;
|
|
|
|
&:hover {
|
|
background-color: var( --color-primary--hover );
|
|
border-color: var( --color-primary--hover );
|
|
}
|
|
|
|
&:active {
|
|
background-color: var( --color-primary--active );
|
|
border-color: var( --color-primary--active );
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#ace_settingsmenu {
|
|
color: var( --color-base );
|
|
background-color: var( --color-surface-0 );
|
|
box-shadow: var( --box-shadow-dialog );
|
|
}
|