Skip to content

Commit

Permalink
Tidy up CSS a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
bosschaert committed Apr 24, 2024
1 parent 0743e37 commit 201d022
Showing 1 changed file with 16 additions and 28 deletions.
44 changes: 16 additions & 28 deletions blocks/edit/da-versions/da-versions.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
display: flex;
}

.da-versions-panel .audit-entry-hidden {
display: none;
}

.da-versions-panel .audit-group {
max-height: 200px;
overflow: hidden;
Expand Down Expand Up @@ -73,14 +77,14 @@
}

.da-versions-panel .version-line {
background:#cecece;
z-index:1;
width:2px;
height:100%;
position:absolute;
top: 5px;
left: 30px;
}
background:#cecece;
z-index:1;
width:2px;
height:100%;
position:absolute;
top: 5px;
left: 30px;
}

.da-versions-panel .versions-wrapper {
position: relative;
Expand All @@ -92,6 +96,7 @@
margin-left: 1rem;
}

/* Bullets in the version list */
.da-versions-panel .bullet {
width: 64px;
height: 24px;
Expand All @@ -100,20 +105,6 @@
z-index: 2;
}

/* This is the line that connects the bullets */
.xda-versions-panel .bullet:before {
background-color: #cecece;
background-color: red;
color: green;
width: 2px;
content: '';
position: absolute;
top: 0px;
bottom: 0px;
left: -22px;
z-index: -1;
}

.da-versions-panel .bullet-audit-first {
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><circle stroke='rgb(206 206 206)' stroke-width='2' fill='white' cx='15' cy='15' r='13'/></svg>");
height: 32px;
Expand All @@ -127,21 +118,18 @@
color: #8e8e8e;
}

.da-versions-panel .bullet-stored {
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><circle fill='rgb(123 160 47)' cx='15' cy='15' r='8'/></svg>");
}

.da-versions-panel .bullet-history {
height: 32px;
background-image: url("/blocks/edit/img/Smock_Calendar_18_N.svg");
background-size: 32px;
background-position-y: top;
}

.da-versions-panel .audit-entry-hidden {
display: none;
.da-versions-panel .bullet-stored {
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32'><circle fill='rgb(123 160 47)' cx='15' cy='15' r='8'/></svg>");
}

/* Toolbar buttons */
.da-versions-close {
background: url("/blocks/edit/img/Smock_Close_18_N.svg") center center / 20px no-repeat #EFEFEF;
}
Expand Down

0 comments on commit 201d022

Please sign in to comment.