Merge pull request #4465 from MrPetovan/task/4463-frio-style-settings-addon

[frio] Style settings/addon
This commit is contained in:
Tobias Diekershoff 2018-02-18 17:12:15 +01:00 committed by GitHub
commit a62dd4debf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 60 additions and 1 deletions

View file

@ -2678,6 +2678,53 @@ ul li:hover .contact-wrapper .contact-action-link:hover {
margin-left: 20px; margin-left: 20px;
} }
/* Emulates Bootstrap display */
.settings-block {
margin: 0 -15px 5px;
color: #333;
background-color: rgba(255,255,255,0.95);
border-radius: 4px;
padding: 10px 15px;
box-shadow: 0 0 3px #dadada;
-webkit-box-shadow: 0 0 3px #dadada;
-moz-box-shadow: 0 0 3px #dadada;
}
.settings-block.fakelink, .settings-block > .fakelink {
padding: 10px 25px;
display: block;
}
.settings-block > .fakelink {
margin: -10px -15px 10px -15px;
border-radius: 4px 4px 0 0;
}
.settings-block.fakelink:hover, .settings-block > .fakelink:hover {
color: $link_hover_color;
}
.settings-block.fakelink > h3, .settings-block > .fakelink > h3 {
margin: 0;
padding: 0;
color: $link_color;
font-size: 18px;
}
.fakelink > h3:before {
padding-right: 10px;
}
.settings-block.fakelink > h3:before {
font-family: FontAwesome;
content: "\f0da"; /* Right Plain Pointer */
}
.settings-block > .fakelink > h3:before {
font-family: FontAwesome;
content: "\f0d7"; /* Bottom Plain Pointer */
}
h3.connector {
line-height: 40px;
}
/* Intro Notifications */ /* Intro Notifications */
ul.notif-network-list { ul.notif-network-list {
margin-left: -15px; margin-left: -15px;

View file

@ -0,0 +1,12 @@
<div class="generic-page-wrapper">
{{* include the title template for the settings title *}}
{{include file="section_title.tpl" title=$title}}
<form action="settings/addon" method="post" autocomplete="off">
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
{{$settings_addons}}
</form>
</div>