mirror of
https://github.com/RetroShare/RSNewWebUI.git
synced 2026-09-14 11:05:47 +05:00
162 lines
2.8 KiB
CSS
162 lines
2.8 KiB
CSS
/******************************
|
|
General site-wide rules
|
|
******************************/
|
|
h3 {
|
|
padding: 10px;
|
|
}
|
|
|
|
input, textarea {
|
|
background: white;
|
|
text-align: center;
|
|
font-size: 1.2em;
|
|
font-weight: 500;
|
|
border-radius: 5px;
|
|
padding: 0.3em;
|
|
border: 2px solid #3ba4d7;
|
|
}
|
|
|
|
button {
|
|
background: rgb(59, 164, 215);
|
|
background: white;
|
|
color: #3ba4d7;
|
|
border: 1px solid #3ba4d7;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
font-size: 1.2em;
|
|
transition: all 0.5s;
|
|
} button:hover {
|
|
background: #3ba4d7;
|
|
color: white;
|
|
}
|
|
|
|
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
|
|
******************************/
|
|
|
|
/* Login */
|
|
.login-page {
|
|
background-image: linear-gradient(-45deg, #118fec, #7bccff);
|
|
height: 100%;
|
|
}
|
|
.login-container {
|
|
margin: 0 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;
|
|
background-color: white;
|
|
}
|
|
.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;
|
|
}
|