mirror of https://github.com/apache/cloudstack.git
Detail view: Add tabbed appearance
This commit is contained in:
parent
d35eb7e644
commit
9c4ef72803
|
|
@ -225,6 +225,24 @@ body {
|
|||
max-height: 85%;
|
||||
}
|
||||
|
||||
.detail-view {
|
||||
.ui-tabs-nav {
|
||||
@include csui-tabs;
|
||||
|
||||
li.ui-state-active {
|
||||
@include csui-tab-active;
|
||||
}
|
||||
}
|
||||
|
||||
.detail-group {
|
||||
@include csui-details;
|
||||
}
|
||||
|
||||
.ui-tabs-hide {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
// Panel toolbars
|
||||
.toolbar {
|
||||
@include csui-toolbar;
|
||||
|
|
|
|||
|
|
@ -56,5 +56,6 @@ html, body {
|
|||
@import "asset";
|
||||
@import "dialog";
|
||||
@import "list";
|
||||
@import "details";
|
||||
@import "toolbar";
|
||||
@import "breadcrumbs";
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
// 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.
|
||||
|
||||
@mixin csui-tab {
|
||||
float: left;
|
||||
list-style: none;
|
||||
padding: 15px 40px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
@mixin csui-tab-active {
|
||||
background: lighten(#ccc, 10%);
|
||||
border-radius: 8px 8px 0 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@mixin csui-tabs {
|
||||
@include row;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
|
||||
li {
|
||||
@include csui-tab;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin csui-details {
|
||||
background: lighten(#ccc, 10%);
|
||||
padding: 15px;
|
||||
}
|
||||
Loading…
Reference in New Issue