Skip to content
Snippets Groups Projects
Commit 0fa184d4 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Cleanup css & move some specifics to admin-module

parent 4d2c586b
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
{% set frontpage_section = 'main' %} {% set frontpage_section = 'main' %}
{% extends "base.twig" %} {% extends "base.twig" %}
{% block preload %}
<link rel="stylesheet" href="{{ asset('css/admin.css', 'admin') }}">
{% endblock %}
{% block content %} {% block content %}
{%- include "@admin/includes/menu.twig" %} {%- include "@admin/includes/menu.twig" %}
......
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
{% set frontpage_section = 'federation' %} {% set frontpage_section = 'federation' %}
{% extends "base.twig" %} {% extends "base.twig" %}
{% block preload %}
<link rel="stylesheet" href="{{ asset('css/admin.css', 'admin') }}">
{% endblock %}
{% block content %} {% block content %}
{%- include "@admin/includes/menu.twig" %} {%- include "@admin/includes/menu.twig" %}
{%- if entries.hosted is iterable %} {%- if entries.hosted is iterable %}
......
.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;
}
...@@ -315,15 +315,6 @@ This styles the menu heading. ...@@ -315,15 +315,6 @@ This styles the menu heading.
text-transform: none; 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 -------------------------------------*/ /* -- Dynamic Button For Responsive Menu -------------------------------------*/
/* /*
...@@ -715,69 +706,9 @@ MEDIA QUERIES ...@@ -715,69 +706,9 @@ MEDIA QUERIES
} }
} }
/************************************************* /*********
* Specifics for modules/core/frontpage* * Utils *
************************************************/ *********/
.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;
}
div.preferredidp { div.preferredidp {
border: 1px dashed #ccc; border: 1px dashed #ccc;
...@@ -785,11 +716,6 @@ div.preferredidp { ...@@ -785,11 +716,6 @@ div.preferredidp {
padding: 2px 2em 2px 2em; padding: 2px 2em 2px 2em;
} }
/*********
* Utils *
*********/
.clear { .clear {
clear: both; clear: both;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment