oms-OnlineResourceWatcher/app/web/Applications/Backend/css/backend-small.scss
2022-11-06 18:13:52 +01:00

203 lines
3.7 KiB
SCSS
Executable File

@import "backend_vars.scss";
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;
> 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;
}
> header {
background: rgb(32,52,131);
background: linear-gradient(90deg, rgb(32,52,131) 0%, rgb(160,56,228) 100%);
border-bottom: 1px solid rgb(32,52,131);
padding: 0 1rem 0 1rem;
box-sizing: border-box;
display: flex;
align-items: center;
flex-flow: row;
flex-shrink: 0;
height: 55px;
color: #fff;
//box-shadow: 0 0 3px 1px rgba(72, 71, 114, 0.3);
> form {
display: flex;
flex: 1;
padding: 0 5px 0 5px;
max-width: 800px;
}
.inputWrapper {
flex: 1;
}
input[type=text] {
width: 100%;
background: rgba(255, 255, 255, 1);
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;
> li {
/* Category
li:first-child {
// border-top: none;
// border-bottom: none;
}
*/
li {
a {
&:hover, &.active, &: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;
a {
border: 2px solid rgba(255, 255, 255, 0);
border-radius: 3rem;
padding: .5rem 1rem .5rem 1rem;
line-height: 25px;
&:hover, &:focus, &.active {
border: 2px solid rgba(255, 255, 255, 0.25);
background: rgba(255, 255, 255, 0.25);
}
}
i {
margin-right: 5px;
}
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;
.log-msg {
z-index: 11;
margin: 0 auto;
right: 0;
top: 0;
margin-bottom: 10px;
}
}
.log-msg {
position: relative;
.close {
position: absolute;
top: 5px;
right: 5px;
}
}
@import "backend_media.scss";