mediawiki-skins-Citizen/skinStyles/extensions/Scribunto/ext.scribunto.edit.less
沈澄心 1158a3c13c
feat(VEForAll): add VEForAll styles(#637)
* VEForAll support

* Update ext.veforall.main.less

* Update ext.CommentStreams.less

* Update ext.veforall.main.less

* Update ext.scribunto.edit.less

* Update README.md

Also fix various readme doc
2023-05-27 19:13:38 -04:00

113 lines
2.2 KiB
Plaintext

/*
* Citizen
*
* SkinStyles for Extension:Scribunto
* Module: ext.scribunto.edit
* Version: REL1_39 ebb91f2
*
* Date: 2023-05-23
*/
.mw-scribunto-console-fieldset {
color: var( --color-base );
font-size: 0.875rem;
input[ type='button' ] {
width: 100%;
padding: var( --space-xs ) var( --space-sm );
border-top: 0;
border-bottom-left-radius: var( --border-radius--small );
border-bottom-right-radius: var( --border-radius--small );
cursor: pointer;
font-weight: var( --font-weight-semibold );
&:hover {
background: var( --color-surface-2--hover );
}
&:active {
background: var( --color-surface-2--active );
}
}
}
.mw-scribunto-console-fieldset,
.mw-scribunto-input,
.mw-scribunto-normalOutput,
.mw-scribunto-print,
.mw-scribunto-message,
.mw-scribunto-error,
.mw-scribunto-propList,
.mw-scribunto-tabcomplete,
.mw-scribunto-clear {
background-color: transparent;
}
.mw-scribunto-message {
color: var( --color-base--subtle );
}
.mw-scribunto-message + div {
padding-top: var( --space-sm );
border-top: 1px solid var( --border-color-base );
}
#mw-scribunto-input {
border: 1px solid var( --border-color-base );
background-color: transparent;
border-top-left-radius: var( --border-radius--small );
border-top-right-radius: var( --border-radius--small );
color: var( --color-base--emphasized );
&:hover {
border-color: var( --color-primary--hover );
}
&:focus {
border-color: var( --color-primary );
box-shadow: inset 0 0 0 1px var( --color-primary );
outline: 1px solid transparent;
}
}
.mw-scribunto-input {
display: block;
margin-top: var( --space-md );
color: var( --color-base--emphasized );
font-weight: normal;
// Fake terminal input indicator
&:not( #mw-scribunto-input )::before {
color: var( --color-base--subtle );
content: '> ';
}
}
#mw-scribunto-output p {
margin: 0;
}
.mw-scribunto-normalOutput {
color: var( --color-base );
}
.mw-scribunto-print {
color: var( --color-syntax-brown );
}
.mw-scribunto-error {
color: var( --color-destructive );
}
.mw-scribunto-clear {
color: var( --color-syntax-red );
}
.mw-scribunto-propList {
color: var( --color-syntax-green );
}
.mw-scribunto-tabcomplete {
color: var( --color-syntax-violet );
}