diff --git a/modules/admin/templates/config.twig b/modules/admin/templates/config.twig index 4b5c687e2003116d3bcd99952f60caba2fd945b7..eb21f7d1dd5601d154f977dbcb09a3e6038fc156 100644 --- a/modules/admin/templates/config.twig +++ b/modules/admin/templates/config.twig @@ -2,6 +2,10 @@ {% set frontpage_section = 'main' %} {% extends "base.twig" %} +{% block preload %} +<link rel="stylesheet" href="{{ asset('css/admin.css', 'admin') }}"> +{% endblock %} + {% block content %} {%- include "@admin/includes/menu.twig" %} diff --git a/modules/admin/templates/federation.twig b/modules/admin/templates/federation.twig index ccc3c752f6af9014b1a66ebbf3c1f588a81f7db2..367acbe687aafa8433ac1b35855945af6480c408 100644 --- a/modules/admin/templates/federation.twig +++ b/modules/admin/templates/federation.twig @@ -2,6 +2,10 @@ {% set frontpage_section = 'federation' %} {% extends "base.twig" %} +{% block preload %} +<link rel="stylesheet" href="{{ asset('css/admin.css', 'admin') }}"> +{% endblock %} + {% block content %} {%- include "@admin/includes/menu.twig" %} {%- if entries.hosted is iterable %} diff --git a/modules/admin/www/assets/css/admin.css b/modules/admin/www/assets/css/admin.css new file mode 100644 index 0000000000000000000000000000000000000000..ff8a6e5e0df953263ccf6707719bd48183be39a1 --- /dev/null +++ b/modules/admin/www/assets/css/admin.css @@ -0,0 +1,48 @@ +.enablebox table { + border: 1px solid #eee; + + margin-left: 1em; +} + +.enablebox.mini table { + float: right; +} + +.enablebox tr td { + padding: .5px 1em 1px .5em; + margin: 0; +} + +.enablebox { + font-size: 85%; +} + +.enablebox tr.enabled td { + background: #eee; +} + +.enablebox tr.disabled td { + background: #ccc; +} + +fieldset.fancyfieldset { + padding-left: 1.5em; +} + +fieldset.fancyfieldset legend { + padding: 3px 2em 3px 0; + width: 100%; +} + +dt { + font-weight: bold; +} + +.entity-name, .entity-deprecated, .entity-expired { + font-weight: bold; +} + +.entity-expired { + color: #500; +} + diff --git a/src/css/default.scss b/src/css/default.scss index da1f12f01fbb2371282e69c61725528f1b33b5a4..4fec2f53062c0a1b48409019eb882c6eac926d5d 100644 --- a/src/css/default.scss +++ b/src/css/default.scss @@ -315,15 +315,6 @@ This styles the menu heading. text-transform: none; } -.frontpage-menu .pure-menu-item { - border-bottom: 1px solid lightgrey; -} - -.frontpage-menu .pure-menu-selected { - border-bottom: 1px solid black; - font-weight: bold; -} - /* -- Dynamic Button For Responsive Menu -------------------------------------*/ /* @@ -715,69 +706,9 @@ MEDIA QUERIES } } -/************************************************* - * Specifics for modules/core/frontpage* - ************************************************/ - -.float-r { - float: right; -} - -.enablebox table { - border: 1px solid #eee; - - margin-left: 1em; -} - -.enablebox.mini table { - float: right; -} - -.enablebox tr td { - padding: .5px 1em 1px .5em; - margin: 0; -} - -.enablebox { - font-size: 85%; -} - -.enablebox tr.enabled td { - background: #eee; -} - -.enablebox tr.disabled td { - background: #ccc; -} - -fieldset.fancyfieldset { - padding-left: 1.5em; - //margin: 2em 1em 1em 0; - //border: 1px solid #bbb; -} - -fieldset.fancyfieldset legend { - //margin-left: 2em; - padding: 3px 2em 3px 0; - //border: 1px solid #bbb; - width: 100%; -} - -dt { - font-weight: bold; -} - -.frontpage-menu { - margin-bottom: 1em; -} - -.entity-name, .entity-deprecated, .entity-expired { - font-weight: bold; -} - -.entity-expired { - color: #500; -} +/********* + * Utils * + *********/ div.preferredidp { border: 1px dashed #ccc; @@ -785,11 +716,6 @@ div.preferredidp { padding: 2px 2em 2px 2em; } - -/********* - * Utils * - *********/ - .clear { clear: both; }