Skip to content

Commit

Permalink
FIX: Major CSS Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed Apr 16, 2023
1 parent f6df5c0 commit 5794e48
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 24 deletions.
51 changes: 29 additions & 22 deletions Assets/css/plugin-manager.css
Original file line number Diff line number Diff line change
Expand Up @@ -290,16 +290,15 @@
}

.plugin-name {
font-weight: bold;
font-size: 1em;
font-weight: 600;
font-size: .9em;
vertical-align: middle;
/*display: flex;*/
}

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

Expand Down Expand Up @@ -350,10 +349,10 @@
padding-right: 5px;
}

.plugin-schema .tooltip {
.plugin-action .plugin-schema .tooltip {
border: 1px solid var(--pp-grey);
padding-top: 5px;
padding-bottom: 6px;
padding-top: 7px;
padding-bottom: 7px;
padding-left: 3px;
border-radius: var(--border-radius-pm);
}
Expand Down Expand Up @@ -385,6 +384,7 @@
display: inline-flex;
border-radius: var(--border-radius-pm);
text-decoration: none !important;
transition: var(--transition-pm);
}

.btn-action {
Expand Down Expand Up @@ -430,14 +430,10 @@ td .btn-uninstall:hover a {
color: var(--pp-red-alt-2) !important;
}

.plugin-description td {
tr.plugin-description td {
padding-top: 10px !important;
padding-bottom: 15px !important;
}

.plugin-description td {
padding-top: 1em;
padding-bottom: .5em;
font-size: .95em;
}

.plugin-dir-last-updated {
Expand All @@ -448,6 +444,7 @@ td .btn-uninstall:hover a {
font-weight: 400;
color: var(--pp-grey);
font-style: italic;
font-size: .9em;
}

#PluginTop {
Expand All @@ -457,6 +454,7 @@ td .btn-uninstall:hover a {
float: right;
margin-top: 3px;
color: var(--pp-grey);
font-size: .9em;
}

#PluginBottom {
Expand All @@ -468,6 +466,7 @@ td .btn-uninstall:hover a {
color: var(--pp-grey);
margin-top: 3px;
margin-left: 5px;
font-size: .9em;
}

.tooltip-section {
Expand Down Expand Up @@ -592,8 +591,8 @@ th.available-plugins-author {
pointer-events: none;
}

.available-plugins-title{
font-weight: bold;
.available-plugins-title {
font-weight: 600;
}

.available-plugin-last-updated {
Expand All @@ -603,7 +602,7 @@ th.available-plugins-author {
}

table.available-plugins-table > thead > tr > th, table.available-plugins-table > tbody > tr > td, table.available-plugins-table > tbody > tr > th {
padding: 4px 5px;
padding: 3px 3px;
vertical-align: middle;
position: relative;
}
Expand Down Expand Up @@ -713,7 +712,7 @@ a.update-plugin, a.update-plugin:link, a.update-plugin:visited {
.install-plugin, .install-plugin:link, .install-plugin:visited {
color: var(--link-color-pm);
font-weight: 600;
padding: 3px 5px;
padding: 6px 5px;
border: 2px solid var(--pp-light-grey);
border-radius: var(--border-radius-pm);
transition: var(--transition-pm);
Expand Down Expand Up @@ -756,7 +755,7 @@ button.install-plugin-btn {
a.download-archive, a.download-archive:link, a.download-archive:visited {
color: var(--link-color-pm);
font-weight: 600;
padding: 5px 5px 3px 5px;
padding: 8px 5px 3px 5px;
border: 2px solid var(--pp-light-grey);
border-radius: var(--border-radius-pm);
transition: var(--transition-pm);
Expand Down Expand Up @@ -950,7 +949,8 @@ figure.notice {

figure.notice a, figure.notice a:visited {
color: var(--blue-icon-dark);
font-weight: bold;
font-weight: 600;
text-decoration: none;
}

.v-sub {
Expand Down Expand Up @@ -1138,7 +1138,9 @@ code.code {
}

.plugin-problems-section .panel a, .plugin-problems-section p a {
font-weight: bold;
font-weight: 600;
text-decoration: none;
transition: var(--transition-pm);
}

.plugin-problems-section .panel a svg.bi-journal-code, .plugin-problems-section p a svg.bi-journal-code {
Expand Down Expand Up @@ -1176,6 +1178,11 @@ code.code {
text-align: center;
}

.further-reading li a {
text-decoration: none;
transition: var(--transition-pm);
}

.plugin-problems-section .further-reading li {
list-style-type: none;
display: inline-block;
Expand Down Expand Up @@ -1257,7 +1264,7 @@ td span.install-date {
vertical-align: super;
font-size: .6em;
margin-left: 3px;
padding: 0px 4px;
padding: 0 2px 0 0;
border: 1px solid #D50000;
border-radius: var(--border-radius-pm);
background-color: #D50000;
Expand Down
2 changes: 1 addition & 1 deletion Template/plugin/directory.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
<th class="available-plugins-author" colspan="2">
<?php if (isset($plugin['is_type'])): ?>
<?php if ($plugin['is_type'] == 'plugin'): ?>
<span class="plugin-type v-top">
<span class="plugin-type v-sub">
<!-- GENERAL PLUGIN -->
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-plugin" viewBox="0 0 16 16">
<title><?= t('General Plugin') ?></title>
Expand Down
2 changes: 1 addition & 1 deletion Template/plugin/manual-plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<th class="available-plugins-author" colspan="2">
<?php if (isset($plugin['is_type'])): ?>
<?php if ($plugin['is_type'] == 'plugin'): ?>
<span class="plugin-type v-top">
<span class="plugin-type v-sub">
<!-- GENERAL PLUGIN -->
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-plugin" viewBox="0 0 16 16">
<title><?= t('General Plugin') ?></title>
Expand Down

0 comments on commit 5794e48

Please sign in to comment.