Update directory structure in WebHostLib
This commit is contained in:
5
WebHostLib/static/styles/host_room.css
Normal file
5
WebHostLib/static/styles/host_room.css
Normal file
@@ -0,0 +1,5 @@
|
||||
#host-room input[type=text]{
|
||||
width: calc(100% - 6px);
|
||||
padding: 0.125rem;
|
||||
height: 1.5rem;
|
||||
}
|
||||
35
WebHostLib/static/styles/landing.css
Normal file
35
WebHostLib/static/styles/landing.css
Normal file
@@ -0,0 +1,35 @@
|
||||
#landing-wrapper{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
#landing{
|
||||
margin-right: 0.5em;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
#landing-header-links{
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#landing-header-links a{
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
#landing-buttons{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
iframe{
|
||||
border: none;
|
||||
}
|
||||
58
WebHostLib/static/styles/layout.css
Normal file
58
WebHostLib/static/styles/layout.css
Normal file
@@ -0,0 +1,58 @@
|
||||
/** Global colors for all pages */
|
||||
body{
|
||||
background-color: #dce2bd;
|
||||
font-size: 1.2rem;
|
||||
font-family: "Segoe UI", Arial, sans-serif;
|
||||
}
|
||||
|
||||
/** Button Styles */
|
||||
button, input[type=submit]{
|
||||
border: 1px solid #7d8c35;
|
||||
border-radius: 4px;
|
||||
width: 200px;
|
||||
height: 75px;
|
||||
margin-left: 0.25rem;
|
||||
margin-right: 0.25rem;
|
||||
background-color: #dce2bd;
|
||||
font-family: inherit;
|
||||
font-size: 1.5rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:hover, input[type=submit]:hover{
|
||||
background-color: #e0e7bd;
|
||||
}
|
||||
|
||||
/** Content styles */
|
||||
.main-content{
|
||||
max-width: 1000px;
|
||||
border-radius: 8px;
|
||||
background-color: #bbb288;
|
||||
padding: 0.5em 1.5rem 1.5rem;=
|
||||
color: #282b28;
|
||||
}
|
||||
|
||||
.main-content h3{
|
||||
margin: 0;
|
||||
font-size: 3rem;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.main-content a{
|
||||
color: #34768a;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/** Tooltip styles */
|
||||
[data-tooltop]{
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
[data-tooltip]:before, [data-tooltip]:after{
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
36
WebHostLib/static/styles/tablepage.css
Normal file
36
WebHostLib/static/styles/tablepage.css
Normal file
@@ -0,0 +1,36 @@
|
||||
table.dataTable{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.dataTable, table.dataTable.no-footer{
|
||||
border: none;
|
||||
font-size: 1rem;
|
||||
text-align: left;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.dataTables_wrapper .dataTables_filter{
|
||||
float: none;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc{
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
table.dataTable thead{
|
||||
background-color: #b0a77d;
|
||||
}
|
||||
|
||||
table.dataTable thead tr th{
|
||||
border: none;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
table.dataTable tbody tr{
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
table.dataTable tbody tr:hover{
|
||||
background-color: #e2eabb;
|
||||
}
|
||||
167
WebHostLib/static/styles/tooltip.css
Normal file
167
WebHostLib/static/styles/tooltip.css
Normal file
@@ -0,0 +1,167 @@
|
||||
/**
|
||||
This tooltip file is a modified version of the class found here: https://chrisbracco.com/a-simple-css-tooltip/.
|
||||
The styles in this file are used in compliance with the Creative Commons Attribution-ShareAlike 4.0 International
|
||||
license, which may be found here: https://creativecommons.org/licenses/by-sa/4.0/.
|
||||
*/
|
||||
|
||||
/**
|
||||
README:
|
||||
To give any element a tooltip, simply give that element a data-tooltip attribute with a value of your desired
|
||||
tooltip content. Tooltips position themselves above elements by default. To change the position of the tooltip,
|
||||
give it one of the following classes: tooltip-left, tooltip-right, tooltip-top, or tooltip-bottom.
|
||||
*/
|
||||
|
||||
/* Base styles for the element that has a tooltip */
|
||||
[data-tooltip], .tooltip {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Base styles for the entire tooltip */
|
||||
[data-tooltip]:before, [data-tooltip]:after, .tooltip:before, .tooltip:after {
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
opacity: 0;
|
||||
-webkit-transition:
|
||||
opacity 0.2s ease-in-out,
|
||||
visibility 0.2s ease-in-out,
|
||||
-webkit-transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
|
||||
-moz-transition:
|
||||
opacity 0.2s ease-in-out,
|
||||
visibility 0.2s ease-in-out,
|
||||
-moz-transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
|
||||
transition:
|
||||
opacity 0.2s ease-in-out,
|
||||
visibility 0.2s ease-in-out,
|
||||
transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
-moz-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
[data-tooltip]:hover:before, [data-tooltip]:hover:after, .tooltip:hover:before, .tooltip:hover:after{
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/** Directional arrow styles */
|
||||
.tooltip:before, [data-tooltip]:before {
|
||||
z-index: 1001;
|
||||
border: 6px solid transparent;
|
||||
background: transparent;
|
||||
content: "";
|
||||
}
|
||||
|
||||
/** Content styles */
|
||||
.tooltip:after, [data-tooltip]:after {
|
||||
z-index: 1000;
|
||||
padding: 8px;
|
||||
width: 160px;
|
||||
border-radius: 4px;
|
||||
background-color: #000;
|
||||
background-color: hsla(0, 0%, 20%, 0.9);
|
||||
color: #fff;
|
||||
content: attr(data-tooltip);
|
||||
font-size: 14px;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
[data-tooltip]:before, [data-tooltip]:after, .tooltip:before, .tooltip:after,
|
||||
.tooltip-top:before, .tooltip-top:after {
|
||||
bottom: 100%;
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
[data-tooltip]:before, .tooltip:before, .tooltip-top:before {
|
||||
margin-left: -6px;
|
||||
margin-bottom: -12px;
|
||||
border-top-color: #000;
|
||||
border-top-color: hsla(0, 0%, 20%, 0.9);
|
||||
}
|
||||
|
||||
/** Horizontally align tooltips on the top and bottom */
|
||||
[data-tooltip]:after, .tooltip:after, .tooltip-top:after {
|
||||
margin-left: -80px;
|
||||
}
|
||||
|
||||
[data-tooltip]:hover:before, [data-tooltip]:hover:after, .tooltip:hover:before, .tooltip:hover:after,
|
||||
.tooltip-top:hover:before, .tooltip-top:hover:after {
|
||||
-webkit-transform: translateY(-12px);
|
||||
-moz-transform: translateY(-12px);
|
||||
transform: translateY(-12px);
|
||||
}
|
||||
|
||||
/** Tooltips on the left */
|
||||
.tooltip-left:before, .tooltip-left:after {
|
||||
right: 100%;
|
||||
bottom: 50%;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.tooltip-left:before {
|
||||
margin-left: 0;
|
||||
margin-right: -12px;
|
||||
margin-bottom: 0;
|
||||
border-top-color: transparent;
|
||||
border-left-color: #000;
|
||||
border-left-color: hsla(0, 0%, 20%, 0.9);
|
||||
}
|
||||
|
||||
.tooltip-left:hover:before, .tooltip-left:hover:after {
|
||||
-webkit-transform: translateX(-12px);
|
||||
-moz-transform: translateX(-12px);
|
||||
transform: translateX(-12px);
|
||||
}
|
||||
|
||||
/** Tooltips on the bottom */
|
||||
.tooltip-bottom:before, .tooltip-bottom:after {
|
||||
top: 100%;
|
||||
bottom: auto;
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
.tooltip-bottom:before {
|
||||
margin-top: -12px;
|
||||
margin-bottom: 0;
|
||||
border-top-color: transparent;
|
||||
border-bottom-color: #000;
|
||||
border-bottom-color: hsla(0, 0%, 20%, 0.9);
|
||||
}
|
||||
|
||||
.tooltip-bottom:hover:before, .tooltip-bottom:hover:after {
|
||||
-webkit-transform: translateY(12px);
|
||||
-moz-transform: translateY(12px);
|
||||
transform: translateY(12px);
|
||||
}
|
||||
|
||||
/** Tooltips on the right */
|
||||
.tooltip-right:before, .tooltip-right:after {
|
||||
bottom: 50%;
|
||||
left: 100%;
|
||||
}
|
||||
|
||||
.tooltip-right:before {
|
||||
margin-bottom: 0;
|
||||
margin-left: -12px;
|
||||
border-top-color: transparent;
|
||||
border-right-color: #000;
|
||||
border-right-color: hsla(0, 0%, 20%, 0.9);
|
||||
}
|
||||
|
||||
.tooltip-right:hover:before, .tooltip-right:hover:after {
|
||||
-webkit-transform: translateX(12px);
|
||||
-moz-transform: translateX(12px);
|
||||
transform: translateX(12px);
|
||||
}
|
||||
|
||||
/** Adjustment for directional arrows for tooltips on the left and right */
|
||||
.tooltip-left:before, .tooltip-right:before {
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
/** Center content vertically for tooltips ont he left and right */
|
||||
.tooltip-left:after, .tooltip-right:after {
|
||||
margin-left: 0;
|
||||
margin-bottom: -16px;
|
||||
}
|
||||
145
WebHostLib/static/styles/tracker.css
Normal file
145
WebHostLib/static/styles/tracker.css
Normal file
@@ -0,0 +1,145 @@
|
||||
#tracker-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.table-wrapper{
|
||||
overflow-y: auto;
|
||||
overflow-x: auto;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
#tracker-header-bar{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
#search{
|
||||
width: 200px;
|
||||
height: 20px;
|
||||
margin-bottom: 0.5rem;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
#multi-stream-link{
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
div.dataTables_wrapper.no-footer .dataTables_scrollBody{
|
||||
border: none;
|
||||
}
|
||||
|
||||
table.dataTable tbody td{
|
||||
padding: 4px 6px;
|
||||
}
|
||||
|
||||
table.dataTable, table.dataTable.no-footer{
|
||||
border-left: 1px solid #bba967;
|
||||
width: calc(100% - 2px) !important;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
table.dataTable thead th{
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
background-color: #b0a77d;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
table.dataTable thead th.upper-row{
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
background-color: #b0a77d;
|
||||
height: 36px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
table.dataTable thead th.lower-row{
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
background-color: #b0a77d;
|
||||
height: 22px;
|
||||
top: 46px;
|
||||
}
|
||||
|
||||
table.dataTable tbody td{
|
||||
border: 1px solid #bba967;
|
||||
}
|
||||
|
||||
div.dataTables_scrollBody{
|
||||
background-color: inherit !important;
|
||||
}
|
||||
|
||||
table.dataTable .center-column{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
img.alttp-sprite {
|
||||
height: auto;
|
||||
max-height: 32px;
|
||||
min-height: 14px;
|
||||
}
|
||||
|
||||
.item-acquired{
|
||||
background-color: #d3c97d;
|
||||
}
|
||||
|
||||
@media all and (max-width: 1700px) {
|
||||
table.dataTable thead th.upper-row{
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
background-color: #b0a77d;
|
||||
height: 27px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
table.dataTable thead th.lower-row{
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
background-color: #b0a77d;
|
||||
height: 20px;
|
||||
top: 37px;
|
||||
}
|
||||
|
||||
table.dataTable, table.dataTable.no-footer{
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
img.alttp-sprite {
|
||||
height: auto;
|
||||
max-height: 24px;
|
||||
min-height: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 1400px) {
|
||||
table.dataTable thead th.upper-row{
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
background-color: #b0a77d;
|
||||
height: 22px;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
table.dataTable thead th.lower-row{
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
background-color: #b0a77d;
|
||||
height: 19px;
|
||||
top: 32px;
|
||||
}
|
||||
|
||||
table.dataTable, table.dataTable.no-footer{
|
||||
font-size: 0.6rem;
|
||||
}
|
||||
|
||||
img.alttp-sprite {
|
||||
height: auto;
|
||||
max-height: 20px;
|
||||
min-height: 10px;
|
||||
}
|
||||
}
|
||||
57
WebHostLib/static/styles/tutorial.css
Normal file
57
WebHostLib/static/styles/tutorial.css
Normal file
@@ -0,0 +1,57 @@
|
||||
#tutorial-wrapper{
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
#tutorial-wrapper h1{
|
||||
font-size: 2.5rem;
|
||||
font-weight: normal;
|
||||
border-bottom: 1px solid #9f916a;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#tutorial-wrapper h2{
|
||||
font-size: 2rem;
|
||||
font-weight: normal;
|
||||
border-bottom: 1px solid #9f916a;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#tutorial-wrapper h3{
|
||||
font-size: 1.75rem;
|
||||
font-weight: normal;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#tutorial-wrapper h4{
|
||||
font-size: 1.5rem;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#tutorial-wrapper h5{
|
||||
font-size: 1.25rem;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#tutorial-wrapper h6{
|
||||
font-size: 1.25rem;
|
||||
font-weight: normal;
|
||||
color: #434343;
|
||||
}
|
||||
|
||||
#tutorial-wrapper ul{
|
||||
|
||||
}
|
||||
|
||||
#tutorial-wrapper ol{
|
||||
|
||||
}
|
||||
|
||||
#tutorial-wrapper li{
|
||||
|
||||
}
|
||||
|
||||
#tutorial-wrapper a{
|
||||
|
||||
}
|
||||
1
WebHostLib/static/styles/tutorial.md
Normal file
1
WebHostLib/static/styles/tutorial.md
Normal file
@@ -0,0 +1 @@
|
||||
# Tutorial Coming Soon™
|
||||
16
WebHostLib/static/styles/uploads.css
Normal file
16
WebHostLib/static/styles/uploads.css
Normal file
@@ -0,0 +1,16 @@
|
||||
#uploads-wrapper{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
#uploads-form-wrapper{
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
#upload-form{
|
||||
display: none;
|
||||
}
|
||||
9
WebHostLib/static/styles/view_seed.css
Normal file
9
WebHostLib/static/styles/view_seed.css
Normal file
@@ -0,0 +1,9 @@
|
||||
#view-seed-wrapper{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
#view-seed-wrapper table td{
|
||||
vertical-align: top;
|
||||
}
|
||||
Reference in New Issue
Block a user