Partial division of global stylesheet

This commit is contained in:
2021-04-16 16:19:39 +02:00
parent a977ef314a
commit 6255032cc6
5 changed files with 130 additions and 232 deletions

View File

@@ -1,101 +1,3 @@
/* TODO Ogarnac czcionke!! */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200&display=swap');
@import url('https://necolas.github.io/normalize.css/8.0.1/normalize.css');
@import url('fontello.css');
body {
font-family: 'Nunito', sans-serif;
color: #2e3133;
font-weight: normal;
margin: 0px;
}
textarea:focus {
box-shadow: 0 0 5px rgba(81, 203, 238);
outline: none;
}
.tooltip{
border: 2px solid rgba(155, 165, 160, 0.507);
border-radius: 15px;
padding: 20px;
}
a, a:visited, a:active {
color: rgb(47, 125, 146);
}
a:hover{
filter: brightness(120%);
}
.field {
border: 2px solid rgba(56, 59, 58, 0.507);
border-radius: 5px;
}
button {
font-size: 20px;
text-align: center;
cursor: pointer;
border: none;
text-decoration: none;
}
input {
border-radius: 5px;
border: 1px solid rgba(155, 165, 160, 0.507);
}
button:hover{
filter: brightness(110%);
/* TODO Insert animation here! */
}
.tooltip h1{
margin: 0px;
font-size: 24px;
font-weight: bold;
}
.tooltip button{
background-color: rgba(155, 165, 160, 0.507);
color: rgb(44, 44, 44);
border-bottom: 2px solid rgba(99, 99, 99, 0.507);
padding: 14px;
}
.btn-action {
background-color: #3bc4f1;
color: white;
padding: 15px 32px;
display: inline-block;
}
.versionInfo {
color: rgba(85, 85, 85, 0.555);
font-size: 13px;
}
.resizeVertical {
resize: vertical;
}
.resizeNone {
resize: none;
}
table{
border: none;
}
.collapsibleData {
padding: 0 18px;
/* max-height: 0; */
overflow: hidden;
/* transition: height 0.2s ease-out; */
/* transition: max-height 0.2s ease-out; */
background-color: #f1f1f1;
}
.textField-key{
background-color: #e6e6e6;
}

0
new_css/r11buttons.css Normal file
View File

51
new_css/r11tables.css Normal file
View File

@@ -0,0 +1,51 @@
.table-map {
width: 60%;
}
.table-map input{
font-size: 16px;
padding: 7px;
border: 1px solid rgba(145, 146, 146, 0.849);
border-radius: 5px;
}
.table-map input.key {
background: #f0f0f0;
}
.table-default {
width: 80%;
border-collapse: collapse;
border-spacing: 0;
}
.table-default tr {
background: #f0f0f02d;
}
.table-default tr.bottom-border {
border-bottom: 1px solid black;
}
.table-default th {
background: #ffffff;
}
.table-default tr.even {
background: #f0f0f0;
}
.table-doc td, .table-doc th{
border-spacing: 0px;
padding: 0px 10px;
}
.table-doc td {
background-color: rgba(155, 165, 160, 0.342);
}
.table-doc th {
background-color: #3bc4f1;
text-align: left;
color: white;
}

View File

@@ -1,8 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;700&display=swap');
@import url('https://necolas.github.io/normalize.css/8.0.1/normalize.css');
@import url('fontello.css');
.hyperlink, .hyperlink:visited, .hyperlink:active {
color: rgb(47, 125, 146);
cursor: pointer;
@@ -12,22 +8,6 @@
filter: brightness(120%);
}
.tooltip-window {
position: fixed;
right: 0;
filter: drop-shadow(-2px 0px 2px darkgray);
background: #e8f3f7;
padding: 15px 30px;
font-family: 'Nunito', sans-serif;
width: 40%;
height: 100%;
overflow: scroll;
}
.tooltip-window.lite {
width: 30%;
}
.bordered-field {
border: 2px solid rgba(93, 99, 96, 0.705);
border-radius: 5px;
@@ -218,7 +198,6 @@ body {
padding: 0;
}
.float-left {
display: flex;
justify-content: left;
@@ -352,50 +331,6 @@ body {
justify-content: center;
}
.table-map {
width: 60%;
}
.table-map input{
font-size: 16px;
padding: 7px;
border: 1px solid rgba(145, 146, 146, 0.849);
border-radius: 5px;
}
.table-map input.key {
background: #f0f0f0;
}
.table-default {
width: 80%;
border-collapse: collapse;
border-spacing: 0;
}
.table-default tr {
background: #f0f0f02d;
}
.table-default tr.bottom-border {
border-bottom: 1px solid black;
}
.table-default th {
background: #ffffff;
}
.table-default tr.even {
background: #f0f0f0;
}
.tip {
display: none;
}
.tip.active {
display: block;
}
.tabcontent {
display: none;
@@ -406,53 +341,6 @@ body {
justify-content: center;
}
.section-button {
width: 100%;
padding: 15px 0;
font-size: 18px;
background: #b4b4b4c5;
cursor: pointer;
border-bottom: darkgray 2px solid !important;
}
.section-button:hover {
backdrop-filter: brightness(110%);
}
.section-button .active {
background: #00000030;
}
.List .collapsibleContent {
border-left: #bdc5c9 2px solid;
overflow: hidden;
background: #ffffff50;
}
.section{
padding: 10px 0px 20px 0px ;
}
/* TODO: content subclass already in use. Creating content class overrides the subclass.
Make .content a subclass of .content */
/* .content {
padding: 0px 15px 0px 15px ;
text-align: justify;
overflow: hidden;
transition: max-height .2s ease-out;
max-height: 0px;
border-left: #c0c2c3 2px solid;
} */
.collapsibleMini::before{
content: "►";
}
.collapsibleMini.active::before{
content: "▼";
}
.hiddable {
display: none;
}
@@ -466,26 +354,6 @@ Make .content a subclass of .content */
display: none;
}
/* TODO: Add proper class */
/* button:hover{
filter: brightness(110%);
} */
.table-doc td, .table-doc th{
border-spacing: 0px;
padding: 0px 10px;
}
.table-doc td {
background-color: rgba(155, 165, 160, 0.342);
}
.table-doc th {
background-color: #3bc4f1;
text-align: left;
color: white;
}
/* TODO: Add proper class */
/* textarea {
-webkit-box-sizing: border-box;

77
new_css/r11tooltip.css Normal file
View File

@@ -0,0 +1,77 @@
.tooltip-window {
position: fixed;
right: 0;
filter: drop-shadow(-2px 0px 2px darkgray);
background: #e8f3f7;
padding: 15px 30px;
font-family: 'Nunito', sans-serif;
width: 40%;
height: 100%;
overflow: scroll;
}
.tooltip-window.lite {
width: 30%;
}
.tip {
display: none;
}
.tip.active {
display: block;
}
/* TODO: Remove !important. It's bad practice and it can cause errors in future */
.section-button {
width: 100%;
padding: 15px 0;
font-size: 18px;
background: #b4b4b4c5;
cursor: pointer;
border-bottom: darkgray 2px solid !important;
}
.section-button:hover {
backdrop-filter: brightness(110%);
}
.section-button .active {
background: #00000030;
}
.List .collapsibleContent {
border-left: #bdc5c9 2px solid;
overflow: hidden;
background: #ffffff50;
}
/* TODO: .section class is to generic. It should be renamed */
.section{
padding: 10px 0px 20px 0px ;
}
/* TODO: content subclass already in use. Creating content class overrides the subclass.
Make .content a subclass of .content */
/* .content {
padding: 0px 15px 0px 15px ;
text-align: justify;
overflow: hidden;
transition: max-height .2s ease-out;
max-height: 0px;
border-left: #c0c2c3 2px solid;
} */
.collapsibleMini::before{
content: "►";
}
.collapsibleMini.active::before{
content: "▼";
}
/* TODO: Add proper class */
/* button:hover{
filter: brightness(110%);
} */