Files
vokspace/files/style.css
2026-01-02 21:00:45 +01:00

1030 lines
20 KiB
CSS

@import url('https://fonts.googleapis.com/css?family=Fredoka+One|Lexend+Deca&display=swap');
/*
// Allgemeine Styles fuer globale Elemente //
*/
* {
margin: 0px;
padding: 0px;
font-family: 'Lexend Deca', sans-serif;
appearance: none;
-moz-appearance: none;
-webkit-appearance: none;
color: #424242;
outline: none;
letter-spacing: .5px;
font-weight:100;
font-style:normal;
}
html, body {
width: 100%;
height: 100%;
}
main {
display: table;
margin: 0 auto;
position: relative;
top: 80px;
height: calc(100% - 80px);
width: calc(100% - 110px);
filter: blur(0px);
transition: filter .2s;
max-width: 500px;
padding-bottom: 30px;
}
header {
position: fixed;
height: 80px;
top: 0px;
left: 0px;
width: 100%;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Fredoka One', cursive;
}
b {
font-family: 'Fredoka One', cursive;
}
input[type="text"], input[type="password"], input[type="email"], input[type="number"] {
font-family: 'Fredoka One', cursive;
height: 30px;
width: 200px;
border: 0px solid #fff;
margin: 5px;
cursor: text;
background-color: #fff;
border-bottom: 2px solid #BDBDBD;
}
input, button {
font-family: 'Fredoka One', cursive;
}
input[type="password"] {
padding-right: 30px;
width: 170px;
}
input[type="number"] {
width: 50px !important;
text-align: right;
}
button:not(.classic-button):not(.fas):not(.far) {
height: 30px;
width: auto;
background-color: #fff;
border: 2px solid #424242;
border-radius: 7px;
cursor: pointer;
padding: 5px;
transition: .4s background-color, .4s color;
-webkit-transition: .4s background-color, .4s color;
-moz-transition: .4s background-color, .4s color;
}
button:not(.classic-button):not(.fas):not(.far):hover {
background-color: #424242;
color: #fff;
}
select:not(.select-lang) {
color: #fff;
height: 30px;
width: 300px;
border: 0px solid #fff;
border-radius: 15px;
cursor: pointer;
padding: 5px;
transition: letter-spacing .6s, width .6s;
background-color: #424242;
}
select:not(.select-lang):focus {
border-radius: 15px 15px 0px 0px;
}
select:not(.select-lang) option {
background-color: #424242;
color: #fff;
outline: none;
}
/*
// Elemente auf allen Seiten / Standard-Styles //
*/
.middle {
display: table-cell;
vertical-align: middle;
text-align: center;
}
a.no-formatting {
text-decoration: none;
}
a.no-formatting:hover {
color: #6E6E6E;
}
a.back {
font-size: 40px;
margin: 5px;
cursor: pointer;
color: #424242;
position: fixed;
top: calc(50% - 20px);
left: calc(50% - 300px);
transition: transform 0.5s, opacity 0.7s;
transform: translateX(0px);
z-index: 600;
}
a.back:hover {
transform: translateX(-10px);
}
a.back#back-arrow-window {
display: none;
}
a.icon {
font-size: 40px;
margin: 5px;
cursor: pointer;
color: #424242;
}
a#show-not-arrow {
display: none;
}
.classic-button {
color: #fff;
height: 30px;
width: 150px;
max-width: 225px;
border: 0px solid #fff;
border-radius: 15px;
margin: 10px;
cursor: pointer;
background-color: #424242;
position: relative;
padding-left: 15px;
}
.classic-button-light-grey {
background-color: #D8D8D8;
}
.classic-button i {
color: #fff;
transition: left .3s,top .3s,bottom .3s,right .3s,width .3s,border-radius .3s, line-height .3s, font-size .3s;
background-color: #6E6E6E;
position: absolute;
left: 5px;
top: 5px;
bottom: 5px;
width: 20px;
border-radius: 100%;
line-height: 20px;
}
.classic-button .fa-pen {
font-size: 10px !important;
}
.classic-button:hover i {
left: 0px;
top: 0px;
bottom: 0px;
right: 0px;
width: 100%;
border-radius: 15px;
font-size: 20px !important;
line-height: 30px;
}
.red {
color: #F78181 !important;
}
.green {
color: #A9F5A9 !important;
}
.impressum {
color: #424242;
position: absolute;
bottom: 5px;
right: 0;
left: 0;
text-align: center;
}
form input[type="checkbox"]:not(.fa-eye):not(.fa-eye-slash) {
width: 20px;
height: 20px;
background-color: #fff;
border: 4px solid #424242;
border-radius: 100%;
cursor: pointer;
}
form input[type="checkbox"]:not(.fa-eye):not(.fa-eye-slash):checked {
width: 20px;
height: 20px;
background-color: #fff;
border: 7px solid #424242;
border-radius: 100%;
cursor: pointer;
}
.window {
display: none;
background-color: rgba(255,255,255,.7);
padding: 30px 10px 5px 10px;
border: 4px solid #424242;
border-radius: 15px;
position: fixed;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
left: 0px;
right: 0px;
margin: 0 auto;
z-index: 505;
width: 300px;
text-align: center;
opacity: 0;
transition: opacity 0.7s;
}
.window button {
margin: 10px auto;
}
.window select {
width: 280px;
height: 25px;
}
.window input[type="text"],input[type="password"],input[type="number"] {
background-color: rgba(0,0,0,0);
}
#window-2 input[type="checkbox"] {
border: 0px solid #424242;;
transition: border .2s;
}
#window-2 input[type="checkbox"]:checked {
border: 4px solid #424242;;
transition: border .2s;
}
#window-2 input[type="checkbox"]:nth-of-type(2) {
background-color: #F78181;
}
#window-2 input[type="checkbox"]:nth-of-type(3) {
background-color: #F7D358;
}
#window-2 input[type="checkbox"]:nth-of-type(4) {
background-color: #A9F5A9;
}
input.fa-eye,input.fa-eye-slash {
height: 42px;
width: 20px;
font-size: 20px;
border: 0px solid #fff;
background-color: rgba(255,255,255,0);
display: inline;
position: absolute;
line-height: 42px;
right: calc(50% - 90px);
cursor: pointer;
}
input.fa-eye-slash {
visibility: hidden;
right: calc(50% - 89px);
}
.action-feedback {
min-height: 50px;
width: calc(100% - 50px);
margin: 15px auto;
background-color: #F2F2F2;
position: absolute;
z-index: 500;
top: -100%;
font-size: 15px;
display: table;
padding-left: 50px;
border-radius: 10px;
box-shadow: 3px 3px 30px -18px #424242;
}
.action-feedback:not(.action-feedback-permanent) {
animation: pop-up 5s;
}
.action-feedback-permanent {
-webkit-animation: pop-up-permanent 1.0s forwards;
animation: pop-up-permanent 1.0s forwards;
}
@keyframes pop-up {
0 {
top: -100%;
}
20% {
top: -25px;
}
28% {
top: -40px;
}
82% {
top: -40px;
}
90% {
top: -25px;
}
100% {
top: -100%;
}
}
@keyframes pop-up-permanent {
0 {
top: -100%;
}
70% {
top: -25px;
}
100% {
top: -40px;
}
}
.action-feedback-green {
background-color: #CEF6D8;
}
.action-feedback-red {
background-color: #F6CECE;
}
.action-feedback p {
display: table-cell;
vertical-align: middle;
}
.action-feedback i:not(.fa-hand-peace) {
position: absolute;
top: 0px;
left: 0px;
height: 50px;;
width: 55px;
color: #424242;
font-size: 40px;
line-height: 50px;
}
.select-lang {
width: 50px;
height: 40px;
}
/*
// Header //
*/
header p {
font-family: 'Fredoka One', cursive;
position: absolute;
top: 0px;
left: 0px;
font-size: 40px;
padding: 15px;
cursor: pointer;
}
header p::before {
content: "Vokabel";
}
header p::after {
content: "Box";
background-color: #424242;
color: #fff;
border-radius: 10px;
padding: 5px;
margin-left: 5px;
}
header button.fa-ellipsis-v {
height: 80px;
width: 50px;
font-size: 40px;
background-color: #fff;
border: 0px solid #fff;
float: right;
margin: 0px 15px 15px 15px;
cursor: pointer;
border-radius: 100%;
}
header div.more-menu-content {
visibility: hidden;
opacity: 0;
transition: visibility 0.2s, opacity 0.2s;
position: absolute;
top: 75px;
right: 20px;
background-color: #fff;
box-shadow: 1px 1px 10px grey;
padding: 10px 0 10px 0;
}
header div.more-menu-content div {
padding: 8px 13px 8px 10px;
font-size: 15px;
cursor: pointer;
transition: background-color .2s,padding .4s;
}
header div.more-menu-content div.selected {
padding: 8px 13px 8px 7px;
border-left: 3px solid #424242;
}
header div.more-menu-content div:hover {
background-color: #F2F2F2;
padding: 8px 10px 8px 10px;
}
header div.more-menu-content div.selected:hover {
padding: 8px 10px 8px 7px;
}
header div.more-menu-content div i {
margin-right: 5px;
transition: margin-right .4s;
}
header div.more-menu-content div:hover i {
margin-right: 8px;
}
header div.more-menu:hover .more-menu-content {
visibility: visible;
opacity: 1;
}
header button.classic-button-grey {
position: absolute;
top: 10px;
left: 10px;
z-index: 504;
}
/*
// Page: Index //
*/
.vok-folder {
height: 50px;
width: calc(100% - 76px);
background-color: #F2F2F2;
border: 0px solid #fff;
border-left: 6px solid #424242;
position: relative;
margin: 5px auto;
cursor: pointer;
padding-left: 35px;
padding-right: 35px;
text-overflow: ellipsis;
overflow: hidden;
display: table;
}
.vok-folder span {
display: table-cell;
vertical-align: middle;
}
.vok-table {
margin: 0 auto;
width: 100%;
border-collapse: separate;
border-spacing: 0px;
border-radius: 30px 30px 10px 10px;
border: 4px solid #424242;
}
.vok-table input[type="text"] {
height: 100%;
width: calc(100% - 10px);
border: 0px solid #fff;
}
.vok-table input[type="checkbox"] {
position: absolute;
right: -25px;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
.vok-table b {
line-height: 30px;
}
.vok-table th,.vok-table td {
border: 1px solid #424242;
}
.vok-table td {
width: 50%;
position: relative;
}
.vok-table tr td:last-child {
border-right: 0px solid #fff;
}
.vok-table tr td:first-child {
border-left: 0px solid #fff;
}
.vok-table tr:last-child td {
border-bottom: 0px solid #fff;
}
.vok-table tr:first-child td {
border-top: 0px solid #fff;
}
.vok-table tr.progress-1 td:last-child:before {
content:"";
position: absolute;
height: 90%;
width: 10px;
border-radius: 20px;
top: 5%;
right: -20px;
background-color: #F78181;
}
.vok-table tr.progress-2 td:last-child:before {
content:"";
position: absolute;
height: 90%;
width: 10px;
border-radius: 20px;
top: 5%;
right: -20px;
background-color: #F7D358;
}
.vok-table tr.progress-3 td:last-child:before {
content:"";
position: absolute;
height: 90%;
width: 10px;
border-radius: 20px;
top: 5%;
right: -20px;
background-color: #A9F5A9;
}
/*
// Page: Learn //
*/
.live-result {
position: absolute;
top: -67px;
width: 45%;
left: 27.5%;
text-align: center;
}
.live-result div {
background-color: #424242;
border-radius: 15px;
font-size: 20px;
padding: 3px 5px 3px 5px;
display: inline;
color: #fff;
}
.live-result div span {
color: #fff;
}
p.result {
height: 20px;
width: inherit;
margin: 15px;
background-color: #fff;
display: inline-block;
font-size: 20px;
}
p.result-true {
border-bottom: 4px solid #A9F5A9;
}
p.result-false {
border-bottom: 4px solid #F78181;
}
/*
// Page: Myaccount //
*/
.myaccount-main {
width: calc(100% - 28px);
margin: 0 auto;
height: auto;
border: 4px solid #424242;
border-radius: 15px;
padding: 0 10px 0 10px;
position: relative;
}
.myaccount-main .myaccount-statistic {
width: 50%;
height: 50px;
float: left;
border-bottom: 4px solid #424242;
z-index: -1;
text-align: center;
}
.myaccount-main .myaccount-statistic span {
font-size: 15px;
}
.myaccount-main .myaccount-statistic p {
line-height: 20px;
}
.myaccount-main .actions {
text-align: right;
margin: 10px 0;
font-size: 12px;
}
/*
// Page: Search //
*/
table.search td {
padding: 1px 7px 1px 7px;
}
table.search tr:first-child:hover td {
background-color: #fff;
cursor: default;
color: #424242;
}
table.search tr:hover td {
background-color: #424242;
cursor: pointer;
color: #fff;
}
/*
// Page: Library //
*/
.library-folder {
height: 50px;
width: calc(100% - 26px);
background-color: #F2F2F2;
border:0px solid #fff;
border-left: 6px solid #424242;
position: relative;
margin-bottom: 5px;
cursor: pointer;
padding-left: 10px;
padding-right: 10px;
text-align: left;
display: table;
}
.library-folder span {
text-align: center;
width: 60%;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: table-cell;
vertical-align: middle;
}
button.list-page-nav {
height: 30px;
width: 30px;
font-size: 30px;
border: 0px solid #fff;
background-color: #fff;
cursor: pointer;
}
span.list-page-nav {
font-size: 30px;
}
/*
// Noten //
*/
.subject-select {
height: 50px;
width: calc(100% - 76px);
background-color: #F2F2F2;
border: 0px solid #fff;
line-height: 50px;
position: relative;
margin: 5px auto;
cursor: pointer;
padding-left: 35px;
padding-right: 35px;
text-overflow: ellipsis;
overflow: hidden;
}
.subject-select h3,.subject-item-list h3 {
background-color: #424242;
color: #fff;
border-radius: 10px;
padding: 2.5px;
display: inline;
width: 30px;
line-height: 100%;
position: absolute;
right: 5px;
top: 5px;
}
.subject-item-list {
height: 30px;
width: calc(100% - 76px);
background-color: #fff;
line-height: 30px;
position: relative;
margin: 0 auto;
cursor: pointer;
padding-left: 35px;
padding-right: 35px;
text-overflow: ellipsis;
overflow: hidden;
}
.subject-item-list h6 {
text-align: left;
line-height: 30px;
}
.subject-item-list span {
text-align: left;
position: absolute;
left: 5px;
color: #BDBDBD;
}
h2 b span {
background-color: #424242;
color: #fff;
border-radius: 10px;
padding: 4px;
display: inline;
width: 30px;
line-height: 100%;
}
.color-select-box {
width: 203px;
margin: 0 auto;
}
.color-select-box input[type="radio"] {
height: 30px;
width: 30px;
border: 3px solid #D8D8D8;
}
.color-select-box input[type="radio"]:checked {
border: 3px solid #6E6E6E;
}
.color-select-box input[type="radio"]:nth-child(1) {
background-color: #FF5E5E;
}
.color-select-box input[type="radio"]:nth-child(2) {
background-color: #FF9D5E;
}
.color-select-box input[type="radio"]:nth-child(3) {
background-color: #FFBB5E;
}
.color-select-box input[type="radio"]:nth-child(4) {
background-color: #FFDF5E;
}
.color-select-box input[type="radio"]:nth-child(5) {
background-color: #FFFA5E;
}
.color-select-box input[type="radio"]:nth-child(6) {
background-color: #EBFF5E;
}
.color-select-box input[type="radio"]:nth-child(7) {
background-color: #CCFF5E;
}
.color-select-box input[type="radio"]:nth-child(8) {
background-color: #A5FF5E;
}
.color-select-box input[type="radio"]:nth-child(9) {
background-color: #87FF5E;
}
.color-select-box input[type="radio"]:nth-child(10) {
background-color: #5EFF5E;
}
.color-select-box input[type="radio"]:nth-child(11) {
background-color: #5EFF5E;
}
.color-select-box input[type="radio"]:nth-child(12) {
background-color: #5EFFD6;
}
.color-select-box input[type="radio"]:nth-child(13) {
background-color: #5EE2FF;
}
.color-select-box input[type="radio"]:nth-child(14) {
background-color: #5EC7FF;
}
.color-select-box input[type="radio"]:nth-child(15) {
background-color: #5EA5FF;
}
.color-select-box input[type="radio"]:nth-child(16) {
background-color: #5E83FF;
}
.color-select-box input[type="radio"]:nth-child(17) {
background-color: #795EFF;
}
.color-select-box input[type="radio"]:nth-child(18) {
background-color: #A55EFF;
}
.color-select-box input[type="radio"]:nth-child(19) {
background-color: #D85EFF;
}
.color-select-box input[type="radio"]:nth-child(20) {
background-color: #FF5EFA;
}
.color-select-box input[type="radio"]:nth-child(21) {
background-color: #FF5ED6;
}
.color-select-box input[type="radio"]:nth-child(22) {
background-color: #FF5EB8;
}
.color-select-box input[type="radio"]:nth-child(23) {
background-color: #FF5E8F;
}
.color-select-box input[type="radio"]:nth-child(24) {
background-color: #FF5E79;
}
.half-year-select {
background-color: #fff;
height: 22px;
width: 292px;
border: 4px solid #424242;
border-radius: 15px;
margin: 0 auto;
margin-top: 5px;
}
.half-year-select div {
width: 50%;
height: 100%;
margin: 0;
padding: 0;
float: left;
cursor: pointer;
}
.half-year-select div.selected {
background-color: #424242;
color: #fff;
}
.half-year-select div:not(.selected) {
background-color: none;
}
div.sub-head-strikethrough {
width: calc(100% - 5px);
position: relative;
margin-left: 2.5px;
margin-top: 10px;
}
div.sub-head-strikethrough span {
background-color: #fff;
padding: 0 5px 0 5px;
}
div.sub-head-strikethrough:before {
position: absolute;
content:"";
background-color: #BDBDBD;
height: 2px;
width: 100%;
left: 0px;
right: 2.5px;
top: calc(50% - 1px);
z-index: -1;
}
/*
// Warteanimation //
*/
.bar-content {
width:72px;
height:auto;
margin-left:auto;
margin-right: auto;
}
.bar {
width:10px;
height:70px;
background-color: #424242;
border-radius:50px;
margin:1px;
float: left;
}
.bar1 {
animation:bar-extrude 1s infinite;
animation-delay: 0s;
}
.bar2 {
animation:bar-extrude 1s infinite;
animation-delay: .15s;
}
.bar3 {
animation:bar-extrude 1s infinite;
animation-delay: .3s;
}
.bar4 {
animation:bar-extrude 1s infinite;
animation-delay: .45s;
}
.bar5 {
animation:bar-extrude 1s infinite;
animation-delay: .6s;
}
.bar6 {
animation:bar-extrude 1s infinite;
animation-delay: .75s;
}
@keyframes bar-extrude {
0% {
height:70px;
}
50% {
height:40px;
margin-top:15px;
}
}
/*
// Responsivitaet //
*/
@media(max-width: 1060px) {
header {
background-color: #fff;
z-index: 510;
}
@keyframes pop-up {
0 {
top: -100%;
}
20% {
top: 55px;
}
28% {
top: 40px;
}
82% {
top: 40px;
}
90% {
top: 55px;
}
100% {
top: -100%;
}
}
.live-result {
top: 15px;
}
}
@media (max-width: 620px) {
main {
height: calc(100% - 60px);
top: 60px;
width: calc(100% - 10px);
margin: 0px 5px 0px 5px;
max-width: none;
}
h2 {
font-size: 20px;
}
.classic-button {
width: calc(50% - 20px);
font-size: 14px;
}
td {
font-size: 15px;
}
.vok-table tr.progress-1 td:last-child:before,.vok-table tr.progress-2 td:last-child:before,.vok-table tr.progress-3 td:last-child:before {
right: 5px;
}
.vok-table td:first-child {
padding: 0px;
}
.vok-table td:last-child {
padding: 0px 20px 0px 0px;
}
.classic-button {
margin: 2px;
}
a.back {
bottom: 5px;
left: 5px;
height: 45px;
width: 45px;
text-align: center;
padding: 5px;
font-size: 45px;
top: auto;
background-color: rgba(230,230,230,0.8);
border-radius: 100%;
transition: none;
}
a.back:hover {
transform: none;
-webkit-transform: none;
-moz-transform: none;
}
.live-result {
text-align: right;
width: auto;
right: 0px;
left: auto;
top: 23px;
}
.live-result div {
margin-right: 10px;
}
}
@media (max-width: 530px) {
header p {
padding: 0px;
margin-left: 5px;
margin-top: -3px;
}
header {
height: 55px;
}
header p:before, header p:after {
font-size: 25px;
}
header button.fa-ellipsis-v {
font-size: 30px;
margin: 0px;
margin-top: -2.5px;
height: 60px;
}
header div.more-menu-content {
top: 55px;
right: 5px;
}
header button.fa-search {
font-size: 33px;
}
.live-result {
top: 1px;
}
}