mirror of
https://github.com/Karaka-Management/oms-OnlineResourceWatcher.git
synced 2026-01-23 05:18:40 +00:00
216 lines
5.3 KiB
CSS
216 lines
5.3 KiB
CSS
:root {
|
|
--main-background: rgb(246, 246, 246);
|
|
--main-background-highlight: #3697db;
|
|
--input-border: rgba(218, 218, 218, 0.4);
|
|
--input-border-active: rgba(54, 150, 219, 0.7);
|
|
--input-color: rgba(0, 0, 0, 0.7);
|
|
--input-color-active: rgba(0, 0, 0, 0.8);
|
|
--input-background: rgba(255, 255, 255);
|
|
--input-background-active: rgba(255, 255, 255);
|
|
--input-icon-color: rgba(54, 150, 219, .6);
|
|
--input-icon-color-active: rgba(54, 150, 219, 1);
|
|
--button-main-background: #3697db;
|
|
--button-main-background-active: #4aabf0;
|
|
--button-main-color: rgba(255, 255, 255, .9);
|
|
--text-on-background-color: rgba(255, 255, 255, 0.7);
|
|
--text-on-background-color-2: rgba(255, 255, 255, 0.85);
|
|
--nav-category-background: #343a40;
|
|
--nav-category-background-highlight: #3697db;
|
|
--nav-category-background-hover: #dcd9ec;
|
|
--nav-sub-background: #ebeff3;
|
|
--nav-sub-background-highlight: rgb(160,56,228);
|
|
--nav-sub-background-hover: rgb(42, 43, 48);
|
|
--nav-content-hover: #3697db;
|
|
--font-family: 'Roboto', sans-serif;
|
|
--button-colored-background: #3697db;
|
|
--button-colored-background-hover: #4aabf0;
|
|
--table-caption-background: rgb(255, 255, 255);
|
|
--table-head-background: #e6ecf1;
|
|
--table-row-background: rgb(255, 255, 255);
|
|
--table-row-background-alt: rgb(255, 255, 255);
|
|
--table-row-background-hover: #d4eeff;
|
|
--link-color: #3697db;
|
|
--link-hover: #3697db;
|
|
--badge-size: .55rem;
|
|
--badge-color: rgb(255, 255, 255);
|
|
--badge-background: #3697db;
|
|
--box-border: rgba(72, 71, 114, 0.3);
|
|
--box-highlight: #3697db;
|
|
--color-blue: #3697db;
|
|
--color-red: #e74c3c;
|
|
--color-green: #2ecc71;
|
|
--color-yellow: #ffde5b;
|
|
--header-background: rgb(255, 255, 255); }
|
|
|
|
html, body {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-width: 100%;
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
font-family: var(--font-family);
|
|
font-weight: 100;
|
|
color: #000; }
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: column; }
|
|
body > nav {
|
|
width: 250px;
|
|
overflow-y: auto;
|
|
font-size: 0.8em;
|
|
background: var(--nav-category-background);
|
|
color: rgba(255, 255, 255, 0.8);
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
user-select: none; }
|
|
body > header {
|
|
background: #203483;
|
|
background: linear-gradient(90deg, #203483 0%, #a038e4 100%);
|
|
border-bottom: 1px solid #203483;
|
|
padding: 0 1rem 0 1rem;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
align-items: center;
|
|
flex-flow: row;
|
|
flex-shrink: 0;
|
|
height: 55px;
|
|
color: #fff; }
|
|
body > header > form {
|
|
display: flex;
|
|
flex: 1;
|
|
padding: 0 5px 0 5px;
|
|
max-width: 800px; }
|
|
body > header .inputWrapper {
|
|
flex: 1; }
|
|
body > header input[type=text] {
|
|
width: 100%;
|
|
background: white;
|
|
border: 1px solid var(--input-border);
|
|
text-shadow: none;
|
|
box-shadow: none;
|
|
transition: border 500ms ease-out;
|
|
outline: none;
|
|
box-sizing: border-box;
|
|
padding-left: 2rem; }
|
|
|
|
main {
|
|
display: flex;
|
|
flex-direction: row;
|
|
max-width: 100%;
|
|
height: 100%;
|
|
background: var(--main-background);
|
|
overflow-x: auto;
|
|
/* required for table overflow, otherwise tables in the portlet cause overflows */
|
|
flex: 1;
|
|
box-sizing: border-box; }
|
|
|
|
#nav-side {
|
|
background: var(--nav-sub-background);
|
|
width: 250px;
|
|
border-right: 1px solid #000; }
|
|
|
|
#nav-side-inner {
|
|
border-top: none; }
|
|
#nav-side-inner > li {
|
|
/* Category
|
|
li:first-child {
|
|
// border-top: none;
|
|
// border-bottom: none;
|
|
}
|
|
*/ }
|
|
#nav-side-inner > li li a:hover, #nav-side-inner > li li a.active, #nav-side-inner > li li a:focus {
|
|
background: var(--nav-category-background-hover); }
|
|
|
|
#logo {
|
|
height: 100%;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center; }
|
|
|
|
#logo-name {
|
|
margin-left: 1rem; }
|
|
|
|
#t-nav-container {
|
|
margin-left: auto; }
|
|
|
|
#content {
|
|
display: flex;
|
|
flex: 1;
|
|
padding: 0 0 1rem 1rem;
|
|
overflow-y: auto;
|
|
flex-direction: column; }
|
|
|
|
#t-nav {
|
|
font-size: .8rem;
|
|
color: #fff;
|
|
font-weight: 300; }
|
|
#t-nav a {
|
|
border: 2px solid rgba(255, 255, 255, 0);
|
|
border-radius: 3rem;
|
|
padding: .5rem 1rem .5rem 1rem;
|
|
line-height: 25px; }
|
|
#t-nav a:hover, #t-nav a:focus, #t-nav a.active {
|
|
border: 2px solid rgba(255, 255, 255, 0.25);
|
|
background: rgba(255, 255, 255, 0.25); }
|
|
#t-nav i {
|
|
margin-right: 5px; }
|
|
#t-nav li {
|
|
display: inline; }
|
|
|
|
#dim {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #000;
|
|
opacity: 0.5;
|
|
z-index: 5; }
|
|
|
|
img.profile-image {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
border: 2px solid #fff; }
|
|
|
|
#app-message-container {
|
|
position: absolute;
|
|
margin: 0 auto;
|
|
right: 10px;
|
|
top: 85px;
|
|
padding: 0; }
|
|
#app-message-container .log-msg {
|
|
z-index: 11;
|
|
margin: 0 auto;
|
|
right: 0;
|
|
top: 0;
|
|
margin-bottom: 10px; }
|
|
|
|
.log-msg {
|
|
position: relative; }
|
|
.log-msg .close {
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 5px; }
|
|
|
|
@media only screen and (max-width: 500px) {
|
|
nav .ham-trigger {
|
|
display: flex; } }
|
|
@media only screen and (max-width: 600px) {
|
|
main > header {
|
|
flex-flow: column;
|
|
height: auto;
|
|
padding: 1rem; }
|
|
main > header form {
|
|
width: 100%; }
|
|
|
|
#t-nav-container {
|
|
order: -1;
|
|
margin-bottom: .5rem; } }
|
|
@media only screen and (max-width: 1000px) {
|
|
#t-nav .link {
|
|
display: none; } }
|