Hot dang, icons now show up in Chrome as well.
Also cleaned up some of the mess.
96
package-lock.json
generated
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -151,7 +151,6 @@ 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;
|
||||||
@ -245,5 +244,4 @@ export default {
|
|||||||
.transparent {
|
.transparent {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -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>
|
||||||
|
38
src/common/components/EditableShortcutButton.vue
Normal 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>
|
@ -1,4 +1,3 @@
|
|||||||
.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;
|
||||||
@ -22,4 +21,3 @@
|
|||||||
.json-value-string {
|
.json-value-string {
|
||||||
color: rgb(226, 175, 7);
|
color: rgb(226, 175, 7);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -22,7 +22,6 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.uw-ultrawidify-container-root {
|
|
||||||
.mt2px {
|
.mt2px {
|
||||||
margin-top: 7px;
|
margin-top: 7px;
|
||||||
}
|
}
|
||||||
@ -51,5 +50,4 @@ export default {
|
|||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -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>
|
||||||
|
@ -327,7 +327,6 @@ 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;
|
||||||
@ -457,5 +456,4 @@ export default {
|
|||||||
margin-top: 3em;
|
margin-top: 3em;
|
||||||
margin-bottom: 3em;
|
margin-bottom: 3em;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -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>
|
||||||
|
@ -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,19 +202,14 @@ 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%;
|
||||||
@ -355,8 +354,4 @@ export default {
|
|||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -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');
|
||||||
|
18
src/csui/res/css/colors.scss
Normal 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;
|
391
src/csui/res/css/common.scss
Normal 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';
|
||||||
|
}
|
51
src/csui/res/css/flex.scss
Normal 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;
|
||||||
|
}
|
0
src/csui/res/css/font/overpass-mono.css
Normal file
91
src/csui/res/css/font/overpass.css
Normal 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
@ -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;
|
||||||
|
}
|
0
src/csui/res/css/form.scss
Normal file
26653
src/csui/res/css/mdi.scss
Normal file
34
src/csui/res/css/uwui-base.scss
Normal 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;
|
||||||
|
}
|
||||||
|
|
50
src/csui/res/fonts/LICENSE.md
Normal 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.
|
BIN
src/csui/res/fonts/materialdesignicons-webfont.woff2
Normal file
BIN
src/csui/res/fonts/overpass-webfont/overpass-bold-italic.woff2
Normal file
BIN
src/csui/res/fonts/overpass-webfont/overpass-bold.woff2
Normal file
BIN
src/csui/res/fonts/overpass-webfont/overpass-extralight.woff2
Normal file
BIN
src/csui/res/fonts/overpass-webfont/overpass-italic.woff2
Normal file
BIN
src/csui/res/fonts/overpass-webfont/overpass-light-italic.woff2
Normal file
BIN
src/csui/res/fonts/overpass-webfont/overpass-light.woff2
Normal file
BIN
src/csui/res/fonts/overpass-webfont/overpass-regular.woff2
Normal file
BIN
src/csui/res/fonts/overpass-webfont/overpass-semibold.woff2
Normal file
BIN
src/csui/res/fonts/overpass-webfont/overpass-thin-italic.woff2
Normal file
BIN
src/csui/res/fonts/overpass-webfont/overpass-thin.woff2
Normal file
BIN
src/csui/res/icons/ms-promo-tile.png
Normal file
After Width: | Height: | Size: 88 KiB |
BIN
src/csui/res/icons/uw-128.png
Normal file
After Width: | Height: | Size: 9.7 KiB |
BIN
src/csui/res/icons/uw-32.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
src/csui/res/icons/uw-64.png
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
src/csui/res/icons/uw-microsoft-store-icon.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
src/csui/res/icons/uw-webstore-icon.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
src/csui/res/img/settings/bg_random2.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
@ -86,7 +86,6 @@ 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%;
|
||||||
@ -155,5 +154,4 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -127,8 +127,6 @@ 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!)
|
|
||||||
.uw-ultrawidify-container-root {
|
|
||||||
.panel-root {
|
.panel-root {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
@ -156,6 +154,4 @@ export default {
|
|||||||
.data {
|
.data {
|
||||||
color: $primary-color;
|
color: $primary-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -391,22 +391,11 @@ 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;
|
||||||
@ -420,5 +409,4 @@ export default {
|
|||||||
padding-bottom: 16px;
|
padding-bottom: 16px;
|
||||||
padding-top: 8px;
|
padding-top: 8px;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
@import './_variables.scss';
|
@import './_variables.scss';
|
||||||
|
|
||||||
.uw-ultrawidify-container-root {
|
|
||||||
|
|
||||||
div, p, span {
|
div, p, span {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
@ -29,5 +27,3 @@
|
|||||||
font-family: 'Overpass' !important;
|
font-family: 'Overpass' !important;
|
||||||
font-weight: 100 !important;
|
font-weight: 100 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
@ -19,7 +19,6 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* STANDARD WIDTHS AND HEIGHTS */
|
/* STANDARD WIDTHS AND HEIGHTS */
|
||||||
.uw-ultrawidify-container-root {
|
|
||||||
.w100 {
|
.w100 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
@ -390,4 +389,3 @@ body {
|
|||||||
.monospace {
|
.monospace {
|
||||||
font-family: 'Overpass Mono';
|
font-family: 'Overpass Mono';
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
.uw-ultrawidify-container-root {
|
|
||||||
.flex {
|
.flex {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
@ -50,4 +49,3 @@
|
|||||||
.flex-self-center {
|
.flex-self-center {
|
||||||
align-self: center;
|
align-self: center;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
.uw-ultrawidify-container-root {
|
|
||||||
/* todo: any form CSS must be nested under this element */
|
|
||||||
}
|
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
|