Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/DerDiemen/eclipsephase in…
Browse files Browse the repository at this point in the history
…to Release_Branch
  • Loading branch information
Artemystra committed Apr 11, 2023
2 parents 22b6935 + 50b22e5 commit 8e387be
Show file tree
Hide file tree
Showing 47 changed files with 3,830 additions and 1,066 deletions.
217 changes: 152 additions & 65 deletions README.md

Large diffs are not rendered by default.

130 changes: 109 additions & 21 deletions css/eclipsephase.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@
grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grid-6col-true {
grid-column: span 6 / span 6;
grid-template-columns: repeat(6, minmax(0, 1fr));
}

.grid-7col {
grid-column: span 7 / span 7;
grid-template-columns: repeat(7, minmax(0, 1fr));
Expand Down Expand Up @@ -447,13 +452,13 @@ a.entity-link {
min-height: 36px;
}

span.fail {
.fail {
font-size: 20px;
color: var(--negative);
opacity: 1;
}

span.success {
.success {
font-size: 20px;
color: var(--positive);
opacity: 1;
Expand Down Expand Up @@ -650,7 +655,7 @@ input[class="rest"]:checked{

input[class="sheet equipped checkBox"],
input[class="sheet equipped checkBox"]:checked{
margin: 0 15px 0 0;
margin: 0 5px 0 0;
}

input [class="leftField"],
Expand Down Expand Up @@ -1103,14 +1108,15 @@ h3.subheader {
font-size: 16px;
display: flex;
align-items: center;
margin-bottom: -3px;
}

h3.subheader.colorV1{
background-color: var(--pitchBorder);
}

h3.subheader.dialog {
height: 30px;
min-height: 30px;
border: none;
align-items: center;
background: none;
Expand Down Expand Up @@ -1348,7 +1354,7 @@ h3.subheaderBlank {
.flexrow.subheader {
border-bottom: solid var(--accentBackground) 3px;
background-color: var(--focusBackground);
height: 30px;
min-height: 30px;
}

.flexrow.subheader.colorV1{
Expand Down Expand Up @@ -1638,15 +1644,16 @@ h3.inline {
font-weight: bold;
}

/*Tooltips shown on hover*/
.tooltip {
position: relative;
}

.tooltip div[role=tooltip],
.tooltip div[role=tooltipNegative]{
.tooltip div[role=tooltipNegative],
.tooltip div[role=healthOverlay]{
display: none;
opacity: 0;
transition: opacity 1s;
}

.tooltip:hover div[role=tooltip] {
Expand All @@ -1663,6 +1670,20 @@ h3.inline {
color: var(--mainText);
}

.tooltip:hover div[role=healthOverlay] {
opacity: 1;
font-family: 'Cousine', monospace;
max-width: 320px;
min-width: 320px;
display: block;
text-align: left;
position: absolute;
top: -67px;
left: -8px;
z-index: 100;
color: var(--mainText);
}

.tooltip:hover div[role=tooltipNegative] {
opacity: 1;
font-family: 'Cousine', monospace;
Expand All @@ -1689,6 +1710,7 @@ h3.inline {

.tooltipTop{
clip-path: polygon(71% 0, 73% 35%, 97% 35%, 100% 75%, 100% 100%, 0% 100%, 0% 100%, 0 0, 0% 0);
padding: 10px 20px;
}

.tooltipTopBorder{
Expand Down Expand Up @@ -1717,34 +1739,25 @@ h3.inline {
transition-delay: 1s;
visibility: hidden;
position: absolute;
width: 120px;
min-width: 140px;
width: fit-content;
background-color: var(--focusBackground);
color: var(--mainText);
text-align: center;
padding: 5px 0;
padding: 5px 3px;
border-style: solid;
border-width: 3px;
border-radius: 6px;
border-color: var(--highlightBackground);
top: -35px;
left: 22px;
z-index: 100;
}

.wantToKnowMore:hover .tooltipText {
opacity: 1;
}

/*.wantToKnowMore .tooltipText::after {
content: " ";
position: absolute;
top: 119%;
left: 43%;
margin-top: -2px;
border-width: 5px;
border-style: solid;
border-color: var(--highlightBackground) transparent transparent transparent;
}*/

.wantToKnowMore:hover .tooltipText {
visibility: visible;
}
Expand All @@ -1756,7 +1769,9 @@ h3.inline {
.restInfo,
.information,
.armorValue,
.currentStatus{
.currentStatus,
.mentalHealth,
.physicalHealth{
max-height: 400px;
overflow: auto;
background-repeat: no-repeat;
Expand All @@ -1767,6 +1782,14 @@ h3.inline {
border-right: solid 0.25em var(--mainBackground);
}

.mentalHealth{
max-height: 200px;
padding: 5px 0em 2em 1.5em;
}
.physicalHealth{
max-height: 200px;
}

.currentStatus{
background-image: url(../resources/img/status.webp);
}
Expand Down Expand Up @@ -1856,6 +1879,71 @@ h3.inline {
clip-path: polygon(15% 0, 100% 0%, 100% 100%, 38% 100%);
}

/*Sliders */

/* The switch - the box around the slider */
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
opacity: 0;
width: 0;
height: 0;
}

/* The slider */
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}

.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}

input:checked + .slider {
background-color: #2196F3;
}

input:focus + .slider {
box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
border-radius: 34px;
}

.slider.round:before {
border-radius: 50%;
}

/* Module Styling Support */

/*Monk's Enhanced Journal*/
Expand Down
7 changes: 7 additions & 0 deletions eclipsephase.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"folders": [
{
"path": "."
}
]
}
Loading

0 comments on commit 8e387be

Please sign in to comment.