RSNewWebUI/webui-src/app/theme.css
2019-07-04 22:21:06 +05:30

171 lines
3.0 KiB
CSS

/******************************
General site-wide rules
******************************/
h3 {
padding: 10px;
}
input, textarea {
box-sizing: border-box;
background: white;
font-size: 1.2em;
font-weight: 400;
border: 1px solid #ccc;
border-radius: 5px;
padding: 0.5em;
} input:focus {
border: 1px solid #3ba4d7;
box-shadow: inset 0 0 5px #ccc;
}
button {
color: white;
background: #2699ed;
font-size: 1.2em;
padding: 5px 10px;
border: 0;
border-radius: 5px;
box-shadow: inset -3px -3px 0 #0d69ac;
cursor: pointer;
} button:active {
outline: none;
box-shadow: inset 3px 3px 0 #0d69ac;
}
table {
padding: 20px;
table-layout: fixed;
width: 100%;
border-collapse: collapse;
text-align: center;
} table th {
background-color: #3ba4d7;
height: 1em;
}
ul {
list-style-type: none;
}
li {
border-bottom: 1px solid #ccc;
padding: 10px;
}
@keyframes fadein {
from {opacity: 0;}
to {opacity: 1;}
}
.tab {
animation: fadein 0.5s;
}
.frame-center {
display: flex;
flex-direction: column;
align-items: center;
}
.error {
color: red;
}
.progressbar {
width: 100%;
background-color: grey;
position: relative;
text-align: left;
}.progressbar:before{
position: absolute;
text-align: center;
left: 0;
right: 0;
}.progress-status {
display: inline-block;
height: 100%;
background-color: #3ba4d7;
text-align: center;
}
/******************************
Target specific sections
******************************/
#tab-section {
margin-top: 3em;
}
/* Login */
.login-page {
background-image: linear-gradient(-45deg, #0e76a7, #7bccff);
height: 100%;
animation: fadein 0.5s;
}
.login-container {
background-color: white;
box-shadow: 3px 3px 5px #444;
margin: auto;
position: relative;
top: 100px;
max-width: 30%;
height: 50%;
border-radius: 5px;
display: flex;
align-items: flex-start;
flex-direction: column;
align-items: center;
}
.login-container * {
margin-top: 10px;
}
/* Navbar */
.tab-container {
padding: 1em 1em;
background-color: #333;
overflow: hidden;
position: fixed;
top: 0;
z-index: 1;
width: 100%;
}
.tab-header {
text-align: center;
padding: 1em 1em;
text-decoration: none;
color: white;
transition: all 0.5s;
} .tab-header:hover {
background-color: #999;
} .tab-header:focus {
background-color: #3ba4d7;
}
.tab-section {
text-align: center;
}
.sidebar {
overflow-x: hidden;
position: fixed;
top: 3em;
left: 0;
height: 100%;
width: 200px;
border-right: 1px solid lightgrey;
} .sidebar-link {
text-decoration: none;
padding: 1em;
display: block;
cursor: pointer;
border-bottom: 1px solid lightgrey;
}.sidebar-link:hover{
background-color: #ccc;
}.sidebar-link#selected {
background-color: lightgrey;
}
/* Content adjacent to sidebar */
.node-panel {
margin-left: 200px;
}