Some further style optimization
This commit is contained in:
239
out/css/pc.css
239
out/css/pc.css
@ -540,7 +540,7 @@ th.address {
|
||||
}
|
||||
|
||||
.pc .addressbus {
|
||||
margin-bottom: 1em;
|
||||
margin-bottom: 2em;
|
||||
|
||||
background-color: var(--color-addressbus);
|
||||
color: var(--color-addressbus-text);
|
||||
@ -554,46 +554,101 @@ th.address {
|
||||
}
|
||||
|
||||
/* ARROWS */
|
||||
.pc .arrow {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
.pc .arrow-line {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
|
||||
height: 0;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.pc .arrow {
|
||||
width: 3rem;
|
||||
height: 5rem;
|
||||
|
||||
--transformation: translate(0, -2rem);
|
||||
transform: var(--transformation);
|
||||
-moz-transform: var(--transformation);
|
||||
-webkit-transform: var(--transformation);
|
||||
-o-transform: var(--transformation);
|
||||
|
||||
color: var(--color-arrow-text);
|
||||
background-color: var(--color-arrow);
|
||||
|
||||
/* Arrow Label */
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
width: 3rem;
|
||||
height: 5rem;
|
||||
|
||||
/* transform: rotate(90deg) translate(1.5rem, 2.5rem) ; */
|
||||
--transformation: translate(0, 3rem);
|
||||
transform: var(--transformation);
|
||||
-moz-transform: var(--transformation);
|
||||
-webkit-transform: var(--transformation);
|
||||
-o-transform: var(--transformation);
|
||||
|
||||
z-index: 100;
|
||||
|
||||
font-size: 0.5em;
|
||||
color: var(--color-arrow-text);
|
||||
background-color: var(--color-arrow);
|
||||
}
|
||||
|
||||
.pc .arrow.down {
|
||||
left: 25%;
|
||||
.pc .arrow > :nth-child(1) {
|
||||
/* Arrow Label Field */
|
||||
color: var(--color-arrow-text) !important;
|
||||
background-color: var(--color-arrow) !important;
|
||||
border-color: var(--color-arrow-text) !important;
|
||||
|
||||
|
||||
padding: 2px 10px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.pc .arrow.up {
|
||||
left: 75%;
|
||||
--transformation: rotate(180deg) translate(0, -4.5rem);
|
||||
transform: var(--transformation);
|
||||
-moz-transform: var(--transformation);
|
||||
-webkit-transform: var(--transformation);
|
||||
-o-transform: var(--transformation);
|
||||
.pc .arrow * {
|
||||
z-index: 1000;
|
||||
|
||||
/* Arrow Label Text */
|
||||
color: var(--color-arrow-text) !important;
|
||||
font-size: 1rem !important;
|
||||
line-height: 1.1em !important;
|
||||
font-weight: 600 !important;
|
||||
text-transform: none !important;
|
||||
white-space: normal !important;
|
||||
height: min-content !important;
|
||||
}
|
||||
.pc .arrow.up > :nth-child(1){
|
||||
/* transform: rotate(90deg) translate(0rem, 2rem); */
|
||||
|
||||
.pc .arrow :nth-child(2) {
|
||||
/* Arrow Head */
|
||||
height: 0;
|
||||
width: 0;
|
||||
|
||||
border-left: 2.5rem solid transparent;
|
||||
border-right: 2.5rem solid transparent;
|
||||
border-top: 2rem solid transparent;
|
||||
border-bottom: 2rem solid var(--color-arrow);
|
||||
|
||||
position: absolute;
|
||||
left: -1rem;
|
||||
bottom: 5rem;
|
||||
}
|
||||
|
||||
|
||||
.pc .arrow-line.top {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.pc .arrow-line.bottom {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
.pc .arrow-line.top .arrow.up {
|
||||
--transformation: translate(0, -2.5rem);
|
||||
}
|
||||
.pc .arrow-line.bottom .arrow.up {
|
||||
--transformation: translate(0, -0.5rem);
|
||||
}
|
||||
|
||||
|
||||
.pc .arrow-line.top .arrow.down {
|
||||
--transformation: translate(0, -4.5rem) rotate(180deg);
|
||||
}
|
||||
.pc .arrow-line.bottom .arrow.down {
|
||||
--transformation: translate(0, -2.5rem) rotate(180deg);
|
||||
}
|
||||
.pc .arrow-line.top .arrow.down :nth-child(1) {
|
||||
--transformation: rotate(180deg);
|
||||
|
||||
transform: var(--transformation);
|
||||
@ -602,61 +657,13 @@ th.address {
|
||||
-o-transform: var(--transformation);
|
||||
}
|
||||
|
||||
.pc .arrow.up ~ .arrow.up {
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
.pc .arrow.up ~ .arrow.up ~ .arrow.up {
|
||||
left: 25%;
|
||||
}
|
||||
|
||||
.pc .arrow.top {
|
||||
bottom: auto;
|
||||
top: -6rem;
|
||||
}
|
||||
|
||||
|
||||
.pc .arrow > :nth-child(1) {
|
||||
font-size: 1.2em;
|
||||
line-height: 1.1em;
|
||||
font-weight: 600;
|
||||
color: var(--color-arrow-text) !important;
|
||||
background-color: var(--color-arrow) !important;
|
||||
border-color: var(--color-arrow-text) !important;
|
||||
text-transform: none;
|
||||
padding: 2px 10px;
|
||||
margin: 0;
|
||||
/* transform: rotate(-90deg) translate(0rem, -2rem); */
|
||||
|
||||
white-space: normal;
|
||||
height: min-content;
|
||||
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.pc .arrow > :nth-child(1) *{
|
||||
color: var(--color-arrow-text);
|
||||
display: block;
|
||||
white-space: break-spaces;
|
||||
}
|
||||
|
||||
.pc .arrow > :nth-child(1):hover, .pc .arrow > :nth-child(1) *:hover {
|
||||
color: var(--color-arrow-text-hover);
|
||||
}
|
||||
|
||||
.pc .arrow > :nth-child(2) {
|
||||
width: 0;
|
||||
height: 0;
|
||||
|
||||
border-left: 2.5rem solid transparent;
|
||||
border-right: 2.5rem solid transparent;
|
||||
border-top: 2rem solid var(--color-arrow);
|
||||
border-bottom: 0rem solid transparent;
|
||||
|
||||
position: absolute;
|
||||
left: -1rem;
|
||||
bottom: -2rem;
|
||||
|
||||
.pc .arrow-line.bottom .arrow.down :nth-child(1) {
|
||||
--transformation: rotate(180deg);
|
||||
|
||||
transform: var(--transformation);
|
||||
-moz-transform: var(--transformation);
|
||||
-webkit-transform: var(--transformation);
|
||||
-o-transform: var(--transformation);
|
||||
}
|
||||
|
||||
|
||||
@ -751,7 +758,7 @@ th.address {
|
||||
.pc .grid-fullwidth.grid-databus {
|
||||
--width: 5rem;
|
||||
--text-height: 32rem;
|
||||
--margin-side: 2rem;
|
||||
--margin-side: 3rem;
|
||||
|
||||
width: var(--width);
|
||||
box-sizing: border-box;
|
||||
@ -828,53 +835,35 @@ th.address {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.pc .arrow-line {
|
||||
width: 0;
|
||||
height: 100%;
|
||||
|
||||
.pc .arrow.down{
|
||||
left: inherit;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.pc .arrow-line.top {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.pc .arrow-line.bottom {
|
||||
right: 0;
|
||||
bottom: 25%;
|
||||
--transformation: rotate(-90deg) translate(0, 1rem);
|
||||
}
|
||||
.pc .arrow.down > :nth-child(1) {
|
||||
--transformation: rotate(90deg);
|
||||
|
||||
transform: var(--transformation);
|
||||
-moz-transform: var(--transformation);
|
||||
-webkit-transform: var(--transformation);
|
||||
-o-transform: var(--transformation);
|
||||
}
|
||||
|
||||
.pc .arrow.up{
|
||||
left: auto !important;
|
||||
right: 0;
|
||||
top: 25%;
|
||||
--transformation: rotate(90deg) translate(0, -2.5rem);
|
||||
.pc .arrow-line.top .arrow.up {
|
||||
--transformation: rotate(-90deg) translate(0, -2.5rem);
|
||||
}
|
||||
.pc .arrow.up > :nth-child(1) {
|
||||
--transformation: rotate(-90deg);
|
||||
}
|
||||
|
||||
.pc .arrow.top {
|
||||
right: auto !important;
|
||||
left: -4.5rem !important;
|
||||
top: 25%;
|
||||
}
|
||||
|
||||
/*.pc .arrow.up ~ .arrow.up {
|
||||
|
||||
|
||||
}
|
||||
|
||||
.pc .arrow.up ~ .arrow.up ~ .arrow.up {
|
||||
|
||||
}*/
|
||||
|
||||
.pc .arrow.arrow2{
|
||||
top: 75%;
|
||||
.pc .arrow-line.bottom .arrow.up {
|
||||
--transformation: rotate(-90deg) translate(0, 0.75rem);
|
||||
}
|
||||
|
||||
|
||||
|
||||
.pc .arrow-line.top .arrow.down {
|
||||
--transformation: rotate(90deg) translate(0, 4.5rem);
|
||||
}
|
||||
.pc .arrow-line.bottom .arrow.down {
|
||||
--transformation: rotate(90deg) translate(0, 0.1rem);
|
||||
}
|
||||
|
||||
.pc .alu {
|
||||
text-align: center;
|
||||
|
Reference in New Issue
Block a user