2023-05-23 16:27:54 +00:00
|
|
|
/*
|
|
|
|
* Citizen
|
|
|
|
*
|
|
|
|
* SkinStyles for Extension:Scribunto
|
|
|
|
* Module: ext.scribunto.edit
|
2023-05-27 23:13:38 +00:00
|
|
|
* Version: REL1_39 ebb91f2
|
2023-05-23 16:27:54 +00:00
|
|
|
*
|
2023-06-01 22:47:40 +00:00
|
|
|
* Date: 2023-05-29
|
2023-05-23 16:27:54 +00:00
|
|
|
*/
|
|
|
|
|
2023-05-23 18:53:52 +00:00
|
|
|
.mw-scribunto-console-fieldset {
|
2024-02-26 22:16:07 +00:00
|
|
|
font-size: var( --font-size-small );
|
2023-07-28 01:19:27 +00:00
|
|
|
color: var( --color-base );
|
2023-05-23 18:53:52 +00:00
|
|
|
|
|
|
|
input[ type='button' ] {
|
|
|
|
width: 100%;
|
|
|
|
padding: var( --space-xs ) var( --space-sm );
|
2024-04-16 05:28:45 +00:00
|
|
|
margin: var( --space-xs ) 0;
|
2024-02-06 02:09:30 +00:00
|
|
|
font-weight: var( --font-weight-medium );
|
2024-06-10 23:47:49 +00:00
|
|
|
color: var( --color-inverted-fixed );
|
2024-04-16 05:28:45 +00:00
|
|
|
cursor: pointer;
|
2024-02-06 02:09:30 +00:00
|
|
|
background-color: var( --color-destructive );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2023-05-23 18:53:52 +00:00
|
|
|
|
|
|
|
&:hover {
|
2024-02-06 02:09:30 +00:00
|
|
|
background: var( --color-destructive--hover );
|
2023-05-23 18:53:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2024-02-06 02:09:30 +00:00
|
|
|
background: var( --color-destructive--active );
|
2023-05-23 18:53:52 +00:00
|
|
|
}
|
|
|
|
}
|
2024-02-06 02:09:30 +00:00
|
|
|
|
|
|
|
> div:last-child {
|
|
|
|
position: sticky;
|
2024-04-16 05:28:45 +00:00
|
|
|
bottom: 0;
|
2024-02-06 02:09:30 +00:00
|
|
|
}
|
2023-05-23 18:53:52 +00:00
|
|
|
}
|
|
|
|
|
2023-05-23 16:29:02 +00:00
|
|
|
.mw-scribunto-console-fieldset,
|
|
|
|
.mw-scribunto-input,
|
|
|
|
.mw-scribunto-normalOutput,
|
|
|
|
.mw-scribunto-print,
|
2023-05-23 18:53:52 +00:00
|
|
|
.mw-scribunto-message,
|
2023-05-23 16:29:02 +00:00
|
|
|
.mw-scribunto-error,
|
|
|
|
.mw-scribunto-propList,
|
|
|
|
.mw-scribunto-tabcomplete,
|
|
|
|
.mw-scribunto-clear {
|
2023-05-23 18:53:52 +00:00
|
|
|
background-color: transparent;
|
2023-05-23 16:27:54 +00:00
|
|
|
}
|
|
|
|
|
2023-05-23 18:53:52 +00:00
|
|
|
.mw-scribunto-message {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2023-05-23 18:53:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-scribunto-message + div {
|
|
|
|
padding-top: var( --space-sm );
|
2024-07-15 06:07:25 +00:00
|
|
|
border-top: var( --border-width-base ) solid var( --border-color-base );
|
2023-05-23 16:27:54 +00:00
|
|
|
}
|
|
|
|
|
2024-02-06 02:09:30 +00:00
|
|
|
#mw-scribunto-output {
|
2024-02-25 08:46:46 +00:00
|
|
|
font-family: var( --font-family-monospace );
|
2024-02-26 22:14:19 +00:00
|
|
|
font-size: var( --font-size-x-small );
|
2024-02-06 02:09:30 +00:00
|
|
|
}
|
|
|
|
|
2023-05-23 16:27:54 +00:00
|
|
|
#mw-scribunto-input {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2023-05-23 18:53:52 +00:00
|
|
|
background-color: transparent;
|
2024-07-15 06:07:25 +00:00
|
|
|
border: var( --border-width-base ) solid var( --border-color-base );
|
2024-07-05 17:24:31 +00:00
|
|
|
border-radius: var( --border-radius-base );
|
2023-05-23 18:53:52 +00:00
|
|
|
|
|
|
|
&:hover {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive--hover );
|
2023-05-23 18:53:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:focus {
|
2024-06-30 05:04:30 +00:00
|
|
|
border-color: var( --color-progressive );
|
2024-07-15 06:07:25 +00:00
|
|
|
outline: var( --border-width-base ) solid transparent;
|
2024-06-30 05:04:30 +00:00
|
|
|
box-shadow: inset 0 0 0 1px var( --color-progressive );
|
2023-05-23 18:53:52 +00:00
|
|
|
}
|
2023-05-23 16:27:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-scribunto-input {
|
2023-05-23 18:53:52 +00:00
|
|
|
display: block;
|
|
|
|
margin-top: var( --space-md );
|
|
|
|
font-weight: normal;
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2023-05-23 18:53:52 +00:00
|
|
|
|
|
|
|
// Fake terminal input indicator
|
|
|
|
&:not( #mw-scribunto-input )::before {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle );
|
2023-05-23 18:53:52 +00:00
|
|
|
content: '> ';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#mw-scribunto-output p {
|
|
|
|
margin: 0;
|
2023-05-23 16:27:54 +00:00
|
|
|
}
|
2023-05-23 16:29:02 +00:00
|
|
|
|
2023-05-23 16:27:54 +00:00
|
|
|
.mw-scribunto-normalOutput {
|
|
|
|
color: var( --color-base );
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-scribunto-print {
|
|
|
|
color: var( --color-syntax-brown );
|
|
|
|
}
|
|
|
|
|
2023-05-23 18:53:52 +00:00
|
|
|
.mw-scribunto-error {
|
2024-07-01 03:50:21 +00:00
|
|
|
color: var( --color-destructive );
|
2023-05-23 18:53:52 +00:00
|
|
|
}
|
|
|
|
|
2023-05-23 16:29:02 +00:00
|
|
|
.mw-scribunto-clear {
|
2023-05-23 16:27:54 +00:00
|
|
|
color: var( --color-syntax-red );
|
|
|
|
}
|
|
|
|
|
2023-05-23 18:53:52 +00:00
|
|
|
.mw-scribunto-propList {
|
2023-05-23 16:27:54 +00:00
|
|
|
color: var( --color-syntax-green );
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-scribunto-tabcomplete {
|
|
|
|
color: var( --color-syntax-violet );
|
|
|
|
}
|