moved dashboard crate into here
This commit is contained in:
1
web/static/css/bulma.min.css
vendored
Normal file
1
web/static/css/bulma.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
91
web/static/css/dtsel.css
Normal file
91
web/static/css/dtsel.css
Normal file
@ -0,0 +1,91 @@
|
||||
.date-selector-wrapper {
|
||||
width: 200px;
|
||||
padding: 3px;
|
||||
background-color: #fff;
|
||||
box-shadow: 1px 1px 10px 1px #5c5c5c;
|
||||
position: absolute;
|
||||
font-size: 12px;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
/* user-select: none; */
|
||||
}
|
||||
.cal-header, .cal-row {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
.cal-cell, .cal-nav {
|
||||
cursor: pointer;
|
||||
}
|
||||
.cal-day-names {
|
||||
height: 25px;
|
||||
line-height: 25px;
|
||||
}
|
||||
.cal-day-names .cal-cell {
|
||||
cursor: default;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cal-cell-prev, .cal-cell-next {
|
||||
color: #777;
|
||||
}
|
||||
.cal-months .cal-row, .cal-years .cal-row {
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
}
|
||||
.cal-nav-prev, .cal-nav-next {
|
||||
flex: 0.15;
|
||||
}
|
||||
.cal-nav-current {
|
||||
flex: 0.75;
|
||||
font-weight: bold;
|
||||
}
|
||||
.cal-months .cal-cell, .cal-years .cal-cell {
|
||||
flex: 0.25;
|
||||
}
|
||||
.cal-days .cal-cell {
|
||||
flex: 0.143;
|
||||
}
|
||||
.cal-value {
|
||||
color: #fff;
|
||||
background-color: #286090;
|
||||
}
|
||||
.cal-cell:hover, .cal-nav:hover {
|
||||
background-color: #eee;
|
||||
}
|
||||
.cal-value:hover {
|
||||
background-color: #204d74;
|
||||
}
|
||||
|
||||
/* time footer */
|
||||
.cal-time {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
height: 27px;
|
||||
line-height: 27px;
|
||||
}
|
||||
.cal-time-label, .cal-time-value {
|
||||
flex: 0.12;
|
||||
text-align: center;
|
||||
}
|
||||
.cal-time-slider {
|
||||
flex: 0.77;
|
||||
background-image: linear-gradient(to right, #d1d8dd, #d1d8dd);
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 1px;
|
||||
background-position: left 50%;
|
||||
height: 100%;
|
||||
}
|
||||
.cal-time-slider input {
|
||||
width: 100%;
|
||||
-webkit-appearance: none;
|
||||
background: 0 0;
|
||||
cursor: pointer;
|
||||
height: 100%;
|
||||
outline: 0;
|
||||
user-select: auto;
|
||||
}
|
12749
web/static/css/fa.css
Normal file
12749
web/static/css/fa.css
Normal file
File diff suppressed because it is too large
Load Diff
54
web/static/css/font.css
Normal file
54
web/static/css/font.css
Normal file
@ -0,0 +1,54 @@
|
||||
@font-face {
|
||||
font-family: 'Source Sans Pro';
|
||||
font-style: italic;
|
||||
font-weight: 300;
|
||||
src: local('Source Sans Pro Light Italic'), local('SourceSansPro-LightItalic'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZZMkids18E.ttf) format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans Pro';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: local('Source Sans Pro Italic'), local('SourceSansPro-Italic'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xK1dSBYKcSV-LCoeQqfX1RYOo3qPZ7nsDc.ttf) format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans Pro';
|
||||
font-style: italic;
|
||||
font-weight: 600;
|
||||
src: local('Source Sans Pro SemiBold Italic'), local('SourceSansPro-SemiBoldItalic'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xKwdSBYKcSV-LCoeQqfX1RYOo3qPZY4lCds18E.ttf) format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans Pro';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xKydSBYKcSV-LCoeQqfX1RYOo3ik4zwlxdr.ttf) format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans Pro';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7g.ttf) format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans Pro';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xKydSBYKcSV-LCoeQqfX1RYOo3i54rwlxdr.ttf) format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Sans Pro';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(https://fonts.gstatic.com/s/sourcesanspro/v13/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdr.ttf) format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Ubuntu';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(https://fonts.gstatic.com/s/ubuntu/v15/4iCs6KVjbNBYlgo6eA.ttf) format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Ubuntu';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url(https://fonts.gstatic.com/s/ubuntu/v15/4iCv6KVjbNBYlgoCxCvTtw.ttf) format('truetype');
|
||||
}
|
383
web/static/css/style.css
Normal file
383
web/static/css/style.css
Normal file
@ -0,0 +1,383 @@
|
||||
* {
|
||||
font-family: "Ubuntu Bold", "Ubuntu", sans-serif;
|
||||
}
|
||||
|
||||
div.reminderContent {
|
||||
padding: 2px;
|
||||
background-color: #f5f5f5;
|
||||
border-radius: 8px;
|
||||
margin: 8px;
|
||||
}
|
||||
|
||||
.left-pad {
|
||||
padding-left: 1rem;
|
||||
padding-right: 0.2rem;
|
||||
}
|
||||
|
||||
.notification {
|
||||
padding-right: 1.5rem;
|
||||
}
|
||||
|
||||
div.inset-content {
|
||||
margin-left: 10%;
|
||||
margin-right: 10%;
|
||||
}
|
||||
|
||||
div.flash-message {
|
||||
position: fixed;
|
||||
width: calc(100% - 32px);
|
||||
margin: 16px !important;
|
||||
z-index: 99;
|
||||
bottom: 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.flash-message.is-active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
span.spacer {
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
nav .dashboard-button {
|
||||
background: white ;
|
||||
}
|
||||
|
||||
span.patreon-color {
|
||||
color: #f96854;
|
||||
}
|
||||
|
||||
div#pageNavbar {
|
||||
background-color: #363636;
|
||||
}
|
||||
|
||||
div#pageNavbar a {
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
div#pageNavbar a:hover {
|
||||
background-color: #4a4a4a;
|
||||
}
|
||||
|
||||
img.rounded-corners {
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
div.brand {
|
||||
text-align: center;
|
||||
height: 48px;
|
||||
background-color: #8fb677;
|
||||
}
|
||||
|
||||
img.dashboard-brand {
|
||||
text-align: center;
|
||||
height: 100%;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
div.dashboard-sidebar {
|
||||
background-color: #363636;
|
||||
width: 230px !important;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
div.mobile-sidebar {
|
||||
z-index: 100;
|
||||
height: 100vh;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
div.mobile-sidebar.is-active {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
div.dashboard-frame {
|
||||
min-height: 100vh;
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
|
||||
.menu a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.menu .menu-label {
|
||||
color: #bbb;
|
||||
}
|
||||
|
||||
.menu {
|
||||
padding-left: 4px;
|
||||
}
|
||||
|
||||
.dashboard-navbar {
|
||||
background-color: #8fb677 !important;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
textarea.autoresize {
|
||||
resize: none;
|
||||
}
|
||||
|
||||
textarea, input {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.message-input:placeholder-shown {
|
||||
border-top: none;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
border-bottom-style: dashed;
|
||||
background-color: #40444b;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.message-input {
|
||||
border: none;
|
||||
background-color: rgba(0, 0, 0, 0);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.time-input {
|
||||
border-top: none;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
border-bottom-style: solid;
|
||||
background-color: #40444b;
|
||||
color: #fff;
|
||||
width: 120px;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
|
||||
.message-input::placeholder {
|
||||
color: #72767b;
|
||||
}
|
||||
|
||||
.discord-title {
|
||||
font-weight: bold;
|
||||
font-size: 1rem;
|
||||
margin: 4px 0 4px 0;
|
||||
}
|
||||
|
||||
.discord-description {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.discord-username {
|
||||
font-size: 1rem;
|
||||
font-weight: bold;
|
||||
margin-bottom: 4px;
|
||||
width: initial;
|
||||
}
|
||||
|
||||
.discord-message-header {
|
||||
white-space: nowrap;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.discord-content {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.customizable img {
|
||||
background-color: #72767b;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.customizable.is-20x20 img {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.customizable.is-24x24 img {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.customizable.is-400x300 img {
|
||||
margin-top: 10px;
|
||||
width: 100%;
|
||||
min-height: 100px;
|
||||
max-height: 400px;
|
||||
}
|
||||
|
||||
.customizable.is-32x32 img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
.customizable.thumbnail img {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
.customizable input.imageInput {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 36px;
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
.customizable.thumbnail input.imageInput {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -400px;
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
.customizable input.is-active {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.discord-frame {
|
||||
color: #fff;
|
||||
padding: 10px;
|
||||
border-radius: 8px;
|
||||
background-color: #36393f;
|
||||
}
|
||||
|
||||
.discord-embed {
|
||||
padding: 8px 16px 16px 12px;
|
||||
margin: 0 20px 4px 0;
|
||||
border-radius: 4px;
|
||||
border-left: 4px solid #fff;
|
||||
background-color: #2f3136;
|
||||
width: 500px;
|
||||
}
|
||||
|
||||
.embed-author-box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.embed-author-box > .a {
|
||||
flex: initial;
|
||||
}
|
||||
|
||||
.embed-author-box > .b {
|
||||
flex: auto;
|
||||
}
|
||||
|
||||
.embed-footer-box {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.embed-author-box .image {
|
||||
margin: 0 8px 0 0 !important;
|
||||
}
|
||||
|
||||
.embed-footer-box .image {
|
||||
margin: 0 8px 0 0 !important;
|
||||
}
|
||||
|
||||
.discord-embed-author {
|
||||
display: inline-block;
|
||||
font-size: 0.875rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.discord-embed-footer {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.embed-body {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.embed-body > .a {
|
||||
flex-grow: 1;
|
||||
flex-shrink: 1;
|
||||
flex-basis: auto;
|
||||
}
|
||||
|
||||
.embed-body input, .embed-body textarea {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.embed-body > .b {
|
||||
flex-grow: 0;
|
||||
flex-shrink: 0;
|
||||
flex-basis: auto;
|
||||
}
|
||||
|
||||
.discord-field-title, .discord-field-value {
|
||||
max-width: 120px;
|
||||
}
|
||||
|
||||
.discord-field-title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.embed-field-box {
|
||||
margin: 12px 8px 0 0;
|
||||
max-width: 120px;
|
||||
flex: initial;
|
||||
}
|
||||
|
||||
.field-input {
|
||||
font-size: 0.875rem;
|
||||
width: 120px;
|
||||
}
|
||||
|
||||
.embed-multifield-box {
|
||||
display: flex;
|
||||
max-width: 100%;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.icon-toggle {
|
||||
color: #fff;
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.preview-toggle {
|
||||
color: #fcb620;
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
a.level-item.preview-toggle:hover {
|
||||
color: #fcb620;
|
||||
}
|
||||
|
||||
.preview-toggle.is-active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
a.level-item.icon-toggle:hover {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
a.level-item:hover {
|
||||
color: rgb(55, 127, 242)
|
||||
}
|
||||
|
||||
.icon-toggle.is-active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.channel-select {
|
||||
font-size: 1.125rem;
|
||||
margin-bottom: 4px;
|
||||
margin-left: 48px;
|
||||
display: inline-flex;
|
||||
font-weight: bold;
|
||||
color: #6e89da;
|
||||
width: auto;
|
||||
border-radius: 2px;
|
||||
border-bottom: 1px solid #fff;
|
||||
}
|
Reference in New Issue
Block a user