Skip to content

Commit

Permalink
CSS Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed May 3, 2023
1 parent 0b429b1 commit cff5ab0
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions Assets/css/plugin-manager.css
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@
.plugin-name svg {
vertical-align: sub;
pointer-events: none;
margin-right: 5px;
color: var(--blue-icon-dark);
fill: var(--blue-icon-dark);
}

#PluginSideBar > ul li {
Expand Down Expand Up @@ -319,13 +322,6 @@
vertical-align: middle;
}

.plugin-name svg {
margin-right: 5px;
color: var(--blue-icon-dark);
fill: var(--blue-icon-dark);
pointer-events: none;
}

.plugin-author {
font-size: .9em;
font-style: italic;
Expand Down Expand Up @@ -848,14 +844,14 @@ td.manual-plugin-description {
cursor: pointer;
}

.age-warning:before {
.age-warning::before {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%23FF6500' class='bi bi-exclamation-diamond' viewBox='0 0 16 16'%3E%3Cpath d='M6.95.435c.58-.58 1.52-.58 2.1 0l6.515 6.516c.58.58.58 1.519 0 2.098L9.05 15.565c-.58.58-1.519.58-2.098 0L.435 9.05a1.482 1.482 0 0 1 0-2.098L6.95.435zm1.4.7a.495.495 0 0 0-.7 0L1.134 7.65a.495.495 0 0 0 0 .7l6.516 6.516a.495.495 0 0 0 .7 0l6.516-6.516a.495.495 0 0 0 0-.7L8.35 1.134z'/%3E%3Cpath d='M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z'/%3E%3C/svg%3E");
vertical-align: middle;
margin-right: 5px;
pointer-events: none;
}

.age-danger:before {
.age-danger::before {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%23DA004C' class='bi bi-exclamation-diamond-fill' viewBox='0 0 16 16'%3E%3Cpath d='M9.05.435c-.58-.58-1.52-.58-2.1 0L.436 6.95c-.58.58-.58 1.519 0 2.098l6.516 6.516c.58.58 1.519.58 2.098 0l6.516-6.516c.58-.58.58-1.519 0-2.098L9.05.435zM8 4c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995A.905.905 0 0 1 8 4zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3E%3C/svg%3E");
vertical-align: middle;
margin-right: 5px;
Expand Down Expand Up @@ -1124,9 +1120,9 @@ figure.notice a, figure.notice a:visited {
.available-plugin-description code, code.code {
background-color: rgba(27, 31, 35, .22) !important;
font-size: .9rem !important;
font-family: Monospace !important;
font-family: monospace !important;
letter-spacing: .08rem;
color: #bb092d !important;
color: #BB092D !important;
margin: auto 3px !important;
padding: 1px 3px 2px 3px !important;
border-radius: 2px;
Expand Down Expand Up @@ -1234,7 +1230,6 @@ code.code {
}

td span.install-date {
/*max-width: 125px;*/
text-align: center;
text-transform: uppercase;
font-size: .75em;
Expand All @@ -1251,7 +1246,7 @@ td span.install-date {
bottom: -7px;
}

.install-date:before {
.install-date::before {
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='white' class='bi bi-calendar-check' viewBox='0 0 16 16'%3E%3Cpath d='M10.854 7.146a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 1 1 .708-.708L7.5 9.793l2.646-2.647a.5.5 0 0 1 .708 0z'/%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5zM1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4H1z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
margin-right: 5px;
Expand Down Expand Up @@ -1445,17 +1440,17 @@ input.plugin-file[type="file"]::file-selector-button {
}

input.plugin-file[type="file"]::-ms-browse:hover {
background-color: RGBA(213, 0, 0, .6);
background-color: rgba(213, 0, 0, .6);
border: 1px solid var(--pp-grey);
}

input.plugin-file[type="file"]::-webkit-file-upload-button:hover {
background-color: RGBA(213, 0, 0, .6);
background-color: rgba(213, 0, 0, .6);
border: 1px solid var(--pp-grey);
}

input.plugin-file[type="file"]::file-selector-button:hover {
background-color: RGBA(213, 0, 0, .6);
background-color: rgba(213, 0, 0, .6);
border: 1px solid var(--pp-grey);
}

Expand Down

0 comments on commit cff5ab0

Please sign in to comment.