diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2017-09-20 14:20:06 +0200 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2017-09-20 14:20:06 +0200 |
commit | aea84322e97c05db23cd4004b2fc5759b3064493 (patch) | |
tree | 43ee89264cdb4bd6c3f279b831ac3014a652dd62 /phpBB/adm | |
parent | 38bf2e3771e5769fdc6cb1b3394f8897b5b4323a (diff) | |
download | forums-aea84322e97c05db23cd4004b2fc5759b3064493.tar forums-aea84322e97c05db23cd4004b2fc5759b3064493.tar.gz forums-aea84322e97c05db23cd4004b2fc5759b3064493.tar.bz2 forums-aea84322e97c05db23cd4004b2fc5759b3064493.tar.xz forums-aea84322e97c05db23cd4004b2fc5759b3064493.zip |
[ticket/14677] Use classes for colors in ext list
PHPBB3-14677
Diffstat (limited to 'phpBB/adm')
-rw-r--r-- | phpBB/adm/style/acp_ext_list.html | 8 | ||||
-rw-r--r-- | phpBB/adm/style/admin.css | 6 |
2 files changed, 9 insertions, 5 deletions
diff --git a/phpBB/adm/style/acp_ext_list.html b/phpBB/adm/style/acp_ext_list.html index a09eb97abc..7ab2608e13 100644 --- a/phpBB/adm/style/acp_ext_list.html +++ b/phpBB/adm/style/acp_ext_list.html @@ -51,8 +51,8 @@ <td><strong title="{enabled.NAME}">{enabled.META_DISPLAY_NAME}</strong><!-- EVENT acp_ext_list_enabled_name_after --></td> <td style="text-align: center;"> <!-- IF enabled.S_VERSIONCHECK --> - <strong <!-- IF enabled.S_UP_TO_DATE -->style="color: #228822;"<!-- ELSE -->style="color: #BC2A4D;"<!-- ENDIF -->>{enabled.META_VERSION}</strong> - <!-- IF not enabled.S_UP_TO_DATE --><i class="fa fa-exclamation-circle outdated-ext-icon" aria-hidden="true"></i><!-- ENDIF --> + <strong class="<!-- IF enabled.S_UP_TO_DATE -->current-ext<!-- ELSE -->outdated-ext<!-- ENDIF -->">{enabled.META_VERSION}</strong> + <!-- IF not enabled.S_UP_TO_DATE --><i class="fa fa-exclamation-circle outdated-ext" aria-hidden="true"></i><!-- ENDIF --> <!-- ELSE --> {enabled.META_VERSION} <!-- ENDIF --> @@ -77,8 +77,8 @@ <td><strong title="{disabled.NAME}">{disabled.META_DISPLAY_NAME}</strong><!-- EVENT acp_ext_list_disabled_name_after --></td> <td style="text-align: center;"> <!-- IF disabled.S_VERSIONCHECK --> - <strong <!-- IF disabled.S_UP_TO_DATE -->style="color: #228822;"<!-- ELSE -->style="color: #BC2A4D;"<!-- ENDIF -->>{disabled.META_VERSION}</strong> - <!-- IF not disabled.S_UP_TO_DATE --><i class="fa fa-exclamation-circle outdated-ext-icon" aria-hidden="true"></i><!-- ENDIF --> + <strong class="<!-- IF disabled.S_UP_TO_DATE -->current-ext<!-- ELSE -->outdated-ext<!-- ENDIF -->">{disabled.META_VERSION}</strong> + <!-- IF not disabled.S_UP_TO_DATE --><i class="fa fa-exclamation-circle outdated-ext" aria-hidden="true"></i><!-- ENDIF --> <!-- ELSE --> {disabled.META_VERSION} <!-- ENDIF --> diff --git a/phpBB/adm/style/admin.css b/phpBB/adm/style/admin.css index 905259faec..41d0ae8d42 100644 --- a/phpBB/adm/style/admin.css +++ b/phpBB/adm/style/admin.css @@ -2506,7 +2506,11 @@ fieldset.permissions .padding { /* Classes for additional tasks ---------------------------------------- */ -.outdated-ext-icon { +.current-ext { + color: #228822; +} + +.outdated-ext { color: #BC2A4D; } |