refactor: move logo styling to includes/
This commit is contained in:
parent
6d8232b69d
commit
aa9a86e193
3 changed files with 33 additions and 33 deletions
|
@ -39,7 +39,7 @@ if [[ $1 == "-c" ]]; then
|
|||
cat ./src/public/css/dev-{common,tooltips,amp-tooltips,layout-entry-content}.css > ./dist/public/css/footnotes-amptbrpl2.css
|
||||
cat ./src/public/css/dev-{common,tooltips,amp-tooltips,layout-main-content}.css > ./dist/public/css/footnotes-amptbrpl3.css
|
||||
|
||||
cat ./src/admin/css/settings.css > ./dist/admin/css/settings.css
|
||||
cat ./src/{admin/css/settings,includes/css/logo}.css > ./dist/admin/css/settings.css
|
||||
|
||||
echo "Stylesheet concatenation complete."
|
||||
exit 0
|
||||
|
|
32
src/includes/css/logo.css
Normal file
32
src/includes/css/logo.css
Normal file
|
@ -0,0 +1,32 @@
|
|||
/*<?php for docblocks
|
||||
/**
|
||||
* MCI Footnotes logo
|
||||
*
|
||||
* The classes with 'heading' fixing display in dashboard
|
||||
* have all their rules moved to settings.css so as to alleviate
|
||||
* the common stylesheet. Still these rules are only used if the
|
||||
* Footnotes ad link logo is present in the page footer per user
|
||||
* dashboard setting. Making these rules conditional like those
|
||||
* pertaining to tooltips, either jQuery or alternative, would
|
||||
* double the number of united minified stylesheets shipped with
|
||||
* the plugin. Hence these are present by default at the bottom.
|
||||
*
|
||||
* @see class/config.php
|
||||
* @see css/settings.css
|
||||
*/
|
||||
|
||||
.footnotes_logo,
|
||||
.footnotes_logo:hover,
|
||||
.footnotes_logo,
|
||||
.footnotes_logo:focus {
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.footnotes_logo_part1 {
|
||||
color: #2bb975;
|
||||
}
|
||||
|
||||
.footnotes_logo_part2 {
|
||||
color: #545f5a;
|
||||
}
|
|
@ -575,35 +575,3 @@ Link color set to inherit, so referrers/numbers are not grayed out.
|
|||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* MCI Footnotes logo
|
||||
*
|
||||
* The classes with 'heading' fixing display in dashboard
|
||||
* have all their rules moved to settings.css so as to alleviate
|
||||
* the common stylesheet. Still these rules are only used if the
|
||||
* Footnotes ad link logo is present in the page footer per user
|
||||
* dashboard setting. Making these rules conditional like those
|
||||
* pertaining to tooltips, either jQuery or alternative, would
|
||||
* double the number of united minified stylesheets shipped with
|
||||
* the plugin. Hence these are present by default at the bottom.
|
||||
*
|
||||
* @see class/config.php
|
||||
* @see css/settings.css
|
||||
*/
|
||||
|
||||
.footnotes_logo,
|
||||
.footnotes_logo:hover,
|
||||
.footnotes_logo,
|
||||
.footnotes_logo:focus {
|
||||
font-weight: normal;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.footnotes_logo_part1 {
|
||||
color: #2bb975;
|
||||
}
|
||||
|
||||
.footnotes_logo_part2 {
|
||||
color: #545f5a;
|
||||
}
|
||||
|
|
Reference in a new issue