Updated Branches: refs/heads/ui-restyle a78f5253a -> f302c8685
Add slider control Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/bffb10ab Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/bffb10ab Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/bffb10ab Branch: refs/heads/ui-restyle Commit: bffb10ab862901a9999ccb0deab63ad5fef62c9e Parents: a78f525 Author: Brian Federle <[email protected]> Authored: Wed Oct 9 13:59:40 2013 -0700 Committer: Brian Federle <[email protected]> Committed: Wed Oct 9 13:59:40 2013 -0700 ---------------------------------------------------------------------- ui/stylesheets/csui/_csui.scss | 3 ++- ui/stylesheets/csui/_slider.scss | 46 +++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/bffb10ab/ui/stylesheets/csui/_csui.scss ---------------------------------------------------------------------- diff --git a/ui/stylesheets/csui/_csui.scss b/ui/stylesheets/csui/_csui.scss index 9a067e9..63d22ea 100644 --- a/ui/stylesheets/csui/_csui.scss +++ b/ui/stylesheets/csui/_csui.scss @@ -74,4 +74,5 @@ html, body { @import "toolbar"; @import "breadcrumbs"; @import "action"; -@import "wizard"; \ No newline at end of file +@import "wizard"; +@import "slider"; http://git-wip-us.apache.org/repos/asf/cloudstack/blob/bffb10ab/ui/stylesheets/csui/_slider.scss ---------------------------------------------------------------------- diff --git a/ui/stylesheets/csui/_slider.scss b/ui/stylesheets/csui/_slider.scss new file mode 100644 index 0000000..c3d47a4 --- /dev/null +++ b/ui/stylesheets/csui/_slider.scss @@ -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; +}
