WIP: Multi-wizard styling

This commit is contained in:
Brian Federle 2013-10-08 12:42:28 -07:00
parent 0a942ef4df
commit 940d0a417e
4 changed files with 101 additions and 1 deletions

View File

@ -0,0 +1,18 @@
// 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.
.multi-wizard.instance-wizard {
}

View File

@ -18,6 +18,7 @@
@import "browser";
@import "dashboard";
@import "icons";
@import "instance-wizard";
html body > .login {
@include csui-login;
@ -376,4 +377,9 @@ body {
.icon {
background-image: url(../images/sprites.png);
}
}
// Wizards
.multi-wizard {
@include csui-wizard;
}

View File

@ -68,4 +68,5 @@ html, body {
@import "details";
@import "toolbar";
@import "breadcrumbs";
@import "action";
@import "action";
@import "wizard";

View File

@ -0,0 +1,75 @@
// 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-wizard {
@include row;
form, .progress {
height: 90%;
}
.progress {
@include span-columns(3);
border: 1px solid #ccc;
border-radius: 6px;
box-shadow: inset 0px 0px 20px #ccc;
ul {
padding: 5px 0 0 20px;
li {
list-style: none;
margin-top: 10px;
&.active {
font-weight: bold;
}
.number {
font-size: 18px;
margin-right: 10px;
color: lighten(black, 25%);
}
}
}
}
form {
@include csui-form;
@include span-columns(8);
}
.buttons {
@include span-columns(12);
@include row;
margin-top: 15px;
.button {
@include csui-button;
float: left;
margin-right: 10px;
&.next {
@include csui-button-cta;
float: right;
margin-right: 0px;
}
}
}
}