silverstripe-betternavigator/css/betternavigator.css

204 lines
4.1 KiB
CSS
Raw Normal View History

2014-08-13 02:41:18 +02:00
.bn-icon-sprite, .bn-icon-close, .bn-icon-cog, .bn-icon-db, .bn-icon-devmode, .bn-icon-edit, .bn-icon-flush, .bn-icon-info, .bn-icon-tick, .bn-icon-tools, .bn-icon-user, .bn-icon-view {
2014-10-07 17:38:32 +02:00
background-image: url('../images/bn-icon-sff60849a67.png');
background-repeat: no-repeat;
2014-08-13 02:41:18 +02:00
}
.bn-icon-close {
2014-10-07 17:38:32 +02:00
background-position: 0 0;
height: 12px;
width: 12px;
2014-08-13 02:41:18 +02:00
}
.bn-icon-cog {
2014-10-07 17:38:32 +02:00
background-position: 0 -12px;
height: 17px;
width: 17px;
2014-08-13 02:41:18 +02:00
}
.bn-icon-db {
2014-10-07 17:38:32 +02:00
background-position: 0 -29px;
height: 16px;
width: 16px;
2014-08-13 02:41:18 +02:00
}
.bn-icon-devmode {
2014-10-07 17:38:32 +02:00
background-position: 0 -45px;
height: 16px;
width: 16px;
2014-08-13 02:41:18 +02:00
}
.bn-icon-edit {
2014-10-07 17:38:32 +02:00
background-position: 0 -61px;
height: 16px;
width: 16px;
2014-08-13 02:41:18 +02:00
}
.bn-icon-flush {
2014-10-07 17:38:32 +02:00
background-position: 0 -77px;
height: 16px;
width: 16px;
2014-08-13 02:41:18 +02:00
}
.bn-icon-info {
2014-10-07 17:38:32 +02:00
background-position: 0 -93px;
height: 16px;
width: 16px;
2014-08-13 02:41:18 +02:00
}
.bn-icon-tick {
2014-10-07 17:38:32 +02:00
background-position: 0 -109px;
height: 16px;
width: 16px;
2014-08-13 02:41:18 +02:00
}
.bn-icon-tools {
2014-10-07 17:38:32 +02:00
background-position: 0 -125px;
height: 16px;
width: 16px;
2014-08-13 02:41:18 +02:00
}
.bn-icon-user {
2014-10-07 17:38:32 +02:00
background-position: 0 -141px;
height: 16px;
width: 16px;
2014-08-13 02:41:18 +02:00
}
.bn-icon-view {
2014-10-07 17:38:32 +02:00
background-position: 0 -157px;
height: 16px;
width: 16px;
2014-08-13 02:41:18 +02:00
}
span[class^='bn-icon'], span[class*=' bn-icon'] {
2014-10-07 17:38:32 +02:00
display: inline-block;
2014-08-13 02:41:18 +02:00
}
#BetterNavigator {
2014-10-07 17:38:32 +02:00
position: fixed;
top: 0;
right: 0;
z-index: 99999;
max-height: 100%;
overflow: auto;
background: #cfd8de;
border: 1px solid #ecf0f2;
border-width: 0 0 1px 1px;
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
font-family: Helvetica, Arial, sans-serif;
font-size: 12px;
text-align: left;
2014-08-13 02:41:18 +02:00
}
#BetterNavigator.collapsed {
2014-10-26 02:35:37 +01:00
-moz-transform-origin: right top;
-ms-transform-origin: right top;
-webkit-transform-origin: right top;
transform-origin: right top;
-moz-transform: rotate(90deg) translate(100%, 0);
-ms-transform: rotate(90deg) translate(100%, 0);
-webkit-transform: rotate(90deg) translate(100%, 0);
transform: rotate(90deg) translate(100%, 0);
2014-10-07 17:38:32 +02:00
border-width: 0 1px 1px 0;
2014-08-13 02:41:18 +02:00
}
#BetterNavigator.collapsed #BetterNavigatorStatus .bn-icon-close {
2014-10-07 17:38:32 +02:00
display: none;
2014-08-13 02:41:18 +02:00
}
#BetterNavigator.collapsed #BetterNavigatorStatus .bn-icon-cog {
2014-10-07 17:38:32 +02:00
display: inline-block;
2014-08-13 02:41:18 +02:00
}
#BetterNavigator.collapsed #BetterNavigatorContent {
2014-10-07 17:38:32 +02:00
display: none;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorStatus {
2014-10-07 17:38:32 +02:00
color: #fff;
background: #6f6f6f;
text-transform: uppercase;
cursor: pointer;
padding: 10px 15px 8px;
font-weight: bold;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorStatus.Live {
2014-10-07 17:38:32 +02:00
background: #39b54a;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorStatus.Live:hover {
2014-10-07 17:38:32 +02:00
background: #36ab46;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorStatus.Stage {
2014-10-07 17:38:32 +02:00
background: #f26c4f;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorStatus.Stage:hover {
2014-10-07 17:38:32 +02:00
background: #e5664b;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorStatus .bn-icon-cog {
2014-10-07 17:38:32 +02:00
margin: -4px 8px -4px -4px;
display: none;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorStatus .bn-icon-close {
2014-10-07 17:38:32 +02:00
float: right;
margin: 1px 0 0 0;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorStatus .bn-icon-cog,
#BetterNavigatorStatus .bn-icon-close {
2014-10-07 17:38:32 +02:00
opacity: .7;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorStatus:hover {
2014-10-07 17:38:32 +02:00
background: dimgray;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorStatus:hover .bn-icon-cog,
#BetterNavigatorStatus:hover .bn-icon-close {
2014-10-07 17:38:32 +02:00
opacity: 1;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorContent {
2014-10-07 17:38:32 +02:00
padding: 6px;
color: #71767a;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorContent .bn-heading {
2014-10-07 17:38:32 +02:00
text-align: center;
text-transform: uppercase;
font-size: 11px;
margin: 8px 0 4px 0;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorContent span[class^='bn-icon'], #BetterNavigatorContent span[class*=' bn-icon'] {
2014-10-07 17:38:32 +02:00
margin: -2px 5px -3px -2px;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorContent a,
#BetterNavigatorContent span.bn-disabled {
2014-10-07 17:38:32 +02:00
display: block;
background: #eceff2;
color: #313639;
font-family: Helvetica, Arial, sans-serif;
font-size: 12px;
border-radius: 5px;
border-bottom: 1px solid #a3aaaf;
margin: 0 0 4px 0;
padding: 6px 10px 5px 10px;
line-height: 16px;
font-weight: bold;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorContent a .light,
#BetterNavigatorContent span.bn-disabled .light {
2014-10-07 17:38:32 +02:00
font-weight: normal;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorContent a:focus,
#BetterNavigatorContent a:hover,
#BetterNavigatorContent a:active {
2014-10-07 17:38:32 +02:00
background: #fff;
color: #000;
2014-08-13 02:41:18 +02:00
}
#BetterNavigatorContent span.bn-disabled {
2014-10-07 17:38:32 +02:00
background: #afbac0;
color: #51565a;
cursor: default;
2014-08-13 02:41:18 +02:00
}
body > p.message {
2014-10-07 17:38:32 +02:00
text-align: left;
background: #fff;
color: #222;
padding: 10px 20px;
margin: 0;
border-bottom: 1px solid #ccc;
border-left: 5px solid #1d8aff;
2014-08-13 02:41:18 +02:00
}