split styles to accomodate themes; added light/dark theme

This commit is contained in:
Nathanael Phillips 2020-11-04 13:12:41 -07:00
parent f7d7580b3a
commit b75aafd3ce
21 changed files with 2456 additions and 104 deletions

365
sw5e-light.css Normal file
View file

@ -0,0 +1,365 @@
/* ----------------------------------------- */
/* Fonts */
/* ----------------------------------------- */
/* ----------------------------------------- */
/* Sheet Styles */
/* ----------------------------------------- */
body.light-theme {
/*-----------
** Chat Tab
-----------*/
/*-----------
** Combat Tab
-----------*/
/*
** Folders
*/
}
body.light-theme .app {
background: linear-gradient(90deg, #afc6d6 0, #d6d6d6 30%, #d6d6d6 70%, #afc6d6);
}
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5,
body.light-theme h6 {
color: #c40f0f;
}
body.light-theme h3 {
border-bottom: 2px solid #0d99cc;
}
body.light-theme a {
color: #c40f0f;
text-decoration: none;
}
body.light-theme a:hover,
body.light-theme a:active {
text-shadow: none;
text-decoration: underline;
}
body.light-theme blockquote {
padding: 4px 8px;
background-color: #afc6d6;
border: 1px solid #0d99cc;
box-shadow: 0 0 20px rgba(13, 153, 204, 0.8);
}
body.light-theme hr {
border-width: 0 0 1px 0;
border-bottom: 1px solid #0d99cc;
}
body.light-theme input[type="text"],
body.light-theme input[type="number"],
body.light-theme input[type="password"],
body.light-theme input[type="date"],
body.light-theme input[type="time"],
body.light-theme select,
body.light-theme textarea {
border: 1px solid #828282;
color: #1C1C1C;
}
body.light-theme input[type="text"]:hover,
body.light-theme input[type="number"]:hover,
body.light-theme input[type="password"]:hover,
body.light-theme input[type="date"]:hover,
body.light-theme input[type="time"]:hover,
body.light-theme select:hover,
body.light-theme textarea:hover {
border-color: #4f4f4f;
}
body.light-theme input[type="text"]:focus,
body.light-theme input[type="number"]:focus,
body.light-theme input[type="password"]:focus,
body.light-theme input[type="date"]:focus,
body.light-theme input[type="time"]:focus,
body.light-theme select:focus,
body.light-theme textarea:focus {
border-color: #c40f0f;
}
body.light-theme button,
body.light-theme input[type="button"],
body.light-theme input[type="submit"],
body.light-theme input[type="reset"] {
background: #c40f0f;
color: white;
}
body.light-theme button:hover,
body.light-theme input[type="button"]:hover,
body.light-theme input[type="submit"]:hover,
body.light-theme input[type="reset"]:hover,
body.light-theme button:focus,
body.light-theme input[type="button"]:focus,
body.light-theme input[type="submit"]:focus,
body.light-theme input[type="reset"]:focus {
background: #dc1111;
}
body.light-theme button:disabled:hover,
body.light-theme input[type="button"]:disabled:hover,
body.light-theme input[type="submit"]:disabled:hover,
body.light-theme input[type="reset"]:disabled:hover,
body.light-theme button:disabled:focus,
body.light-theme input[type="button"]:disabled:focus,
body.light-theme input[type="submit"]:disabled:focus,
body.light-theme input[type="reset"]:disabled:focus {
background: #c40f0f;
}
body.light-theme input[type="reset"],
body.light-theme button.secondary,
body.light-theme button[type="reset"],
body.light-theme input[type="button"].secondary,
body.light-theme input[type="submit"].secondary {
background: #D6D6D6;
color: #1C1C1C;
}
body.light-theme input[type="reset"]:hover,
body.light-theme button.secondary:hover,
body.light-theme button[type="reset"]:hover,
body.light-theme input[type="button"].secondary:hover,
body.light-theme input[type="submit"].secondary:hover {
background: #e3e3e3;
}
body.light-theme input[type="reset"]:disabled:hover,
body.light-theme button.secondary:disabled:hover,
body.light-theme button[type="reset"]:disabled:hover,
body.light-theme input[type="button"].secondary:disabled:hover,
body.light-theme input[type="submit"].secondary:disabled:hover,
body.light-theme input[type="reset"]:disabled:focus,
body.light-theme button.secondary:disabled:focus,
body.light-theme button[type="reset"]:disabled:focus,
body.light-theme input[type="button"].secondary:disabled:focus,
body.light-theme input[type="submit"].secondary:disabled:focus {
background: #D6D6D6;
}
body.light-theme #sidebar-tabs {
background: white;
}
body.light-theme #sidebar-tabs > .collapse {
color: #c40f0f;
}
body.light-theme #sidebar-tabs .item.active {
color: #c40f0f;
border-bottom: 3px solid #c40f0f;
}
body.light-theme #chat-log .chat-message {
background: white;
color: #1C1C1C;
}
body.light-theme #chat-log .chat-message > header {
color: #c40f0f;
border-bottom: 2px solid #0d99cc;
}
body.light-theme #chat-log .chat-message > header span {
color: #1C1C1C;
}
body.light-theme .notification-pip {
color: #0d99cc;
}
body.light-theme .sw5e.chat-card .card-header h3 {
color: #1C1C1C;
}
body.light-theme .sw5e.chat-card .card-header h3:hover {
color: #1C1C1C;
}
body.light-theme .sw5e.chat-card .card-buttons span {
border: 1px solid #828282;
}
body.light-theme .sw5e.chat-card .card-footer {
border-top: 1px solid #7ed6f7;
}
body.light-theme .sw5e.chat-card .card-footer span {
border-right: 1px solid #D6D6D6;
}
body.light-theme .sw5e.chat-card .card-footer span:last-child {
border-right: none;
}
body.light-theme .dice-roll .dice-formula {
background: #D6D6D6;
color: #1C1C1C;
box-shadow: none;
border-radius: 4px;
}
body.light-theme .dice-roll .dice-total {
background: #afc6d6;
border: 1px solid #0d99cc;
box-shadow: 0 0 12px rgba(13, 153, 204, 0.8);
}
body.light-theme .dice-roll .dice-total.success {
color: #0dce0d;
}
body.light-theme .dice-roll .dice-total.failure {
color: #c40f0f;
}
body.light-theme .dice-roll .dice-total.critical {
color: #0dce0d;
background: #bcdcbe;
box-shadow: 0 0 12px rgba(13, 206, 13, 0.5);
}
body.light-theme .dice-roll .dice-total.fumble {
color: #c40f0f;
background: #FBF4F4;
box-shadow: 0 0 12px rgba(196, 15, 15, 0.5);
}
body.light-theme #chat-controls .roll-type-select {
background: white;
}
body.light-theme #chat-controls label {
color: #1C1C1C;
}
body.light-theme #chat-form textarea {
background: white;
}
body.light-theme #combat #combat-round {
color: #c40f0f;
border-bottom: 2px solid #c40f0f;
}
body.light-theme #combat #combat-round .encounters h4 {
color: #c40f0f;
}
body.light-theme #combat #combat-round .encounters a {
color: #4f4f4f;
}
body.light-theme #combat #combat-round .encounters a:hover {
color: #c40f0f;
}
body.light-theme #combat #combat-tracker li.combatant {
color: #1C1C1C;
}
body.light-theme #combat #combat-tracker li.combatant:nth-child(even) {
background: rgba(175, 198, 214, 0.5);
}
body.light-theme #combat #combat-tracker li.combatant h4 {
color: #1C1C1C;
}
body.light-theme #combat #combat-tracker li.combatant .roll {
color: #4f4f4f;
}
body.light-theme #combat #combat-tracker li.combatant .roll:hover {
color: #c40f0f;
}
body.light-theme #combat #combat-tracker li.combatant .combatant-control {
color: #828282;
}
body.light-theme #combat #combat-tracker li.combatant .combatant-control.active {
color: #363636;
}
body.light-theme #combat #combat-tracker li.combatant .token-resource {
color: #4f4f4f;
border-right: 1px solid #828282;
}
body.light-theme #combat #combat-tracker li.combatant.active {
color: #0d99cc;
}
body.light-theme #combat #combat-tracker li.combatant.active .initiative,
body.light-theme #combat #combat-tracker li.combatant.active h4 {
color: #0d99cc;
}
body.light-theme #combat #combat-tracker li.combatant.hidden {
color: #1C1C1C;
}
body.light-theme #combat #combat-controls {
border-top: 1px solid #0d99cc;
}
body.light-theme .sidebar-tab .directory-header .header-search i.fa-search {
color: #0d99cc;
}
body.light-theme .sidebar-tab .directory-header .header-search input {
background: white;
}
body.light-theme .sidebar-tab .subdirectory {
background: white;
}
body.light-theme .sidebar-tab .subdirectory .folder {
border-left: 2px solid rgba(28, 28, 28, 0.4);
}
body.light-theme .sidebar-tab .directory-list li + li {
border-top: 1px solid #0d99cc;
}
body.light-theme .sidebar-tab .directory-list .folder > .folder-header {
background: white;
}
body.light-theme .sidebar-tab .directory-list .folder > .folder-header h3 {
background: white;
color: #1C1C1C;
}
body.light-theme .sidebar-tab .directory-list .folder > .folder-header h3 > i {
color: #0d99cc;
}
body.light-theme .sidebar-tab .directory-list .folder > .folder-header a {
color: #4f4f4f;
}
body.light-theme .sidebar-tab .directory-list .folder > .folder-header a:hover {
color: #c40f0f;
}
body.light-theme .sidebar-tab .directory-list .folder.collapsed > .folder-header {
background: white;
}
body.light-theme .sidebar-tab .directory-list .folder + .entity {
border-top: 1px solid #0d99cc;
}
body.light-theme .sidebar-tab .directory-list .actor,
body.light-theme .sidebar-tab .directory-list .item,
body.light-theme .sidebar-tab .directory-list .journal,
body.light-theme .sidebar-tab .directory-list .table {
background: white;
}
body.light-theme .sidebar-tab .directory-list .actor .entity-name,
body.light-theme .sidebar-tab .directory-list .item .entity-name,
body.light-theme .sidebar-tab .directory-list .journal .entity-name,
body.light-theme .sidebar-tab .directory-list .table .entity-name {
color: #1C1C1C;
}
body.light-theme .sidebar-tab .directory-list .actor:nth-child(even),
body.light-theme .sidebar-tab .directory-list .item:nth-child(even),
body.light-theme .sidebar-tab .directory-list .journal:nth-child(even),
body.light-theme .sidebar-tab .directory-list .table:nth-child(even) {
background: rgba(175, 198, 214, 0.3);
}
body.light-theme #scenes .scene {
border-top: 1px solid #0d99cc;
border-left: 4px solid #0d99cc;
}
body.light-theme #scenes .scene::after {
box-shadow: 0 0 20px #0d99cc inset;
}
body.light-theme #scenes .scene h3 {
background: white;
}
body.light-theme #playlists .directory-list li.playlist {
background: white;
}
body.light-theme #playlists .directory-list li.playlist .playlist-header {
background: white;
color: #c40f0f;
border-bottom: 2px solid #0d99cc;
}
body.light-theme #playlists .directory-list li.playlist li.sound {
color: #1C1C1C;
}
body.light-theme #playlists .directory-list li.playlist a.sound-control {
color: #c40f0f;
}
body.light-theme #compendium .compendium-entity {
background: white !important;
}
body.light-theme #compendium .compendium-entity h3 {
border-bottom: 2px solid #0d99cc;
}
body.light-theme #compendium .compendium-entity ol.compendium-list li.compendium-pack:nth-child(even) {
background: rgba(175, 198, 214, 0.3);
}
body.light-theme #compendium .compendium-entity ol.compendium-list li.compendium-pack .pack-title .status-icons {
color: #828282;
}
body.light-theme #compendium .compendium-entity ol.compendium-list li.compendium-pack footer.compendium-footer {
color: #1C1C1C;
}
body.light-theme #settings h2 {
color: #c40f0f;
border-bottom: 2px solid #0d99cc;
}
body.light-theme #settings #game-details,
body.light-theme #settings #settings-game,
body.light-theme #settings #settings-documentation,
body.light-theme #settings #settings-access {
color: #1C1C1C;
}