qmining-page/src/defaultStyles.css
2021-02-16 10:10:52 +01:00

277 lines
4.3 KiB
CSS

:root {
--text-color: #9999ff;
--bright-color: #f2f2f2;
--background-color: #222426;
--hoover-color: #202020;
}
body {
font: normal 14px Verdana;
color: #999999;
}
a {
color: white;
}
.link {
margin: 20px;
font-size: 20px;
}
.sidebarLink {
color: var(--text-color);
text-decoration: none;
}
.sidebar {
display: flex;
flex-direction: column;
margin: 0;
padding: 0;
width: 200px;
background-color: #222426;
position: fixed;
height: 100%;
overflow: auto;
}
.content {
margin-left: 200px;
padding: 1px 16px;
}
.sidebar a {
display: block;
color: black;
padding: 16px;
text-decoration: none;
color: var(--bright-color);
}
.sidebar a.active {
background-color: var(--text-color);
color: black;
}
.sidebar a:hover:not(.active) {
background-color: #555;
color: white;
}
.menuicon div {
height: 5px;
background-color: var(--bright-color);
margin: 0px 0;
display: none;
width: 30px;
}
.sidebarheader {
font-size: 40px;
color: var(--bright-color);
display: flex;
text-align: center;
}
.headercontainer {
display: flex;
flex-direction: row;
align-items: center;
flex-wrap: nowrap;
position: relative;
margin: 10px;
}
@media screen and (max-width: 700px) {
.sidebar {
width: 100%;
height: auto;
position: relative;
}
.sidebar a {
float: left;
}
div.content {
margin-left: 0;
}
}
@media screen and (max-width: 700px) {
.menuicon div {
display: block;
margin: 6px 0;
}
.sidebar a {
text-align: center;
float: none;
}
.menuicon {
display: inline;
}
.sidebaritemsconainer {
display: inline;
}
.sidebarheader {
position: absolute;
left: 50%;
top: 50%;
transform: translateX(-50%) translateY(-50%);
}
.codecontainer {
margin-left: 0px;
margin-right: 0px;
}
.sitedescription {
width: 100%;
margin: 0 auto;
}
.rtfmImage {
display: flex;
justify-content: center;
width: 100%;
}
.manualUsage {
display: flex;
flex-direction: column;
}
}
.questionContainer {
margin: 10px;
}
.questionContainer:hover {
background-color: var(--hoover-color);
}
.question {
word-wrap: break-word;
font-weight: bold;
font-size: 17px;
color: #ffffff;
}
.answer {
word-wrap: break-word;
font-size: 15px;
}
.data {
word-wrap: break-word;
font-size: 13px;
color: #a1a1a1;
}
.loadingindicator {
text-align: center;
vertical-align: middle;
color: #fff;
font-size: 30px;
}
.link {
margin: 10px;
}
.subjectSelector {
overflow: scroll;
height: 350px;
margin: 10px;
}
.subjItem {
font-size: 18px;
padding: 3px;
cursor: pointer;
float: 1;
display: flex;
justify-content: space-between;
}
.activeSubjItem {
background-color: var(--text-color);
color: black;
}
.subjItem:hover:not(.activeSubjItem) {
background-color: #555;
color: white;
}
.donate {
background-color: #222a26;
}
.rtfmImage {
justify-content: center;
margin: 0px 10px;
}
.manualUsage {
display: flex;
}
select {
cursor: pointer;
width: 100%;
max-width: 100%;
appearance: none;
border: 1px solid var(--background-color);
box-shadow: 0 1px 0 1px rgba(0, 0, 0, 0.04);
line-height: 35px;
border-radius: 3px;
background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
linear-gradient(to bottom, #222426 0%, #222426 100%);
background-repeat: no-repeat, repeat;
background-position: right 0.7em top 50%, 0 0;
background-size: 0.65em auto, 100%;
color: white;
}
select:hover {
border: 1px solid #99f;
}
.userStatus {
display: flex;
margin-top: auto;
margin-bottom: 20px;
align-items: center;
justify-content: space-between;
}
.msgs {
display: flex;
align-items: center;
}
.logout {
padding: 7px;
cursor: pointer;
}
.logout:hover {
color: #fff;
}
.msgs :first-child {
font-size: 35px;
}
.msgs > div {
margin: 0px 5px;
}