Skip to content
Snippets Groups Projects
Commit 0a10d2c8 authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Copy some of the enablebox styles to new css.

This makes the appearance at least acceptable.
parent b8785009
No related branches found
No related tags found
No related merge requests found
......@@ -6,13 +6,13 @@
{% include "@core/_frontpage_menu.twig" %}
<div style="margin-top: 1em;">
<code style="background: white; background: #f5f5f5; border: 1px dotted #bbb; padding: 1em; color: #555" >{{ directory }} ({{ version }})</code>
<code class="simplesaml_version">{{ directory }} ({{ version }})</code>
</div>
{% set icon_enabled = '<img src="/' ~ baseurlpath ~ 'resources/icons/silk/accept.png" alt="enabled" />' %}
{% set icon_disabled = '<img src="/' ~ baseurlpath ~ 'resources/icons/silk/delete.png" alt="disabled" />' %}
<div style="clear: both" class="enablebox mini">
<div class="enablebox mini">
<table>
<tr class="{%- if enablematrix.saml20idp %}enabled{% else %}disabled{% endif -%}">
<td>SAML 2.0 IdP</td>
......
......@@ -598,4 +598,36 @@ MEDIA QUERIES
}
}
/*************************************************
* Specifics for modules/core/frontpage*
************************************************/
code.simplesaml_version {
background: #f5f5f5;
border: 1px dotted #bbb;
padding: 1em;
color: #555;
}
.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: 0px;
}
.enablebox {
font-size: 85%;
}
.enablebox tr.enabled td {
background: #eee;
}
.enablebox tr.disabled td {
background: #ccc;
}
......@@ -261,28 +261,6 @@ div.caution {
th.rowtitle {
text-align: left;
}
.enablebox table {
border: 1px solid #eee;
margin-left: 1em;
}
.enablebox.mini table {
float: right;
}
.enablebox tr td {
padding: .5px 1em 1px .5em;
margin: 0px;
}
.enablebox {
font-size: 85%;
}
.enablebox tr.enabled td {
background: #eee;
}
.enablebox tr.disabled td {
background: #ccc;
}
.metadatabox {
overflow: scroll;
border: 1px solid #eee;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment