Site Notice
hello, world
MediaWiki:Css-ssi-modal-ooui-skin.css
From Project-EPB Commons
Invoke this: https://common.wjghj.cn/css/{{#replace:{{#replace:Css-ssi-modal-ooui-skin.css|Css-|}}|.css|}}
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/**
*『Wjghj Project Static』
* This _CascadingStyleSheets_ code is from https://common.wjghj.cn
* CC BY_NC_SA
* ssi-modal OOUI skin
**/
.ssi-modal {
}
.ssi-modal .ssi-modalWindow {
padding: 0;
border-radius: 0;
}
.ssi-modal .ssi-topIcons {
#background: #808080;
text-align: center;
}
.ssi-modal .ssi-topIcons .ssi-closeIcon {
background: none;
color: #d33;
height: 24px;
width: 36px;
font-size: 30px;
line-height: 24px;
}
.ssi-modal .ssi-topIcons .ssi-closeIcon:hover {
background: none;
color: #f22;
height: 24px;
width: 36px;
font-size: 30px;
line-height: 24px;
}
.ssi-modal .ssi-closeIcon:before {
content: '关闭';
font-size: 16px;
display: unset !important;
}
.ssi-modal:not(.notify) .ssi-modalTitle {
font-style: normal;
font-family: sans-serif;
font-weight: bold;
background: #ffffff;
color: #252525;
font-size: 1.1em;
line-height: 1.8em;
text-align: center;
}
.ssi-modal .btn {
font-size: 16px;
font-weight: bold;
color: #222;
border: 1px solid transparent;
border-radius: 2px;
padding: 0.25em 0.8em;
transition: all .1s;
}
.ssi-modal .btn:focus {
box-shadow: inset 0 0 0 2px #36c;
}
.ssi-modal .btn.btn-primary {
color: #fff;
background-color: #36c;
border-color: #36c;
}
.ssi-modal .btn.btn-primary:hover {
background-color: #447ff5;
border-color: #447ff5;
}
.ssi-modal .btn.btn-primary:active {
background-color: #2a4b8d;
}
.ssi-modal .btn.btn-secondary {
color: #252525;
border-color: #c8ccd1;
background-color: #f8f9fa;
}
.ssi-modal .btn.btn-secondary:hover {
background-color: #ffffff;
color: #454545;
}
.ssi-modal .btn.btn-secondary:active {
border: 1px solid #36c;
}
.ssi-modal .btn.btn-danger {
background: transparent;
color: #d33;
background-color: #f4f4f4;
}
.ssi-modal .btn.btn-danger:hover {
color: #ff4242;
background-color: #fafafa;
}
.ssi-modal .btn.btn-danger:active {
color: #d00;
border: 1px solid #36c;
}
.ssi-modal .btn[disabled] {
background-color: #c8ccd1 !important;
color: #ffffff !important;
cursor: not-allowed;
}
.ssi-modal .btn[disabled]:hover {
background-color: #c8ccd1 !important;
color: #ffffff !important;
}
.ssi-modal input {
padding: 0.25em 0.35em;
border: 1px solid #ccc;
border-radius: 2px;
transition: all .2s;
}
.ssi-modal input:focus {
border-color: #36c;
box-shadow: inset 0 0 0 1px #36c;
}
.ssi-modal.centerbox .ssi-modalWindow {
margin-top: 50% !important;
}
.ssi-modal.centerbox .ssi-modalContent {
padding-top: 18px;
font-size: large;
}
.ssi-modal .dialog .ssi-buttons .btn {
margin: 0;
padding: 0.5em;
background: transparent;
color: #252525;
border: 1px solid #efefef;
border-radius: 0;
width:50%;
}
.ssi-modal .dialog .ssi-buttons .btn:hover {
background: #f8f8f8 !important;
}
.ssi-modal.quick-redirect .dialog .ssi-buttons .btn,
.ssi-modal.quick-renamepage .dialog .ssi-buttons .btn,
.ssi-modal.quick-deletepage .dialog .ssi-buttons .btn {
width: 100%;
}
.ssi-modal .dialog .ssi-buttons .btn.btn-danger {
color: #c33;
}
.ssi-modal .dialog .ssi-buttons {
padding: 0;
}
.ssi-modal .dialog .ssi-buttons .ssi-rightButtons {
width:100%;
}
/** 进度条 **/
.progress {
height: 1em;
border: 1px solid #c5c5c5;
border-radius: 2px;
background: white;
overflow: hidden;
}
.progress .progress-bar {
height: 100%;
width: auto;
background: #3360c3;
animation: progress 2s linear infinite;
opacity: 1;
}
.progress.done {
background: #3360c3;
transition: all 0.8s;
}
.progress.done .progress-bar {
animation: none;
width: 0%;
margin: auto 0;
opacity: 0;
transition: all 0.8s;
}
@keyframes progress {
from {
margin-left: -40%;
margin-right: 110%;
}
to {
margin-left: 110%;
margin-right: -40%;
}
}
/* 通知框 */
.ssi-modal.notify {
border-radius: 0;
font-family: unset;
}
.ssi-modal.notify .ssi-modalTitle {
background: none;
color: unset;
}
/** 背景颜色 **/
.ssi-backdrop {
background: rgba(255,255,255,0.5);
}
/** 修改checkbox样式 **/
.ssi-modal input[type=checkbox] + label {
user-select: none;
}
.ssi-modal input[type=checkbox] + label::before {
content: "\a0"; /* 不换行空格 */
display: inline-block;
vertical-align: 2px;
width: 18px;
height: 18px;
margin-right: 5px;
border-radius: 2px;
background-color: #f8f8f8;
text-indent: 2px;
line-height: 1.1;
border: 1px solid #72777d;
cursor: pointer;
}
.ssi-modal input[type="checkbox"]:checked + label::before {
content: "\2713"; /* 对号的 Unicode 编码 */
font-size: 1em;
font-weight: bold;
background-color: #3366cc;
color: white;
}
.ssi-modal input[type="checkbox"]:active + label::before,
.ssi-modal input[type="checkbox"]:focus + label::before {
box-shadow: inset 0 0px 0px 2px rgb(255, 255, 255);
border-color: #3366cc;
}
.ssi-modal input[type='checkbox'] {
position: absolute;
clip:rect(0,0,0,0);
}
.ssi-modal input[type='checkbox'][disabled] + label::before {
border-color: #d6d6d6;
}
.ssi-modal input[type='checkbox'][disabled]:checked + label::before {
background-color: #a0a0a0;
}