mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 09:05:55 +00:00
ENHANCEMENT Tidied up CSS and templates for CMSTopMenu template when using subsites
This commit is contained in:
parent
35078375f7
commit
10d1ac7c42
@ -1,38 +1,37 @@
|
||||
/**
|
||||
* Styling for the subsite actions section in the CMS
|
||||
*/
|
||||
#SubsiteActions{
|
||||
#SubsiteActions {
|
||||
position: absolute;
|
||||
padding : 0px;
|
||||
margin : 0px;
|
||||
right: 0px;
|
||||
top: 0px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 350px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#SubsiteActions fieldset {
|
||||
background-color : #a5aab0;
|
||||
padding : 3px;
|
||||
border-style : none;
|
||||
margin-top : 1px;
|
||||
background: 30%;
|
||||
}
|
||||
|
||||
#SubsiteActions fieldset span {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
#SubsiteActions fieldset #SubsitesSelect{
|
||||
font-size : 12px;
|
||||
width: 240px;
|
||||
}
|
||||
|
||||
#SubsiteActions {
|
||||
height : 51px;
|
||||
margin-right: 130px;
|
||||
height: 51px;
|
||||
border-bottom: 3px solid #d4d0c8;
|
||||
color: #FFF;
|
||||
color: #fff;
|
||||
}
|
||||
#SubsiteActions fieldset {
|
||||
padding: 3px;
|
||||
border-style: none;
|
||||
margin-top: 1px;
|
||||
background: none;
|
||||
}
|
||||
#SubsiteActions fieldset span {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
#SubsitesSelect,
|
||||
#SubsitesSelect option {
|
||||
font-size: 12px;
|
||||
}
|
||||
#SubsitesSelect {
|
||||
width: 200px;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
#top #MainMenu #Menu-help {
|
||||
margin-right: 260px;
|
||||
|
@ -1,3 +1,8 @@
|
||||
<div id="Logo" style="$LogoStyle">
|
||||
<% if ApplicationLogoText %>
|
||||
<a href="$ApplicationLink">$ApplicationLogoText</a><br />
|
||||
<% end_if %>
|
||||
</div>
|
||||
<ul id="MainMenu">
|
||||
<% control MainMenu %>
|
||||
<li class="$LinkingMode" id="Menu-$Code"><a href="$Link">$Title</a></li>
|
||||
@ -6,6 +11,5 @@
|
||||
<form id="SubsiteActions">
|
||||
<fieldset>
|
||||
$SubsiteList
|
||||
<span>$ApplicationLogoText</span>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
Loading…
x
Reference in New Issue
Block a user