Refactoring, database structure changed
This commit is contained in:
64
WatchIt.Website/wwwroot/css/blazor.css
Normal file
64
WatchIt.Website/wwwroot/css/blazor.css
Normal file
@@ -0,0 +1,64 @@
|
||||
a, .btn-link {
|
||||
color: #006bb7;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
color: #fff;
|
||||
background-color: #1b6ec2;
|
||||
border-color: #1861ac;
|
||||
}
|
||||
|
||||
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
|
||||
box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
|
||||
}
|
||||
|
||||
.content {
|
||||
padding-top: 1.1rem;
|
||||
}
|
||||
|
||||
h1:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.valid.modified:not([type=checkbox]) {
|
||||
outline: 1px solid #26b050;
|
||||
}
|
||||
|
||||
.invalid {
|
||||
outline: 1px solid #e50000;
|
||||
}
|
||||
|
||||
.validation-message {
|
||||
color: #e50000;
|
||||
}
|
||||
|
||||
.blazor-error-boundary {
|
||||
background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk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A4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
|
||||
padding: 1rem 1rem 1rem 3.7rem;
|
||||
color: #2b2b2b;
|
||||
}
|
||||
|
||||
.blazor-error-boundary::after {
|
||||
content: "An error has occurred."
|
||||
}
|
||||
|
||||
.darker-border-checkbox.form-check-input {
|
||||
border-color: #929292;
|
||||
}
|
||||
|
||||
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
|
||||
color: var(--bs-secondary-color);
|
||||
text-align: end;
|
||||
}
|
||||
|
||||
.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
.components-reconnect-dialog {
|
||||
background-color: rgba(0, 0, 0, 0.8) !important;
|
||||
}
|
||||
|
||||
.snackbar {
|
||||
border-radius: 1.5rem !important;
|
||||
}
|
||||
25
WatchIt.Website/wwwroot/css/gaps.css
Normal file
25
WatchIt.Website/wwwroot/css/gaps.css
Normal file
@@ -0,0 +1,25 @@
|
||||
/* DEFAULT */
|
||||
|
||||
.mt-header {
|
||||
margin-top: 9rem !important;
|
||||
}
|
||||
|
||||
.mt-default {
|
||||
margin-top: 1rem !important;
|
||||
}
|
||||
|
||||
.gx-default {
|
||||
--bs-gutter-x: 1rem !important;
|
||||
}
|
||||
|
||||
.gap-default {
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* OTHERS */
|
||||
|
||||
.mt-over-panel-menu {
|
||||
margin-top: 3rem !important;
|
||||
}
|
||||
121
WatchIt.Website/wwwroot/css/general.css
Normal file
121
WatchIt.Website/wwwroot/css/general.css
Normal file
@@ -0,0 +1,121 @@
|
||||
/* TAGS */
|
||||
|
||||
html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
background-attachment: fixed;
|
||||
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body, html {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
color: lightgray;
|
||||
font-family: "PT Sans", serif !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* CLASSES */
|
||||
|
||||
.container-grid {
|
||||
padding: 0 !important;
|
||||
margin: 0 !important;
|
||||
--bs-gutter-x: 1.5rem;
|
||||
--bs-gutter-y: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.logo {
|
||||
font-family: "Belanosima";
|
||||
text-decoration: none;
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.table-transparent {
|
||||
--bs-table-bg: transparent !important;
|
||||
}
|
||||
|
||||
.table td.table-cell-fit, .table th.table-cell-fit {
|
||||
white-space: nowrap;
|
||||
width: 1%;
|
||||
}
|
||||
|
||||
.metadata-pill {
|
||||
border-color: gray;
|
||||
border-width: 2px;
|
||||
border-radius: 30px;
|
||||
border-style: solid;
|
||||
|
||||
padding: 2px 10px;
|
||||
}
|
||||
|
||||
.metadata-pill-container {
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.metadata-pill-hoverable:hover {
|
||||
background-color: gray;
|
||||
color: black;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.top-3 {
|
||||
top: 1rem !important;
|
||||
}
|
||||
|
||||
.mb-2rem {
|
||||
margin-bottom: 2rem !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.mt-9 {
|
||||
margin-top: 9rem !important;
|
||||
}
|
||||
|
||||
|
||||
.panel-regular {
|
||||
background-color: rgba(0, 0, 0, 0.6) !important;
|
||||
}
|
||||
|
||||
.panel-yellow {
|
||||
background-color: rgba(255, 184, 58, 0.6) !important;
|
||||
}
|
||||
|
||||
.pt-05 {
|
||||
padding-top: 0.125rem !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.dropdown-menu-left {
|
||||
right: auto;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.btn-stretch-x {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.w-100 {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.picture-aspect-ratio {
|
||||
aspect-ratio: 3/5;
|
||||
}
|
||||
50
WatchIt.Website/wwwroot/css/main_button.css
Normal file
50
WatchIt.Website/wwwroot/css/main_button.css
Normal file
@@ -0,0 +1,50 @@
|
||||
/* CLASSES */
|
||||
|
||||
.main-button {
|
||||
--r:10px;
|
||||
--b:2px;
|
||||
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
color: transparent;
|
||||
padding: 5px 10px;
|
||||
|
||||
border-radius: var(--r);
|
||||
display: block;
|
||||
align-items: self-end;
|
||||
position: relative;
|
||||
z-index:0;
|
||||
text-decoration: none;
|
||||
transition: 0.3s;
|
||||
font-family: Belanosima;
|
||||
}
|
||||
|
||||
.main-button::before {
|
||||
content:"";
|
||||
position:absolute;
|
||||
z-index:-1;
|
||||
inset: 0;
|
||||
border: var(--b) solid transparent;
|
||||
border-radius: var(--r);
|
||||
background: inherit;
|
||||
background-origin: border-box;
|
||||
background-clip: border-box;
|
||||
-webkit-mask:
|
||||
linear-gradient(#fff 0 0) padding-box,
|
||||
linear-gradient(#fff 0 0);
|
||||
-webkit-mask-composite: xor;
|
||||
mask-composite: exclude;
|
||||
-webkit-mask-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.main-button:hover {
|
||||
color: #fff;
|
||||
-webkit-text-fill-color: #fff;
|
||||
-webkit-background-clip: border-box;
|
||||
background-clip: border-box;
|
||||
}
|
||||
|
||||
.main-button:hover::before {
|
||||
-webkit-mask:none;
|
||||
}
|
||||
76
WatchIt.Website/wwwroot/css/panel.css
Normal file
76
WatchIt.Website/wwwroot/css/panel.css
Normal file
@@ -0,0 +1,76 @@
|
||||
/* MAIN */
|
||||
|
||||
.panel {
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
|
||||
backdrop-filter: blur(25px);
|
||||
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
|
||||
border-radius: 0.5rem;
|
||||
padding: 1.5rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* HEADER */
|
||||
|
||||
.panel-header {
|
||||
padding: 0 1rem !important;
|
||||
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* MENU */
|
||||
|
||||
.panel-menu {
|
||||
gap: 1rem;
|
||||
padding: 1rem 1.5rem !important;
|
||||
|
||||
background-color: rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
.panel-menu > li > a {
|
||||
--bs-nav-pills-link-active-bg: transparent;
|
||||
--bs-nav-link-hover-color: white;
|
||||
--bs-nav-link-color: #a6a6a6;
|
||||
|
||||
--bs-nav-pills-border-radius: 1.25rem;
|
||||
|
||||
padding: 0.25rem 0.5rem;
|
||||
|
||||
border-style: solid;
|
||||
border-width: 2px;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.panel-menu > li > a.active {
|
||||
--bs-nav-link-color: white;
|
||||
border-color: white;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* SECTION HEADER */
|
||||
|
||||
.panel-section-header {
|
||||
padding: 0.75rem 1.5rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* BACKGROUNDS */
|
||||
|
||||
.panel-background-gold {
|
||||
background-color: rgba(255, 184, 58, 0.6);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* OTHERS */
|
||||
|
||||
.panel-text-title {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
Reference in New Issue
Block a user