Hot dang, icons now show up in Chrome as well.

Also cleaned up some of the mess.
This commit is contained in:
Tamius Han 2022-01-29 16:23:40 +01:00
parent 5a2d8d22cb
commit 85fed9d4c5
54 changed files with 28389 additions and 890 deletions

96
package-lock.json generated
View File

@ -2329,6 +2329,35 @@
"resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz",
"integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==" "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ=="
}, },
"adjust-sourcemap-loader": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/adjust-sourcemap-loader/-/adjust-sourcemap-loader-4.0.0.tgz",
"integrity": "sha512-OXwN5b9pCUXNQHJpwwD2qP40byEmSgzj8B4ydSN0uMNYWiFmJ6x6KwUllMmfk8Rwu/HJDFR7U8ubsWBoN0Xp0A==",
"dev": true,
"requires": {
"loader-utils": "^2.0.0",
"regex-parser": "^2.2.11"
},
"dependencies": {
"emojis-list": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz",
"integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==",
"dev": true
},
"loader-utils": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz",
"integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==",
"dev": true,
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
}
}
},
"aggregate-error": { "aggregate-error": {
"version": "3.1.0", "version": "3.1.0",
"resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz",
@ -10428,6 +10457,12 @@
"safe-regex": "^1.1.0" "safe-regex": "^1.1.0"
} }
}, },
"regex-parser": {
"version": "2.2.11",
"resolved": "https://registry.npmjs.org/regex-parser/-/regex-parser-2.2.11.tgz",
"integrity": "sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q==",
"dev": true
},
"regexpu-core": { "regexpu-core": {
"version": "4.8.0", "version": "4.8.0",
"resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.8.0.tgz", "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.8.0.tgz",
@ -10581,6 +10616,67 @@
"resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz",
"integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=" "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo="
}, },
"resolve-url-loader": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-5.0.0.tgz",
"integrity": "sha512-uZtduh8/8srhBoMx//5bwqjQ+rfYOUq8zC9NrMUGtjBiGTtFJM42s58/36+hTqeqINcnYe08Nj3LkK9lW4N8Xg==",
"dev": true,
"requires": {
"adjust-sourcemap-loader": "^4.0.0",
"convert-source-map": "^1.7.0",
"loader-utils": "^2.0.0",
"postcss": "^8.2.14",
"source-map": "0.6.1"
},
"dependencies": {
"emojis-list": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz",
"integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==",
"dev": true
},
"loader-utils": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz",
"integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==",
"dev": true,
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
},
"nanoid": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.2.0.tgz",
"integrity": "sha512-fmsZYa9lpn69Ad5eDn7FMcnnSR+8R34W9qJEijxYhTbfOWzr22n1QxCMzXLK+ODyW2973V3Fux959iQoUxzUIA==",
"dev": true
},
"postcss": {
"version": "8.4.5",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.5.tgz",
"integrity": "sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==",
"dev": true,
"requires": {
"nanoid": "^3.1.30",
"picocolors": "^1.0.0",
"source-map-js": "^1.0.1"
}
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
"dev": true
},
"source-map-js": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
"dev": true
}
}
},
"responselike": { "responselike": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz", "resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",

View File

@ -66,6 +66,7 @@
"file-loader": "^1.1.11", "file-loader": "^1.1.11",
"mini-css-extract-plugin": "^0.4.4", "mini-css-extract-plugin": "^0.4.4",
"node-sass": "^4.14.1", "node-sass": "^4.14.1",
"resolve-url-loader": "^5.0.0",
"sass-loader": "^7.1.0", "sass-loader": "^7.1.0",
"ts-loader": "^8.3.0", "ts-loader": "^8.3.0",
"vue-cli-plugin-vue-next": "~0.1.4", "vue-cli-plugin-vue-next": "~0.1.4",

View File

@ -151,99 +151,97 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '../../res/css/colors.scss'; @import '../../res/css/colors.scss';
.uw-ultrawidify-container-root { .action {
.action { cursor: pointer;
cursor: pointer; position: relative;
position: relative; box-sizing: border-box;
box-sizing: border-box; }
}
.action .command-details { .action .command-details {
height: 0px; height: 0px;
max-height: 0px; max-height: 0px;
transition: max-height 0.5s ease; transition: max-height 0.5s ease;
overflow: hidden; overflow: hidden;
transition: height 0.5s ease; transition: height 0.5s ease;
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
width: 50%; width: 50%;
} }
.action:hover .command-details { .action:hover .command-details {
height: auto; height: auto;
max-height: 200px; max-height: 200px;
transition: max-height 0.5s ease; transition: max-height 0.5s ease;
} }
.command-details { .command-details {
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
width: 50%; width: 50%;
} }
.action-name-cmd-container, .p1rem { .action-name-cmd-container, .p1rem {
padding: 1rem; padding: 1rem;
} }
.cd-pad { .cd-pad {
padding: 0.5em; padding: 0.5em;
} }
.action-name { .action-name {
font-size: 1.5rem; font-size: 1.5rem;
font-weight: 300; font-weight: 300;
color: $text-normal; color: $text-normal;
width: 50%; width: 50%;
} }
.action-name:hover, .action:hover .action-name { .action-name:hover, .action:hover .action-name {
color: lighten($primary-color, 20%); color: lighten($primary-color, 20%);
} }
.red { .red {
color: $primary-color !important; color: $primary-color !important;
} }
.cmd-container { .cmd-container {
width: 13.37rem; width: 13.37rem;
} }
.cmdlist { .cmdlist {
font-family: 'Overpass Mono'; font-family: 'Overpass Mono';
font-size: 0.9rem; font-size: 0.9rem;
color: $text-dim; color: $text-dim;
} }
.bold { .bold {
font-weight: 600; font-weight: 600;
} }
.scope-scope { .scope-scope {
width: 5rem; width: 5rem;
text-align: right !important; text-align: right !important;
color: $secondary-color; color: $secondary-color;
} }
.scope-visible { .scope-visible {
width: 7rem; width: 7rem;
} }
.scope-button-label { .scope-button-label {
width: 16rem; width: 16rem;
} }
.scope-row-label { .scope-row-label {
color: $text-dark; color: $text-dark;
} }
.scope-row-highlight { .scope-row-highlight {
color: $text-normal; color: $text-normal;
} }
.transparent { .transparent {
opacity: 0; opacity: 0;
}
} }
</style> </style>

View File

@ -2,7 +2,6 @@
<div class="button center-text" <div class="button center-text"
:class="{'setting-selected': selected }" :class="{'setting-selected': selected }"
> >
<mdicon v-if="icon" :name="icon" class="icon" />
<div class="label"> <div class="label">
{{label}} {{label}}
</div> </div>

View File

@ -0,0 +1,38 @@
<template>
<div class="flex flex-column flex-center">
<template v-if="!editing">
<div class="flex flex-self-center">
{{label}}
</div>
<div class="flex dark flex-self-center">
<small>
{{shortcut ? `(${shortcut})` : ''}}
</small>
</div>
</template>
<template v-else>
<div class="flex flex-row flex-center">
</div>
</template>
</div>
</template>
<script>
export default {
props: {
label: String,
shortcut: String,
editing: Boolean,
}
}
</script>
<style lang="scss" scoped>
.center-text {
text-align: center;
}
.dark {
opacity: 50%;
}
</style>

View File

@ -1,25 +1,23 @@
.uw-ultrawidify-container-root { .json-level-indent {
.json-level-indent { padding-left: 2em !important;
padding-left: 2em !important; font-family: 'Overpass Mono', monospace;
font-family: 'Overpass Mono', monospace; }
} .item-key {
.item-key { color: rgb(255, 196, 148);
color: rgb(255, 196, 148); }
} .item-key-boolean-false {
.item-key-boolean-false { color: rgb(207, 149, 101)
color: rgb(207, 149, 101) }
}
.json-value-boolean-true {
.json-value-boolean-true { color: rgb(150, 240, 198);
color: rgb(150, 240, 198); }
} .json-value-boolean-false {
.json-value-boolean-false { color: rgb(241, 21, 21);
color: rgb(241, 21, 21); }
} .json-value-number {
.json-value-number { color: rgb(121, 121, 238);
color: rgb(121, 121, 238); }
} .json-value-string {
.json-value-string { color: rgb(226, 175, 7);
color: rgb(226, 175, 7);
}
} }

View File

@ -22,34 +22,32 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.uw-ultrawidify-container-root { .mt2px {
.mt2px { margin-top: 7px;
margin-top: 7px; }
} .id {
.id { border: 1px solid #d00;
border: 1px solid #d00; background-color: rgba(216, 94, 24, 0.25)
background-color: rgba(216, 94, 24, 0.25) }
} .class {
.class { border: 1px solid #33d;
border: 1px solid #33d; background-color: rgba(69, 69, 255, 0.25)
background-color: rgba(69, 69, 255, 0.25) }
} .closeButton {
.closeButton { margin-top: 2px;
margin-top: 2px; margin-left: 4px;
margin-left: 4px; margin-right: 4px;
margin-right: 4px; font-size: 1.5em;
font-size: 1.5em; color: #e00;
color: #e00; }
} .closeButton:hover {
.closeButton:hover { cursor: pointer;
cursor: pointer; color: #fa6;
color: #fa6; }
} .qsb {
.qsb { cursor:default;
cursor:default; margin-left: 3px;
margin-left: 3px; margin-right: 3px;
margin-right: 3px; margin-bottom: 2px;
margin-bottom: 2px;
}
} }
</style> </style>

View File

@ -21,12 +21,10 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.uw-ultrawidify-container-root { .center-text {
.center-text { text-align: center;
text-align: center; }
} .dark {
.dark { opacity: 50%;
opacity: 50%;
}
} }
</style> </style>

View File

@ -327,135 +327,133 @@ export default {
@import '../res/css/font/overpass-mono.css'; @import '../res/css/font/overpass-mono.css';
@import '../res/css/common.scss'; @import '../res/css/common.scss';
.uw-ultrawidify-container-root { .root-window {
.root-window { position: fixed !important;
position: fixed !important; top: 5vh !important;
top: 5vh !important; left: 5vw !important;
left: 5vw !important; width: 90vw !important;
width: 90vw !important; height: 90vh !important;
height: 90vh !important; z-index: 999999 !important;
z-index: 999999 !important; background-color: rgba( $page-background, 0.9) !important;
background-color: rgba( $page-background, 0.9) !important; color: #f1f1f1 !important;
color: #f1f1f1 !important; font-size: 14px !important;
font-size: 14px !important;
box-sizing: border-box !important; box-sizing: border-box !important;
pointer-events: auto !important; pointer-events: auto !important;
} }
div { div {
font-family: 'Overpass'; font-family: 'Overpass';
} }
h1, h2 { h1, h2 {
font-family: 'Overpass Thin'; font-family: 'Overpass Thin';
} }
h1 {
font-size: 4em;
}
h2 {
font-size: 2em;
}
.header {
h1 { h1 {
font-size: 4em; margin-bottom: -0.20em;
margin-top: 0.0em;
} }
h2 { .header-top, .header-bottom {
font-size: 2em; padding-left: 16px;
padding-right: 16px;
} }
.header-top {
.header { background-color: $popup-header-background !important;
h1 {
margin-bottom: -0.20em;
margin-top: 0.0em;
}
.header-top, .header-bottom {
padding-left: 16px;
padding-right: 16px;
}
.header-top {
background-color: $popup-header-background !important;
}
.header-bottom {
font-size: 1.75em;
}
} }
.content { .header-bottom {
box-sizing: border-box; font-size: 1.75em;
padding: 8px 32px;
width: 100%;
}
.settings-panel {
box-sizing: border-box;
padding-right: 8px;
flex-grow: 2 !important;
min-width: 30% !important;
flex-shrink: 0 !important;
height: inherit !important;
}
.results-panel {
box-sizing: border-box;
padding-left: 8px;
max-width: 70% !important;
flex-grow: 5 !important;
flex-shrink: 0 !important;
height: inherit !important;
}
.scrollable {
overflow: auto;
}
.overflow-hidden {
overflow: hidden;
}
pre {
font-family: 'Overpass Mono';
}
.m-025em {
margin: 0.25em;
}
.p-t-025em {
padding-top: 0.25em;
}
.button {
display: inline-flex;
align-items: center;
justify-items: center;
padding-left: 2em;
padding-right: 2em;
}
.button-primary {
background-color: $primary;
color: #fff;
}
.button-big {
font-size: 1.5em;
padding: 1.75em 3.25em;
}
.button-bar {
font-size: 1.25em;
padding: 0.25em 1.25em;
margin-left: 0.25em;
}
.button-header {
font-size: 2em;
padding-top: 0.1em;
padding-left: 1em;
padding-right: 1em;
}
.jsonbg {
background-color: #131313;
}
.jsonbg-error {
background-color: #884420;
}
.log-config-margin {
margin-top: 3em;
margin-bottom: 3em;
} }
} }
.content {
box-sizing: border-box;
padding: 8px 32px;
width: 100%;
}
.settings-panel {
box-sizing: border-box;
padding-right: 8px;
flex-grow: 2 !important;
min-width: 30% !important;
flex-shrink: 0 !important;
height: inherit !important;
}
.results-panel {
box-sizing: border-box;
padding-left: 8px;
max-width: 70% !important;
flex-grow: 5 !important;
flex-shrink: 0 !important;
height: inherit !important;
}
.scrollable {
overflow: auto;
}
.overflow-hidden {
overflow: hidden;
}
pre {
font-family: 'Overpass Mono';
}
.m-025em {
margin: 0.25em;
}
.p-t-025em {
padding-top: 0.25em;
}
.button {
display: inline-flex;
align-items: center;
justify-items: center;
padding-left: 2em;
padding-right: 2em;
}
.button-primary {
background-color: $primary;
color: #fff;
}
.button-big {
font-size: 1.5em;
padding: 1.75em 3.25em;
}
.button-bar {
font-size: 1.25em;
padding: 0.25em 1.25em;
margin-left: 0.25em;
}
.button-header {
font-size: 2em;
padding-top: 0.1em;
padding-left: 1em;
padding-right: 1em;
}
.jsonbg {
background-color: #131313;
}
.jsonbg-error {
background-color: #884420;
}
.log-config-margin {
margin-top: 3em;
margin-bottom: 3em;
}
</style> </style>

View File

@ -144,19 +144,19 @@ export default {
@import '../res/css/font/overpass-mono.css'; @import '../res/css/font/overpass-mono.css';
@import '../res/css/common.scss'; @import '../res/css/common.scss';
.uw-ultrawidify-container-root { // .uw-ultrawidify-container-root {
position: relative; // position: relative;
width: 100%; // width: 100%;
height: 100%; // height: 100%;
pointer-events: none; // pointer-events: none;
display: block !important; // display: block !important;
position: relative !important; // position: relative !important;
width: 100% !important; // width: 100% !important;
height: 100% !important; // height: 100% !important;
pointer-events: none !important; // pointer-events: none !important;
font-size: 16px !important; // font-size: 16px !important;
.notification-popup { .notification-popup {
pointer-events: auto !important; pointer-events: auto !important;
@ -213,5 +213,5 @@ export default {
pointer-events: auto; pointer-events: auto;
cursor: pointer; cursor: pointer;
} }
} // }
</style> </style>

View File

@ -8,8 +8,7 @@
<div class="site-support-info"> <div class="site-support-info">
<div class="site-support-site">{{site}}</div> <div class="site-support-site">{{site}}</div>
<div v-if="siteSupportLevel === 'official'" class="site-support official"> <div v-if="siteSupportLevel === 'official'" class="site-support official">
<!-- <mdicon name="check-decagram" /> --> <mdicon name="check-decagram" />
<span class="mdi account-edit mdi-account-edit"></span>
<div>Official</div> <div>Official</div>
<div class="tooltip">The extension is being tested and should work on this site.</div> <div class="tooltip">The extension is being tested and should work on this site.</div>
</div> </div>
@ -24,6 +23,7 @@
</div> </div>
<div v-if="siteSupportLevel === 'no-support'" class="site-support no-support"> <div v-if="siteSupportLevel === 'no-support'" class="site-support no-support">
<mdicon name="help-circle-outline" /> <mdicon name="help-circle-outline" />
<span class="mdi help-circle-outline mdi-help-circle-outline"></span>
<div>Unknown</div> <div>Unknown</div>
<div class="tooltip"> <div class="tooltip">
Not officially supported. Extension will try to fix things, but no promises.<br/><br/> Not officially supported. Extension will try to fix things, but no promises.<br/><br/>
@ -32,7 +32,8 @@
</div> </div>
</div> </div>
<div v-if="siteSupportLevel === 'user-added'" class="site-support user-added"> <div v-if="siteSupportLevel === 'user-added'" class="site-support user-added">
<mdicon name="account" /> <!-- <mdicon name="account" /> -->
<span class="mdi account-edit mdi-account-edit"></span>
<div>Custom</div> <div>Custom</div>
<div class="tooltip"> <div class="tooltip">
You have manually changed settings for this site. The extension is doing what you told it to do. You have manually changed settings for this site. The extension is doing what you told it to do.
@ -48,6 +49,7 @@
@click="selectTab('videoSettings')" @click="selectTab('videoSettings')"
> >
<mdicon name="crop" /> <mdicon name="crop" />
<span class="mdi account-edit mdi-account-edit"></span>
Video options Video options
</div> </div>
<div <div
@ -67,10 +69,12 @@
@click="selectTab('advancedOptions')" @click="selectTab('advancedOptions')"
> >
<mdicon name="cogs" /> <mdicon name="cogs" />
<span class="mdi account-edit mdi-cogs"></span>
Advanced options Advanced options
</div> </div>
<div class="tab"> <div class="tab">
<mdicon name="bug-outline" /> <mdicon name="bug-outline" />
<span class="mdi mdi-bug-outline"></span>
Debugging Debugging
</div> </div>
</div> </div>
@ -198,165 +202,156 @@ export default {
} }
</script> </script>
<style lang="scss" src="../res/css/uwui-base.scss" scoped module></style> <style lang="scss" scoped>
<style lang="scss" src="../res/css/flex.scss" scoped module></style>
<style lang="scss" src="../res/css/mdi.scss" scoped module></style>
<style lang="scss" src="./src/res-common/common.scss" scoped module></style>
<style lang="scss" scoped module>
@import '../res/css/uwui-base.scss'; @import 'res/css/uwui-base.scss';
@import '../res/css/colors.scss'; @import 'res/css/colors.scss';
@import '../res/css/font/overpass.css'; @import 'res/css/font/overpass.css';
@import '../res/css/font/overpass-mono.css'; @import 'res/css/font/overpass-mono.css';
@import '../res/css/common.scss'; @import 'res/css/common.scss';
.uw-ultrawidify-container-root { // .relative-wrapper {
// .relative-wrapper { // position: relative;
// position: relative; // width: 100%;
// width: 100%; // height: 100%;
// height: 100%; // }
// }
.site-support-info { .site-support-info {
display: flex; display: flex;
flex-direction: row;
// padding-left: 2rem;
.site-support-site {
font-size: 1.2em;
}
.site-support {
display: inline-flex;
flex-direction: row; flex-direction: row;
// padding-left: 2rem; align-items: center;
.site-support-site { margin-left: 2rem;
font-size: 1.2em; border-radius: 8px;
padding: 0rem 1.5rem 0rem 1rem;
position: relative;
.tooltip {
padding: 1rem;
display: none;
position: absolute;
bottom: 0;
transform: translateY(110%);
width: 42em;
background-color: rgba(0,0,0,0.90);
color: #ccc;
}
&:hover {
.tooltip {
display: block;
}
} }
.site-support { .mdi {
display: inline-flex; margin-right: 1rem;
flex-direction: row; }
align-items: center;
margin-left: 2rem; &.official {
border-radius: 8px; background-color: #fa6;
padding: 0rem 1.5rem 0rem 1rem; color: #000;
position: relative;
.tooltip {
padding: 1rem;
display: none;
position: absolute;
bottom: 0;
transform: translateY(110%);
width: 42em;
background-color: rgba(0,0,0,0.90);
color: #ccc;
}
&:hover {
.tooltip {
display: block;
}
}
.mdi { .mdi {
margin-right: 1rem; fill: #000 !important;
} }
}
&.official { &.community {
background-color: #fa6; background-color: rgb(47, 47, 97);
color: #000; color: #fff;
.mdi { .mdi {
fill: #000 !important; fill: #fff !important;
}
} }
}
&.community { &.no-support {
background-color: rgb(47, 47, 97); background-color: rgb(138, 65, 126);
color: #fff; color: #eee;
.mdi { .mdi {
fill: #fff !important; fill: #eee !important;
}
} }
}
&.no-support { &.user-added {
background-color: rgb(138, 65, 126); border: 1px solid #ff0;
color: #eee;
.mdi { color: #ff0;
fill: #eee !important;
}
}
&.user-added { .mdi {
border: 1px solid #ff0; fill: #ff0 !important;
color: #ff0;
.mdi {
fill: #ff0 !important;
}
} }
} }
} }
.uw-hover {
position: absolute;
top: 10%;
left: 10%;
width: 100px;
height: 100px;
color: #fff;
background-color: #000;
z-index: 999999999999999999;
}
.uw-hover:hover {
background-color: #f00;
}
.popup-panel {
position: absolute;
top: 10%;
left: 10%;
z-index: 999999999999999999;
width: 2500px;
height: 1200px;
max-width: 80%;
max-height: 80%;
pointer-events: all !important;
background-color: rgba(0,0,0,0.50);
color: #fff;
overflow-y: auto;
backdrop-filter: blur(16px) saturate(120%);
.popup-title, .popup-title h1 {
font-size: 48px !important;
}
.tab {
display: block;
height: 42px;
font-size: 2.5rem;
background: rgb(87, 54, 26);
}
.tab:hover {
background-color: #f00;
}
}
pre {
white-space: pre-wrap;
}
} }
.uw-hover {
position: absolute;
top: 10%;
left: 10%;
width: 100px;
height: 100px;
color: #fff;
background-color: #000;
z-index: 999999999999999999;
}
.uw-hover:hover {
background-color: #f00;
}
.popup-panel {
position: absolute;
top: 10%;
left: 10%;
z-index: 999999999999999999;
width: 2500px;
height: 1200px;
max-width: 80%;
max-height: 80%;
pointer-events: all !important;
background-color: rgba(0,0,0,0.50);
color: #fff;
overflow-y: auto;
backdrop-filter: blur(16px) saturate(120%);
.popup-title, .popup-title h1 {
font-size: 48px !important;
}
.tab {
display: block;
height: 42px;
font-size: 2.5rem;
background: rgb(87, 54, 26);
}
.tab:hover {
background-color: #f00;
}
}
pre {
white-space: pre-wrap;
}
</style> </style>

View File

@ -1,4 +1,8 @@
import { createApp } from 'vue'; import { createApp } from 'vue';
import PlayerUiBase from './PlayerUiBase'; import PlayerUiBase from './PlayerUiBase';
import mdiVue from 'mdi-vue/v3';
import * as mdijs from '@mdi/js';
createApp(PlayerUiBase).mount('#app'); createApp(PlayerUiBase)
.use(mdiVue, {icons: mdijs})
.mount('#app');

View File

@ -0,0 +1,18 @@
$text-normal: #ddd;
$text-dim: #999;
$text-dark: #666;
$primary-color: #fb772a;
$primary: $primary-color;
$secondary-color: #e70c0c;
$input-background: #141414;
$input-border: #4e3527;
$page-background: #101010;
$popup-header-background: #7f1416;
$background-primary: #101010;
$selected-color: #f5cbaf;
$background-selected: #412d20;
$info-color: #bda9f3;

View File

@ -0,0 +1,391 @@
@import "colors.scss";
@import "fonts.scss";
@import "flex.scss";
// @import "~/@mdi/font/css/materialdesignicons.css";
// @import "form.scss";
body {
background-color: $background-primary;
color: $text-normal;
font-family: 'Overpass', sans-serif;
font-size: 1.2em;
width: 100%;
min-height: 100%;
height: 100vh;
border: 0px;
margin: 0px;
padding: 0px;
}
/* STANDARD WIDTHS AND HEIGHTS */
.w100 {
width: 100%;
}
.h100 {
height: 100%;
}
.w24 {
width: 100px;
}
.m-t-0-33em {
margin-top: 0.33em;
}
.x-pad-1em {
padding-left: 1em;
padding-right: 1em;
}
/* overflow stuff */
.overflow-y-auto {
overflow: auto;
scrollbar-width: thin;
scrollbar-color: rgba($primary-color, 0.7) $background-primary;
}
.scrollbar-darker {
scrollbar-color: rgba($primary-color, 0.5) $background-primary;
}
/* scrollbars for chrome/webkit */
.overflow-y-auto::-webkit-scrollbar {
width: 3px;
}
.overflow-y-auto::-webkit-scrollbar-track {
background: $background-primary;
}
.overflow-y-auto::-webkit-scrollbar-thumb {
background: rgba($primary-color, 0.7);
}
.overflow-y-auto::-webkit-scrollbar-button {
display: none;
}
.scrollbar-darker::-webkit-scrollbar-thumb {
background: rgba($primary-color, 0.5);
}
.no-overflow {
overflow: hidden;
}
.no-overflow-x {
overflow-x: hidden;
}
.no-overflow-y {
overflow-y: hidden;
}
/* .SELECTED CLASSES */
.selected-tab {
background-color: initial;
border-left: $primary-color 5px solid;
}
.selected-tab-secondary {
background-color: initial;
border-left: $secondary-color 3px solid !important;
}
/* BASIC STYLING */
.description {
color: $text-dim;
font-size: 1rem;
}
.label {
padding-top: 1.5rem;
font-size: 1.5rem;
font-variant: small-caps;
font-weight: 600;
}
.label-secondary {
font-weight: 600;
}
.button-box {
padding-top: 0.69rem;
padding-bottom: 0.69rem;
}
.indent {
padding-left: 4.2rem;
}
.row-padding {
padding-top: 0.69rem;
padding-bottom: 0.69rem;
}
a, a:visited {
color: $primary-color;
}
a:hover {
color: lighten($primary-color, 10%);
}
/* INPUT FORMATTING */
input[type="number"], input[type="text"], input {
outline: none;
background-color: $input-background;
color: $text-normal;
padding: 0.1rem;
padding-top: 0.2rem;
padding-bottom: 0.1rem;
margin-left: 1rem;
border: 1px solid $input-border;
}
input:disabled {
background: #444444;
color: darken($text-normal, 50%);
}
/* ELEMENT POSITIONING */
.row {
display: block;
margin-top: 20px;
margin-bottom: 10px;
}
.button-row {
display: block;
margin-top: 5px;
margin-bottom: 10px;
}
.float-left {
float: left;
}
.float-right {
float: right;
}
.inline-block {
display: inline-block;
}
.block {
display: block;
}
.hidden {
display: none !important;
}
.hide {
display: none !important;
}
/* TEXT FORMATTING (no colors) */
small {
font-size: 0.75em;
font-weight: 200;
}
.small {
font-size: 0.75em;
font-weight: 200;
}
.medium-small {
font-size: 0.85em;
font-weight: 200;
}
.smallcaps{
font-variant: small-caps;
}
.center{
text-align: center;
width: 100%;
}
.text-center {
text-align: center;
}
.invalid-input {
border: 1px solid #720 !important;
background-color: #410 !important;
}
.button {
/*display: inline-block;*/
// padding-top: 8px;
// padding-bottom: 3px;
//padding-left: 5px;
//padding-right: 5px;
border: 1px solid rgb(39, 39, 39);
margin-top: 3px;
margin-bottom: 3px;
color: $text-dim;
text-align: center;
cursor: pointer;
user-select: none;;
}
.selected, .setting-selected {
color: $selected-color !important;
background-color: $background-selected !important;
}
.selected-tab {
color: $selected-color;
}
.setting-selected {
border: 1px solid shade($selected-color, 25%);
}
.button:hover {
color: lighten($selected-color, 10%);
background-color: lighten($background-selected, 10%);
}
.disabled {
pointer-events: none;
/* color: #666; */
filter: contrast(50%) brightness(40%) grayscale(100%);
}
.disabled-button {
color: #666 !important;
cursor: not-allowed !important;
}
.disabled-button:hover {
color: #777 !important;
background-color: #222 !important;
}
/* BROWSER-SPECIFIC DISABLE */
.disabled-edge {
pointer-events: none !important;
filter: contrast(50%) brightness(40%) grayscale(100%) !important;
content: "NOT SUPPORTED IN THIS BROWSER";
}
.disabled-edge::after {
background-color: #333272;
color: #d8d9e6;
display: inline-block;
font-size: .75em;
font-variant: small-caps;
padding-left: 5px;
padding-right: 5px;
margin-left: 10px;
}
/** misc **/
.warning-color {
color: #d6ba4a;
}
.warning, .warning-lite {
color: #d6ba4a;
padding-left: 35px;
float: right;
}
.warning::before, .warning-lite::before {
content: "";
display: inline-block;
}
.warning::before {
font-weight: bold;
font-size: 2.5em;
margin-left: -35px;
padding-right: 10px;
}
.info {
color: $info-color;
padding-left: 35px;
float: right;
}
.info::before {
content: "";
display: inline-block;
font-weight: bold;
margin-left: -35px;
padding-right: 10px;
}
.new {
color: #fff;
}
.new::after {
content: "";
color: $info-color !important;
display: inline-block;
font-weight: bold;
padding-right: 10px;
}
.experimental::after {
// content: "Experimental";
content: "";
color: #ffde12;
// background-color: #1f1f1f;
display: inline-block;
font-size: .75em;
font-variant: small-caps;
padding-left: 5px;
padding-right: 5px;
margin-left: 10px;
margin-top: -4px;
}
.experimental:hover::after {
content: "Ⓔ Experimental";
// content: "";
color: #ffde12;
// background-color: #1f1f1f;
display: inline-block;
font-size: .75em;
font-variant: small-caps;
padding-left: 5px;
padding-right: 5px;
margin-left: 10px;
margin-top: -4px;
}
.sticky-bottom {
width: 100%;
position: sticky;
// position: fixed;
bottom: 0px;
background-color: rgba($background-primary, 0.7);
}
.rtl {
direction: rtl;
}
.ltr {
direction: ltr;
}
.monospace {
font-family: 'Overpass Mono';
}

View File

@ -0,0 +1,51 @@
.flex {
display: flex;
}
.flex-row {
flex-direction: row;
}
.flex-column {
flex-direction: column;
}
.flex-auto {
flex: 1 1 auto;
}
.flex-grow {
flex-grow: 1;
}
.flex-nogrow {
flex-grow: 0;
}
.flex-shrink {
flex-shrink: 1;
}
.flex-noshrink {
flex-shrink: 0;
}
.flex-wrap {
flex-wrap: wrap;
}
.flex-center {
align-content: center;
align-items: center;
}
.flex-end {
justify-content: flex-end;
}
.flex-cross-center {
justify-content: center;
justify-items: center;
}
.flex-self-center {
align-self: center;
}

View File

View File

@ -0,0 +1,91 @@
@font-face {
font-family: 'overpass';
src: url('../../fonts/overpass-webfont/overpass-thin.woff2') format('woff2'); /* Super Modern Browsers */
font-weight: 200;
font-style: normal;
}
@font-face {
font-family: 'overpass';
src: url('../../fonts/overpass-webfont/overpass-thin-italic.woff2') format('woff2');
font-weight: 200;
font-style: italic;
}
@font-face {
font-family: 'overpass';
src: url('../../fonts/overpass-webfont/overpass-extralight.woff2') format('woff2');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'overpass';
src: url('../../fonts/overpass-webfont/overpass-extralight-italic.woff2') format('woff2');
font-weight: 300;
font-style: italic;
}
@font-face {
font-family: 'overpass';
src: url('../../fonts/overpass-webfont/overpass-light.woff2') format('woff2');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'overpass';
src: url('../../fonts/overpass-webfont/overpass-light-italic.woff2') format('woff2');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'overpass';
src: url('../../fonts/overpass-webfont/overpass-regular.woff2') format('woff2');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'overpass';
src: url('../../fonts/overpass-webfont/overpass-italic.woff2') format('woff2');
font-weight: 500;
font-style: italic;
}
@font-face {
font-family: 'overpass';
src: url('../../fonts/overpass-webfont/overpass-semibold.woff2') format('woff2');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'overpass';
src: url('../../fonts/overpass-webfont/overpass-semibold-italic.woff2') format('woff2');
font-weight: 600;
font-style: italic;
}
@font-face {
font-family: 'overpass';
src: url('../../fonts/overpass-webfont/overpass-bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'overpass';
src: url('../../fonts/overpass-webfont/overpass-bold-italic.woff2') format('woff2');
font-weight: 700;
font-style: italic;
}

111
src/csui/res/css/fonts.scss Normal file
View File

@ -0,0 +1,111 @@
@font-face {
font-family: 'Overpass';
src: url('/res/fonts/overpass-webfont/overpass-thin.woff2') format('woff2'); /* Super Modern Browsers */
font-weight: 200;
font-style: normal;
}
@font-face {
font-family: 'Overpass';
src: url('/res/fonts/overpass-webfont/overpass-thin-italic.woff2') format('woff2');
font-weight: 200;
font-style: italic;
}
@font-face {
font-family: 'Overpass';
src: url('/res/fonts/overpass-webfont/overpass-extralight.woff2') format('woff2');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Overpass';
src: url('/res/fonts/overpass-webfont/overpass-extralight-italic.woff2') format('woff2');
font-weight: 300;
font-style: italic;
}
@font-face {
font-family: 'Overpass';
src: url('/res/fonts/overpass-webfont/overpass-light.woff2') format('woff2');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Overpass';
src: url('/res/fonts/overpass-webfont/overpass-light-italic.woff2') format('woff2');
font-weight: 400;
font-style: italic;
}
@font-face {
font-family: 'Overpass';
src: url('/res/fonts/overpass-webfont/overpass-regular.woff2') format('woff2');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Overpass';
src: url('/res/fonts/overpass-webfont/overpass-italic.woff2') format('woff2');
font-weight: 500;
font-style: italic;
}
@font-face {
font-family: 'Overpass';
src: url('/res/fonts/overpass-webfont/overpass-semibold.woff2') format('woff2');
font-weight: 600;
font-style: normal;
}
@font-face {
font-family: 'Overpass';
src: url('/res/fonts/overpass-webfont/overpass-semibold-italic.woff2') format('woff2');
font-weight: 600;
font-style: italic;
}
@font-face {
font-family: 'Overpass';
src: url('/res/fonts/overpass-webfont/overpass-bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Overpass';
src: url('/res/fonts/overpass-webfont/overpass-bold-italic.woff2') format('woff2');
font-weight: 700;
font-style: italic;
}
@font-face {
font-family: 'Overpass mono';
src: url('/res/fonts/overpass-mono-webfont/overpass-mono-light.woff2') format('woff2');
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: 'Overpass mono';
src: url('/res/fonts/overpass-mono-webfont/overpass-mono-regular.woff2') format('woff2');
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: 'Overpass mono';
src: url('/res/fonts/overpass-mono-webfont/overpass-mono-semibold.woff2') format('woff2');
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: 'Overpass mono';
src: url('/res/fonts/overpass-mono-webfont/overpass-mono-bold.woff2') format('woff2');
font-weight: 600;
font-style: normal;
}

View File

26653
src/csui/res/css/mdi.scss Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,34 @@
@import 'flex.scss';
@import 'colors.scss';
@import 'common.scss';
* {
font-family: 'Overpass';
}
.uw-ultrawidify-container-root {
// here's the defaults:
// all: initial;
// * {
// all: unset;
// }
// here's things that we don't want as defaults
// (must come after the all: declaration, otherwise
// all: declaration overrides everything.)
// we put our UI _over_ site's player:
z-index: 999999;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
// Ensure we're display:block
display: block;
// we are click-through by default:
pointer-events: none;
}

View File

@ -0,0 +1,50 @@
## License
Copyright 2015 Red Hat, Inc.,
This Font Software is dual licensed and available under the SIL Open Font License, Version 1.1. and also the LGPL 2.1
The Open Font license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
The GNU LGPL can be found at http://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
#### SIL OPEN FONT LICENSE
Version 1.1 - 26 February 2007
---
#### PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
#### DEFINITIONS
“Font Software” refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
“Reserved Font Name” refers to any names specified as such after the copyright statement(s).
“Original Version” refers to the collection of Font Software components as distributed by the Copyright Holder(s).
“Modified Version” refers to any derivative made by adding to, deleting, or substituting—in part or in whole—any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
“Author” refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
#### PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
#### TERMINATION
This license becomes null and void if any of the above conditions are not met.
#### DISCLAIMER
THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -86,72 +86,70 @@ export default {
</script> </script>
<style lang="scss" scoped module> <style lang="scss" scoped module>
.uw-ultrawidify-container-root { .alignment-box {
.alignment-box { aspect-ratio: 1;
aspect-ratio: 1; width: 100%;
width: 100%; min-width: 40px;
min-width: 40px; max-width: 80px;
max-width: 80px;
display: flex;
flex-direction: column;
.row {
flex: 0 0 33%;
display: flex; display: flex;
flex-direction: column; flex-direction: row;
}
.row { .col {
flex: 0 0 33%; flex: 0 0 33%;
display: flex; display: flex;
flex-direction: row;
.alignment-ui {
width: 50%;
height: 50%;
} }
.col { align-items: center;
flex: 0 0 33%; justify-content: center;
display: flex; &.top {
align-items: flex-start;
.alignment-ui { .alignment-ui {
width: 50%; border-top: 3px solid #fff;
height: 50%;
} }
}
&.bottom {
align-items: flex-end;
align-items: center; .alignment-ui {
justify-content: center; border-bottom: 3px solid #fff;
&.top {
align-items: flex-start;
.alignment-ui {
border-top: 3px solid #fff;
}
} }
&.bottom { }
align-items: flex-end; &.left {
justify-content: flex-start;
.alignment-ui { .alignment-ui {
border-bottom: 3px solid #fff; border-left: 3px solid #fff;
}
} }
&.left { }
justify-content: flex-start; &.right {
justify-content: flex-end;
.alignment-ui { .alignment-ui {
border-left: 3px solid #fff; border-right: 3px solid #fff;
}
} }
&.right { }
justify-content: flex-end;
.alignment-ui { &.center.ycenter {
border-right: 3px solid #fff;
}
}
&.center.ycenter { .alignment-ui {
width: 25%;
.alignment-ui { height: 25%;
width: 25%; background-color: #fff;
height: 25%;
background-color: #fff;
}
} }
} }
} }

View File

@ -127,35 +127,31 @@ export default {
@import '../../../res/css/font/overpass-mono.css'; @import '../../../res/css/font/overpass-mono.css';
@import '../../../res/css/common.scss'; @import '../../../res/css/common.scss';
// increase specificy with this one trick (webdevs hate him!) .panel-root {
.uw-ultrawidify-container-root { display: block;
.panel-root { padding: 16px;
display: block;
padding: 16px;
}
.panel {
display: inline-block;
width: 420px;
max-width: 100%;
padding: 12px 6px;
}
.data-item {
display: block;
margin-bottom: 0.69rem;
}
.data-title {
small {
display: block;
opacity: 0.69;
}
}
.data {
color: $primary-color;
}
} }
.panel {
display: inline-block;
width: 420px;
max-width: 100%;
padding: 12px 6px;
}
.data-item {
display: block;
margin-bottom: 0.69rem;
}
.data-title {
small {
display: block;
opacity: 0.69;
}
}
.data {
color: $primary-color;
}
</style> </style>

View File

@ -391,34 +391,22 @@ export default {
} }
</script> </script>
<style lang="scss">
.uw-ultrawidify-container-root {
all: revert;
* {
all: revert;
}
}
</style>
<style lang="scss" src="../../../res/css/flex.scss" scoped module></style> <style lang="scss" src="../../../res/css/flex.scss" scoped module></style>
<style lang="scss" src="../res-common/panels.scss" scoped module></style> <style lang="scss" src="../res-common/panels.scss" scoped module></style>
<style lang="scss" src="../res-common/common.scss" scoped module></style> <style lang="scss" src="../res-common/common.scss" scoped module></style>
<style lang="scss" scoped module> <style lang="scss" scoped module>
.uw-ultrawidify-container-root { .b3 {
.b3 { width: 9rem;
width: 9rem; padding-left: 0.33rem;
padding-left: 0.33rem; padding-right: 0.33rem;
padding-right: 0.33rem; }
} .input-slider {
.input-slider { width: 480px;
width: 480px; }
} .warning-lite {
.warning-lite { padding-right: 16px;
padding-right: 16px; padding-bottom: 16px;
padding-bottom: 16px; padding-top: 8px;
padding-top: 8px;
}
} }
</style> </style>

View File

@ -1,33 +1,29 @@
@import './_variables.scss'; @import './_variables.scss';
.uw-ultrawidify-container-root { div, p, span {
font-size: 16px;
div, p, span { }
font-size: 16px;
} .warning-box {
display: flex;
.warning-box { flex-direction: row;
display: flex; align-items: center;
flex-direction: row;
align-items: center; border: 1px solid $warning-color;
color: $warning-color;
border: 1px solid $warning-color; margin: 0px 16px;
color: $warning-color; padding: 16px;
margin: 0px 16px;
padding: 16px; font-size: 16;
font-size: 16; border-radius: 2px;
border-radius: 2px; *:not(:first-child) {
margin-left: 24px;
*:not(:first-child) { }
margin-left: 24px; }
}
} h1, h2, h3 {
font-family: 'Overpass' !important;
h1, h2, h3 { font-weight: 100 !important;
font-family: 'Overpass' !important;
font-weight: 100 !important;
}
} }

View File

@ -19,7 +19,6 @@ body {
} }
/* STANDARD WIDTHS AND HEIGHTS */ /* STANDARD WIDTHS AND HEIGHTS */
.uw-ultrawidify-container-root {
.w100 { .w100 {
width: 100%; width: 100%;
} }
@ -101,293 +100,292 @@ body {
.description { .description {
color: $text-dim; color: $text-dim;
font-size: 1rem; font-size: 1rem;
} }
.label { .label {
padding-top: 1.5rem; padding-top: 1.5rem;
font-size: 1.5rem; font-size: 1.5rem;
font-variant: small-caps; font-variant: small-caps;
font-weight: 600; font-weight: 600;
} }
.label-secondary { .label-secondary {
font-weight: 600; font-weight: 600;
} }
.button-box { .button-box {
padding-top: 0.69rem; padding-top: 0.69rem;
padding-bottom: 0.69rem; padding-bottom: 0.69rem;
} }
.indent { .indent {
padding-left: 4.2rem; padding-left: 4.2rem;
} }
.row-padding { .row-padding {
padding-top: 0.69rem; padding-top: 0.69rem;
padding-bottom: 0.69rem; padding-bottom: 0.69rem;
} }
a, a:visited { a, a:visited {
color: $primary-color; color: $primary-color;
} }
a:hover { a:hover {
color: lighten($primary-color, 10%); color: lighten($primary-color, 10%);
} }
/* INPUT FORMATTING */ /* INPUT FORMATTING */
input[type="number"], input[type="text"], input { input[type="number"], input[type="text"], input {
outline: none; outline: none;
background-color: $input-background; background-color: $input-background;
color: $text-normal; color: $text-normal;
padding: 0.1rem; padding: 0.1rem;
padding-top: 0.2rem; padding-top: 0.2rem;
padding-bottom: 0.1rem; padding-bottom: 0.1rem;
margin-left: 1rem; margin-left: 1rem;
border: 1px solid $input-border; border: 1px solid $input-border;
} }
input:disabled { input:disabled {
background: #444444; background: #444444;
color: darken($text-normal, 50%); color: darken($text-normal, 50%);
} }
/* ELEMENT POSITIONING */ /* ELEMENT POSITIONING */
.row { .row {
display: block; display: block;
margin-top: 20px; margin-top: 20px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.button-row { .button-row {
display: block; display: block;
margin-top: 5px; margin-top: 5px;
margin-bottom: 10px; margin-bottom: 10px;
} }
.float-left { .float-left {
float: left; float: left;
} }
.float-right { .float-right {
float: right; float: right;
} }
.inline-block { .inline-block {
display: inline-block; display: inline-block;
} }
.block { .block {
display: block; display: block;
} }
.hidden { .hidden {
display: none !important; display: none !important;
} }
.hide { .hide {
display: none !important; display: none !important;
} }
/* TEXT FORMATTING (no colors) */ /* TEXT FORMATTING (no colors) */
small { small {
font-size: 0.75em; font-size: 0.75em;
font-weight: 200; font-weight: 200;
} }
.small { .small {
font-size: 0.75em; font-size: 0.75em;
font-weight: 200; font-weight: 200;
} }
.medium-small { .medium-small {
font-size: 0.85em; font-size: 0.85em;
font-weight: 200; font-weight: 200;
} }
.smallcaps{ .smallcaps{
font-variant: small-caps; font-variant: small-caps;
} }
.center{ .center{
text-align: center; text-align: center;
width: 100%; width: 100%;
} }
.text-center { .text-center {
text-align: center; text-align: center;
} }
.invalid-input { .invalid-input {
border: 1px solid #720 !important; border: 1px solid #720 !important;
background-color: #410 !important; background-color: #410 !important;
} }
.button { .button {
/*display: inline-block;*/ /*display: inline-block;*/
// padding-top: 8px; // padding-top: 8px;
// padding-bottom: 3px; // padding-bottom: 3px;
//padding-left: 5px; //padding-left: 5px;
//padding-right: 5px; //padding-right: 5px;
border: 1px solid rgb(39, 39, 39); border: 1px solid rgb(39, 39, 39);
margin-top: 3px; margin-top: 3px;
margin-bottom: 3px; margin-bottom: 3px;
color: $text-dim; color: $text-dim;
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
user-select: none;; user-select: none;;
} }
.selected, .setting-selected { .selected, .setting-selected {
color: $selected-color !important; color: $selected-color !important;
background-color: $background-selected !important; background-color: $background-selected !important;
} }
.selected-tab { .selected-tab {
color: $selected-color; color: $selected-color;
} }
.setting-selected { .setting-selected {
border: 1px solid shade($selected-color, 25%); border: 1px solid shade($selected-color, 25%);
} }
.button:hover { .button:hover {
color: lighten($selected-color, 10%); color: lighten($selected-color, 10%);
background-color: lighten($background-selected, 10%); background-color: lighten($background-selected, 10%);
} }
.disabled { .disabled {
pointer-events: none; pointer-events: none;
/* color: #666; */ /* color: #666; */
filter: contrast(50%) brightness(40%) grayscale(100%); filter: contrast(50%) brightness(40%) grayscale(100%);
} }
.disabled-button { .disabled-button {
color: #666 !important; color: #666 !important;
cursor: not-allowed !important; cursor: not-allowed !important;
} }
.disabled-button:hover { .disabled-button:hover {
color: #777 !important; color: #777 !important;
background-color: #222 !important; background-color: #222 !important;
} }
/* BROWSER-SPECIFIC DISABLE */ /* BROWSER-SPECIFIC DISABLE */
.disabled-edge { .disabled-edge {
pointer-events: none !important; pointer-events: none !important;
filter: contrast(50%) brightness(40%) grayscale(100%) !important; filter: contrast(50%) brightness(40%) grayscale(100%) !important;
content: "NOT SUPPORTED IN THIS BROWSER"; content: "NOT SUPPORTED IN THIS BROWSER";
} }
.disabled-edge::after { .disabled-edge::after {
background-color: #333272; background-color: #333272;
color: #d8d9e6; color: #d8d9e6;
display: inline-block; display: inline-block;
font-size: .75em; font-size: .75em;
font-variant: small-caps; font-variant: small-caps;
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
margin-left: 10px; margin-left: 10px;
} }
/** misc **/ /** misc **/
.warning-color { .warning-color {
color: #d6ba4a; color: #d6ba4a;
} }
.warning, .warning-lite { .warning, .warning-lite {
color: #d6ba4a; color: #d6ba4a;
padding-left: 35px; padding-left: 35px;
float: right; float: right;
} }
.warning::before, .warning-lite::before { .warning::before, .warning-lite::before {
content: ""; content: "";
display: inline-block; display: inline-block;
} }
.warning::before { .warning::before {
font-weight: bold; font-weight: bold;
font-size: 2.5em; font-size: 2.5em;
margin-left: -35px; margin-left: -35px;
padding-right: 10px; padding-right: 10px;
} }
.info { .info {
color: $info-color; color: $info-color;
padding-left: 35px; padding-left: 35px;
float: right; float: right;
} }
.info::before { .info::before {
content: ""; content: "";
display: inline-block; display: inline-block;
font-weight: bold; font-weight: bold;
margin-left: -35px; margin-left: -35px;
padding-right: 10px; padding-right: 10px;
} }
.new { .new {
color: #fff; color: #fff;
} }
.new::after { .new::after {
content: ""; content: "";
color: $info-color !important; color: $info-color !important;
display: inline-block; display: inline-block;
font-weight: bold; font-weight: bold;
padding-right: 10px; padding-right: 10px;
} }
.experimental::after { .experimental::after {
// content: "Experimental"; // content: "Experimental";
content: ""; content: "";
color: #ffde12; color: #ffde12;
// background-color: #1f1f1f; // background-color: #1f1f1f;
display: inline-block; display: inline-block;
font-size: .75em; font-size: .75em;
font-variant: small-caps; font-variant: small-caps;
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
margin-left: 10px; margin-left: 10px;
margin-top: -4px; margin-top: -4px;
} }
.experimental:hover::after { .experimental:hover::after {
content: "Ⓔ Experimental"; content: "Ⓔ Experimental";
// content: ""; // content: "";
color: #ffde12; color: #ffde12;
// background-color: #1f1f1f; // background-color: #1f1f1f;
display: inline-block; display: inline-block;
font-size: .75em; font-size: .75em;
font-variant: small-caps; font-variant: small-caps;
padding-left: 5px; padding-left: 5px;
padding-right: 5px; padding-right: 5px;
margin-left: 10px; margin-left: 10px;
margin-top: -4px; margin-top: -4px;
} }
.sticky-bottom { .sticky-bottom {
width: 100%; width: 100%;
position: sticky; position: sticky;
// position: fixed; // position: fixed;
bottom: 0px; bottom: 0px;
background-color: rgba($background-primary, 0.7); background-color: rgba($background-primary, 0.7);
} }
.rtl { .rtl {
direction: rtl; direction: rtl;
} }
.ltr { .ltr {
direction: ltr; direction: ltr;
} }
.monospace { .monospace {
font-family: 'Overpass Mono'; font-family: 'Overpass Mono';
}
} }

View File

@ -1,53 +1,51 @@
.uw-ultrawidify-container-root { .flex {
.flex { display: flex;
display: flex; }
}
.flex-row {
.flex-row { flex-direction: row;
flex-direction: row; }
}
.flex-column {
.flex-column { flex-direction: column;
flex-direction: column; }
}
.flex-auto {
.flex-auto { flex: 1 1 auto;
flex: 1 1 auto; }
}
.flex-grow {
.flex-grow { flex-grow: 1;
flex-grow: 1; }
} .flex-nogrow {
.flex-nogrow { flex-grow: 0;
flex-grow: 0; }
} .flex-shrink {
.flex-shrink { flex-shrink: 1;
flex-shrink: 1; }
} .flex-noshrink {
.flex-noshrink { flex-shrink: 0;
flex-shrink: 0; }
}
.flex-wrap {
.flex-wrap { flex-wrap: wrap;
flex-wrap: wrap; }
}
.flex-center {
.flex-center { align-content: center;
align-content: center; align-items: center;
align-items: center; }
}
.flex-end {
.flex-end { justify-content: flex-end;
justify-content: flex-end; }
}
.flex-cross-center {
.flex-cross-center { justify-content: center;
justify-content: center; justify-items: center;
justify-items: center; }
}
.flex-self-center {
.flex-self-center { align-self: center;
align-self: center;
}
} }

View File

@ -1,3 +0,0 @@
.uw-ultrawidify-container-root {
/* todo: any form CSS must be nested under this element */
}

View File

@ -5,6 +5,7 @@ const WebpackShellPlugin = require('webpack-shell-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin'); const CopyWebpackPlugin = require('copy-webpack-plugin');
const ChromeExtensionReloader = require('webpack-chrome-extension-reloader'); const ChromeExtensionReloader = require('webpack-chrome-extension-reloader');
const { VueLoaderPlugin } = require('vue-loader'); const { VueLoaderPlugin } = require('vue-loader');
const path = require('path');
const config = { const config = {
mode: process.env.NODE_ENV, mode: process.env.NODE_ENV,
@ -66,7 +67,12 @@ const config = {
// // localIdentName: "uw_[local]" // // localIdentName: "uw_[local]"
// } // }
}, },
'sass-loader' {
loader: 'sass-loader',
options: {
sourceMap: true
}
}
], ],
}, },
// { // {