add f0ck98 theme
This commit is contained in:
339
public/s/css/98.css
Normal file
339
public/s/css/98.css
Normal file
@@ -0,0 +1,339 @@
|
||||
/* 98.css framework - Scoped exclusively for f0ck98 theme */
|
||||
|
||||
@font-face {
|
||||
font-family: "Pixelated MS Sans Serif";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url("/s/fonts/ms_sans_serif.woff2") format("woff2");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Pixelated MS Sans Serif";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url("/s/fonts/ms_sans_serif_bold.woff2") format("woff2");
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] {
|
||||
--w98-silver: #c0c0c0;
|
||||
--w98-teal: #008080;
|
||||
--w98-navy: #000080;
|
||||
--w98-navy-gradient: linear-gradient(90deg, navy, #1084d0);
|
||||
--w98-dark-shadow: #0a0a0a;
|
||||
--w98-light-highlight: #ffffff;
|
||||
--w98-mid-gray: grey;
|
||||
--w98-light-gray: #dfdfdf;
|
||||
|
||||
color: #000;
|
||||
font-family: "Pixelated MS Sans Serif", Arial, sans-serif;
|
||||
font-size: 11px;
|
||||
background-color: var(--w98-silver) !important;
|
||||
background: var(--w98-silver) !important;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] body {
|
||||
color: #000;
|
||||
font-family: "Pixelated MS Sans Serif", Arial, sans-serif;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .title-bar,
|
||||
html[theme="f0ck98"] .window,
|
||||
html[theme="f0ck98"] button,
|
||||
html[theme="f0ck98"] input,
|
||||
html[theme="f0ck98"] label,
|
||||
html[theme="f0ck98"] legend,
|
||||
html[theme="f0ck98"] li[role=tab],
|
||||
html[theme="f0ck98"] option,
|
||||
html[theme="f0ck98"] select,
|
||||
html[theme="f0ck98"] table,
|
||||
html[theme="f0ck98"] textarea,
|
||||
html[theme="f0ck98"] ul.tree-view {
|
||||
-webkit-font-smoothing: none;
|
||||
font-family: "Pixelated MS Sans Serif", Arial, sans-serif;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] u {
|
||||
border-bottom: 0.5px solid #222;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Windows 98 Buttons */
|
||||
html[theme="f0ck98"] button,
|
||||
html[theme="f0ck98"] input[type=reset],
|
||||
html[theme="f0ck98"] input[type=submit],
|
||||
html[theme="f0ck98"] .btn {
|
||||
background: silver;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px grey, inset 2px 2px #dfdfdf;
|
||||
box-sizing: border-box;
|
||||
color: #000;
|
||||
min-height: 23px;
|
||||
min-width: 75px;
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] button.default,
|
||||
html[theme="f0ck98"] input[type=reset].default,
|
||||
html[theme="f0ck98"] input[type=submit].default,
|
||||
html[theme="f0ck98"] .btn.default {
|
||||
box-shadow: inset -2px -2px #0a0a0a, inset 1px 1px #0a0a0a, inset 2px 2px #fff, inset -3px -3px grey, inset 3px 3px #dfdfdf;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .vertical-bar {
|
||||
background: silver;
|
||||
box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px grey, inset 2px 2px #dfdfdf;
|
||||
height: 20px;
|
||||
width: 4px;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] button:not(:disabled):active,
|
||||
html[theme="f0ck98"] input[type=reset]:not(:disabled):active,
|
||||
html[theme="f0ck98"] input[type=submit]:not(:disabled):active,
|
||||
html[theme="f0ck98"] .btn:not(:disabled):active {
|
||||
box-shadow: inset -1px -1px #fff, inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf, inset 2px 2px grey;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] button.default:not(:disabled):active,
|
||||
html[theme="f0ck98"] input[type=reset].default:not(:disabled):active,
|
||||
html[theme="f0ck98"] input[type=submit].default:not(:disabled):active {
|
||||
box-shadow: inset 2px 2px #0a0a0a, inset -1px -1px #0a0a0a, inset -2px -2px #fff, inset 3px 3px grey, inset -3px -3px #dfdfdf;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] button:focus,
|
||||
html[theme="f0ck98"] input[type=reset]:focus,
|
||||
html[theme="f0ck98"] input[type=submit]:focus,
|
||||
html[theme="f0ck98"] .btn:focus {
|
||||
outline: 1px dotted #000;
|
||||
outline-offset: -4px;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] :disabled,
|
||||
html[theme="f0ck98"] :disabled+label,
|
||||
html[theme="f0ck98"] input[readonly],
|
||||
html[theme="f0ck98"] input[readonly]+label {
|
||||
color: grey;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] :disabled+label,
|
||||
html[theme="f0ck98"] button:disabled,
|
||||
html[theme="f0ck98"] input[type=reset]:disabled,
|
||||
html[theme="f0ck98"] input[type=submit]:disabled,
|
||||
html[theme="f0ck98"] .btn:disabled {
|
||||
text-shadow: 1px 1px 0 #fff;
|
||||
}
|
||||
|
||||
/* Window Shell & Title Bars */
|
||||
html[theme="f0ck98"] .window {
|
||||
background: silver;
|
||||
box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #dfdfdf, inset -2px -2px grey, inset 2px 2px #fff;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .title-bar {
|
||||
align-items: center;
|
||||
background: linear-gradient(90deg, navy, #1084d0);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 3px 2px 3px 3px;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .title-bar.inactive {
|
||||
background: linear-gradient(90deg, grey, #b5b5b5);
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .title-bar-text {
|
||||
color: #fff;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0;
|
||||
margin-right: 24px;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .title-bar-controls {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .title-bar-controls button {
|
||||
display: block;
|
||||
min-height: 14px;
|
||||
min-width: 16px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .title-bar-controls button:active {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .title-bar-controls button:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .title-bar-controls button[aria-label=Minimize],
|
||||
html[theme="f0ck98"] .title-bar-controls button[aria-label].minimize {
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='6' height='2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M0 0h6v2H0z'/%3E%3C/svg%3E");
|
||||
background-position: bottom 3px left 4px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .title-bar-controls button[aria-label=Maximize],
|
||||
html[theme="f0ck98"] .title-bar-controls button[aria-label].maximize {
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='9' height='9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 0H0v9h9V0zM8 2H1v6h7V2z' fill='%23000'/%3E%3C/svg%3E");
|
||||
background-position: top 2px left 3px;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .title-bar-controls button[aria-label=Close],
|
||||
html[theme="f0ck98"] .title-bar-controls button[aria-label].close {
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h2v1h1v1h2V1h1V0h2v1H7v1H6v1H5v1h1v1h1v1h1v1H6V6H5V5H3v1H2v1H0V6h1V5h1V4h1V3H2V2H1V1H0V0z' fill='%23000'/%3E%3C/svg%3E");
|
||||
background-position: top 3px left 4px;
|
||||
background-repeat: no-repeat;
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
/* Status Bar */
|
||||
html[theme="f0ck98"] .status-bar {
|
||||
gap: 1px;
|
||||
display: flex;
|
||||
margin: 0 1px;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .status-bar-field {
|
||||
box-shadow: inset -1px -1px #dfdfdf, inset 1px 1px grey;
|
||||
flex-grow: 1;
|
||||
margin: 0;
|
||||
padding: 2px 3px;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .window-body {
|
||||
margin: 8px;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] fieldset {
|
||||
border-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='5' height='5' fill='gray' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h5v5H0V2h2v1h1V2H0' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0h4v4H0V1h1v2h2V1H0'/%3E%3C/svg%3E") 2;
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
padding-block-start: 8px;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] legend {
|
||||
background: silver;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .field-row {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] [class^=field-row]+[class^=field-row] {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .field-row>*+* {
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] label {
|
||||
align-items: center;
|
||||
display: inline-flex;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* Form Inputs & Textarea */
|
||||
html[theme="f0ck98"] input[type=email],
|
||||
html[theme="f0ck98"] input[type=number],
|
||||
html[theme="f0ck98"] input[type=password],
|
||||
html[theme="f0ck98"] input[type=search],
|
||||
html[theme="f0ck98"] input[type=tel],
|
||||
html[theme="f0ck98"] input[type=text],
|
||||
html[theme="f0ck98"] input[type=url],
|
||||
html[theme="f0ck98"] select,
|
||||
html[theme="f0ck98"] textarea {
|
||||
background-color: #fff;
|
||||
box-shadow: inset -1px -1px #fff, inset 1px 1px grey, inset -2px -2px #dfdfdf, inset 2px 2px #0a0a0a;
|
||||
box-sizing: border-box;
|
||||
padding: 3px 4px;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] input[type=email]:disabled,
|
||||
html[theme="f0ck98"] input[type=number]:disabled,
|
||||
html[theme="f0ck98"] input[type=password]:disabled,
|
||||
html[theme="f0ck98"] input[type=search]:disabled,
|
||||
html[theme="f0ck98"] input[type=tel]:disabled,
|
||||
html[theme="f0ck98"] input[type=text]:disabled,
|
||||
html[theme="f0ck98"] input[type=url]:disabled,
|
||||
html[theme="f0ck98"] textarea:disabled {
|
||||
background-color: silver;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] select {
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 6H4v1h1v1h1v1h1v1h1V9h1V8h1V7h1V6z' fill='%23000'/%3E%3C/svg%3E");
|
||||
background-position: top 2px right 2px;
|
||||
background-repeat: no-repeat;
|
||||
border-radius: 0;
|
||||
padding-right: 32px;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] input[type=email]:focus,
|
||||
html[theme="f0ck98"] input[type=number]:focus,
|
||||
html[theme="f0ck98"] input[type=password]:focus,
|
||||
html[theme="f0ck98"] input[type=search]:focus,
|
||||
html[theme="f0ck98"] input[type=tel]:focus,
|
||||
html[theme="f0ck98"] input[type=text]:focus,
|
||||
html[theme="f0ck98"] input[type=url]:focus,
|
||||
html[theme="f0ck98"] select:focus,
|
||||
html[theme="f0ck98"] textarea:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] a {
|
||||
color: #000080;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] a:focus {
|
||||
outline: 1px dotted #000080;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] .sunken-panel {
|
||||
background-color: #fff;
|
||||
box-shadow: inset -1px -1px #fff, inset 1px 1px grey, inset -2px -2px #dfdfdf, inset 2px 2px #0a0a0a;
|
||||
box-sizing: border-box;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/* Scoped Scrollbars for f0ck98 */
|
||||
html[theme="f0ck98"] ::-webkit-scrollbar {
|
||||
width: 16px;
|
||||
height: 17px;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] ::-webkit-scrollbar-corner {
|
||||
background: #dfdfdf;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] ::-webkit-scrollbar-track {
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='2' height='2' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 0H0v1h1v1h1V1H1V0z' fill='silver'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 0H1v1H0v1h1V1h1V0z' fill='%23fff'/%3E%3C/svg%3E");
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] ::-webkit-scrollbar-thumb {
|
||||
background-color: #dfdfdf;
|
||||
box-shadow: inset -1px -1px #0a0a0a, inset 1px 1px #fff, inset -2px -2px grey, inset 2px 2px #dfdfdf;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] ::-webkit-scrollbar-button:vertical:start {
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 6H7v1H6v1H5v1H4v1h7V9h-1V8H9V7H8V6z' fill='%23000'/%3E%3C/svg%3E");
|
||||
height: 17px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
html[theme="f0ck98"] ::-webkit-scrollbar-button:vertical:end {
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 0H0v16h1V1h14V0z' fill='%23DFDFDF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2 1H1v14h1V2h12V1H2z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16 17H0v-1h15V0h1v17z' fill='%23000'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M15 1h-1v14H1v1h14V1z' fill='gray'/%3E%3Cpath fill='silver' d='M2 2h12v13H2z'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11 6H4v1h1v1h1v1h1v1h1V9h1V8h1V7h1V6z' fill='%23000'/%3E%3C/svg%3E");
|
||||
height: 17px;
|
||||
display: block;
|
||||
}
|
||||
Reference in New Issue
Block a user