mirror of https://github.com/apache/cloudstack.git
Add slider control
This commit is contained in:
parent
a78f5253a7
commit
bffb10ab86
|
|
@ -74,4 +74,5 @@ html, body {
|
|||
@import "toolbar";
|
||||
@import "breadcrumbs";
|
||||
@import "action";
|
||||
@import "wizard";
|
||||
@import "wizard";
|
||||
@import "slider";
|
||||
|
|
|
|||
|
|
@ -0,0 +1,46 @@
|
|||
// 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-slider-area {
|
||||
@include linear-gradient(#656565, #aeaeae);
|
||||
|
||||
box-shadow: inset 0px 0px 4px black;
|
||||
width: 100%;
|
||||
height: 25px;
|
||||
margin: 20px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
@mixin csui-slider-handle {
|
||||
@include linear-gradient(#ffffff, #c4c4c4);
|
||||
|
||||
border: 1px solid #2f2f2f;
|
||||
display: block;
|
||||
width: 30px;
|
||||
height: 25px;
|
||||
position: relative;
|
||||
border-radius: 3px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
// jQuery UI defaults
|
||||
.ui-slider {
|
||||
@include csui-slider-area;
|
||||
}
|
||||
|
||||
.ui-slider-handle {
|
||||
@include csui-slider-handle;
|
||||
}
|
||||
Loading…
Reference in New Issue