mirror of https://github.com/apache/cloudstack.git
260 lines
5.3 KiB
SCSS
260 lines
5.3 KiB
SCSS
// Licensed to the Apache Software Foundation (ASF) under one
|
|
// or more contributor license agreements. See the NOTICE file
|
|
// distributed with this work for additional information
|
|
// regarding copyright ownership. The ASF licenses this file
|
|
// to you under the Apache License, Version 2.0 (the
|
|
// "License"); you may not use this file except in compliance
|
|
// with the License. You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing,
|
|
// software distributed under the License is distributed on an
|
|
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
// KIND, either express or implied. See the License for the
|
|
// specific language governing permissions and limitations
|
|
// under the License.
|
|
@import "csui/csui";
|
|
@import "browser";
|
|
@import "dashboard";
|
|
@import "infrastructure";
|
|
@import "icons";
|
|
@import "instance-wizard";
|
|
@import "list-view";
|
|
@import "detail-view";
|
|
@import "multi-edit";
|
|
|
|
html body > .login {
|
|
@include csui-login;
|
|
}
|
|
|
|
body {
|
|
background: #dbdbdb;
|
|
}
|
|
|
|
#container {
|
|
@include animation-duration(500ms);
|
|
}
|
|
|
|
#template {
|
|
display: none !important;
|
|
}
|
|
|
|
#header {
|
|
@include csui-header;
|
|
|
|
position: relative;
|
|
z-index: 2;
|
|
|
|
.controls {
|
|
position: relative;
|
|
|
|
> * {
|
|
float: left;
|
|
}
|
|
|
|
text-shadow: 0px 1px 1px black;
|
|
}
|
|
|
|
#user, .notifications {
|
|
position: relative;
|
|
float: right;
|
|
margin-right: 20px;
|
|
padding-right: 20px;
|
|
top: -65px;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
> span, .name {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
|
|
.notifications {
|
|
.total {
|
|
padding: 5px 10px;
|
|
@include linear-gradient(#a4a4a4, lighten(#272727, 15%));
|
|
border-radius: 1px;
|
|
margin-top: -5px;
|
|
margin-right: 20px;
|
|
float: left;
|
|
border-radius: 8px;
|
|
text-shadow: 0px 2px 2px black;
|
|
}
|
|
}
|
|
|
|
.view-switcher {
|
|
display: none !important;
|
|
}
|
|
|
|
.project-switcher {
|
|
@include span-columns(3);
|
|
@include row;
|
|
|
|
label {
|
|
@include csui-label;
|
|
@include span-columns(3);
|
|
|
|
margin-top: 20px;
|
|
}
|
|
|
|
select {
|
|
@include csui-dropdown;
|
|
@include span-columns(8);
|
|
}
|
|
}
|
|
|
|
.region-switcher {
|
|
@include span-columns(2);
|
|
@include row;
|
|
|
|
height: 100%;
|
|
cursor: pointer;
|
|
padding: 5px;
|
|
margin-top: 10px;
|
|
|
|
&:hover {
|
|
.title {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.icon {
|
|
@include span-columns(3 of 16);
|
|
@include csui-sprite(142, 390);
|
|
|
|
height: 30px;
|
|
}
|
|
|
|
.title {
|
|
@include span-columns(11 of 16);
|
|
@include shift(1);
|
|
@include csui-label;
|
|
|
|
text-align: left;
|
|
margin-top: 6px;
|
|
}
|
|
}
|
|
|
|
#user {
|
|
background: url(csui/img/form/dropdown-arrow-white.png) no-repeat right;
|
|
}
|
|
}
|
|
|
|
#main-area {
|
|
width: 1280px;
|
|
height: 728px;
|
|
margin: 0px auto;
|
|
background: white;
|
|
box-shadow: 0px -15px 20px gray;
|
|
overflow: hidden;
|
|
border: 1px solid #c0c0c0;
|
|
}
|
|
|
|
#navigation {
|
|
@include linear-gradient(white, #dbdbdb 7%);
|
|
|
|
width: 20%;
|
|
height: 100%;
|
|
float: left;
|
|
overflow: auto;
|
|
|
|
ul {
|
|
margin: 50px 0 0 0;
|
|
padding: 0;
|
|
|
|
li {
|
|
font-size: 12px;
|
|
list-style: none;
|
|
text-indent: 10px;
|
|
font-weight: bold;
|
|
color: lighten(black, 20%);
|
|
cursor: pointer;
|
|
text-shadow: 0px 1px 1px darken(white, 10%);
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
|
|
span {
|
|
display: block;
|
|
border-bottom: 1px solid #a7a7a7;
|
|
padding-top: 10px;
|
|
padding-bottom: 10px;
|
|
box-shadow: 0px 1px 0px white;
|
|
}
|
|
|
|
span.icon {
|
|
display: none;
|
|
}
|
|
|
|
&:hover, &.active {
|
|
background: #3f3f3f;
|
|
color: white;
|
|
text-shadow: 0px 1px 1px black;
|
|
box-shadow: inset 0px 0px 10px black;
|
|
position: relative;
|
|
z-index: 3;
|
|
top: -1px;
|
|
padding-top: 1px;
|
|
|
|
span {
|
|
border-bottom: none;
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.notification-box, #user-options, .region-selector {
|
|
@include csui-dialog;
|
|
|
|
display: none;
|
|
}
|
|
|
|
// Corner user drop-down
|
|
#user-options {
|
|
a {
|
|
@include csui-hyperlink;
|
|
@include row;
|
|
|
|
&.logout {
|
|
font-weight: bold;
|
|
margin-top: 25px;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Panel toolbars
|
|
.toolbar {
|
|
@include csui-toolbar;
|
|
|
|
.panel-controls {
|
|
display: none;
|
|
}
|
|
|
|
.button.refresh {
|
|
@include csui-button-refresh;
|
|
|
|
float: right;
|
|
}
|
|
}
|
|
|
|
// Action buttons
|
|
.action {
|
|
@include csui-action-button;
|
|
|
|
.icon {
|
|
background-image: url(../images/sprites.png);
|
|
}
|
|
}
|
|
|
|
// Wizards
|
|
.multi-wizard {
|
|
@include csui-wizard;
|
|
}
|
|
|
|
// List view widget
|
|
|
|
|