Fix indentation
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/6a45de82 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/6a45de82 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/6a45de82 Branch: refs/heads/ui-restyle Commit: 6a45de82db77b44d108c914d880431bc8cba1900 Parents: 2b1b16f Author: Brian Federle <[email protected]> Authored: Tue Sep 24 15:29:25 2013 -0700 Committer: Brian Federle <[email protected]> Committed: Tue Sep 24 15:29:25 2013 -0700 ---------------------------------------------------------------------- ui/stylesheets/cloudstack.scss | 18 +++--- ui/stylesheets/csui/_button.scss | 38 ++++++------ ui/stylesheets/csui/_csui.scss | 16 ++--- ui/stylesheets/csui/_dialog.scss | 40 ++++++------- ui/stylesheets/csui/_form.scss | 48 +++++++-------- ui/stylesheets/csui/_login.scss | 110 +++++++++++++++++----------------- 6 files changed, 135 insertions(+), 135 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6a45de82/ui/stylesheets/cloudstack.scss ---------------------------------------------------------------------- diff --git a/ui/stylesheets/cloudstack.scss b/ui/stylesheets/cloudstack.scss index 7ff031e..35814b4 100644 --- a/ui/stylesheets/cloudstack.scss +++ b/ui/stylesheets/cloudstack.scss @@ -63,7 +63,7 @@ body { .project-switcher { @include span-columns(3); @include row; - + padding: 5px; top: 10px; @@ -71,7 +71,7 @@ body { @include csui-label; @include span-columns(3); } - + select { @include csui-dropdown; @include span-columns(8); @@ -91,21 +91,21 @@ body { 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; -; + ; } } @@ -201,9 +201,9 @@ body { } .ui-dialog, .notification-box, #user-options { - @include dialog; + @include dialog; } #user-options { - display: none; + display: none; } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6a45de82/ui/stylesheets/csui/_button.scss ---------------------------------------------------------------------- diff --git a/ui/stylesheets/csui/_button.scss b/ui/stylesheets/csui/_button.scss index a857b09..9e1446b 100644 --- a/ui/stylesheets/csui/_button.scss +++ b/ui/stylesheets/csui/_button.scss @@ -1,27 +1,27 @@ @mixin csui-button { - @include linear-gradient(#fff, darken(#ccc, 30%)); + @include linear-gradient(#fff, darken(#ccc, 30%)); - display: block; - padding-top: 8px; - padding-bottom: 8px; - padding-left: 12px; - padding-right: 12px; - min-width: 92px; - font-size: 12px; - border-radius: 3px; - border: 1px solid black; + display: block; + padding-top: 8px; + padding-bottom: 8px; + padding-left: 12px; + padding-right: 12px; + min-width: 92px; + font-size: 12px; + border-radius: 3px; + border: 1px solid black; - &:hover { - box-shadow: inset 0 0 10px black; - } + &:hover { + box-shadow: inset 0 0 10px black; + } } @mixin csui-button-cta { - @include csui-button; - @include linear-gradient(darkgray, lighten(black, 15%)); + @include csui-button; + @include linear-gradient(darkgray, lighten(black, 15%)); - background-color: #2e2e2e; - color: white; - font-weight: bold; - text-shadow: 0px 1px 1px black; + background-color: #2e2e2e; + color: white; + font-weight: bold; + text-shadow: 0px 1px 1px black; } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6a45de82/ui/stylesheets/csui/_csui.scss ---------------------------------------------------------------------- diff --git a/ui/stylesheets/csui/_csui.scss b/ui/stylesheets/csui/_csui.scss index b013fe2..dbca678 100644 --- a/ui/stylesheets/csui/_csui.scss +++ b/ui/stylesheets/csui/_csui.scss @@ -6,20 +6,20 @@ // Custom main UI font @font-face { - font-family: 'Noto Sans'; - src: url('../fonts/Noto_Sans/NotoSans-Regular.ttf'); + font-family: 'Noto Sans'; + src: url('../fonts/Noto_Sans/NotoSans-Regular.ttf'); } @font-face { - font-family: 'Noto Sans'; - src: url('../fonts/Noto_Sans/NotoSans-Bold.ttf'); - font-weight: bold; + font-family: 'Noto Sans'; + src: url('../fonts/Noto_Sans/NotoSans-Bold.ttf'); + font-weight: bold; } // Core style html, body { - height: 100%; - font-family: 'Noto Sans', sans-serif; - font-size: 13px; + height: 100%; + font-family: 'Noto Sans', sans-serif; + font-size: 13px; } // Sub-components http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6a45de82/ui/stylesheets/csui/_dialog.scss ---------------------------------------------------------------------- diff --git a/ui/stylesheets/csui/_dialog.scss b/ui/stylesheets/csui/_dialog.scss index 48a99d6..a9e87e8 100644 --- a/ui/stylesheets/csui/_dialog.scss +++ b/ui/stylesheets/csui/_dialog.scss @@ -1,27 +1,27 @@ @mixin dialog { - background: white; - box-shadow: 0px 2px 10px black; - position: absolute; - padding: 20px; + background: white; + box-shadow: 0px 2px 10px black; + position: absolute; + padding: 20px; - .ui-dialog-titlebar { - @include row; + .ui-dialog-titlebar { + @include row; - width: 100%; - background-color: white; - padding: 10px; - } + width: 100%; + background-color: white; + padding: 10px; + } - .ui-dialog-content { - overflow: auto; - } + .ui-dialog-content { + overflow: auto; + } - .ui-dialog-title { - float: left; - font-weight: bold; - } + .ui-dialog-title { + float: left; + font-weight: bold; + } - .ui-dialog-titlebar-close { - float: right; - } + .ui-dialog-titlebar-close { + float: right; + } } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6a45de82/ui/stylesheets/csui/_form.scss ---------------------------------------------------------------------- diff --git a/ui/stylesheets/csui/_form.scss b/ui/stylesheets/csui/_form.scss index cc27a26..3aded31 100644 --- a/ui/stylesheets/csui/_form.scss +++ b/ui/stylesheets/csui/_form.scss @@ -1,36 +1,36 @@ @mixin csui-dropdown { - -webkit-appearance: none; - -moz-appearance: none; - text-indent: 0.01px; - text-overflow: ''; + -webkit-appearance: none; + -moz-appearance: none; + text-indent: 0.01px; + text-overflow: ''; - @include background( - url(csui/img/form/dropdown-arrow.png) no-repeat right 8px center, - linear-gradient(#fff, #b6b6b6) - ); + @include background( + url(csui/img/form/dropdown-arrow.png) no-repeat right 8px center, + linear-gradient(#fff, #b6b6b6) + ); - border-radius: 3px; - border: 1px solid black; - font-size: 14px; - height: 30px; - text-indent: 8px; - width: 105%; - overflow: hidden; + border-radius: 3px; + border: 1px solid black; + font-size: 14px; + height: 30px; + text-indent: 8px; + width: 105%; + overflow: hidden; } @mixin csui-dropdown-dark { - @include csui-dropdown; + @include csui-dropdown; - background-color: #333333; + background-color: #333333; - @include background( - url(csui/img/form/dropdown-arrow-white.png) no-repeat right 8px center, - linear-gradient(#4e4e4e, #242424) - ); + @include background( + url(csui/img/form/dropdown-arrow-white.png) no-repeat right 8px center, + linear-gradient(#4e4e4e, #242424) + ); - color: white; - font-weight: bold; - text-shadow: 0px 1px 1px black; + color: white; + font-weight: bold; + text-shadow: 0px 1px 1px black; } @mixin csui-label { http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6a45de82/ui/stylesheets/csui/_login.scss ---------------------------------------------------------------------- diff --git a/ui/stylesheets/csui/_login.scss b/ui/stylesheets/csui/_login.scss index 5a664c6..ba9a146 100644 --- a/ui/stylesheets/csui/_login.scss +++ b/ui/stylesheets/csui/_login.scss @@ -1,73 +1,73 @@ @mixin csui-login { - height: 100%; - min-height: 630px; + height: 100%; + min-height: 630px; - background-color: #385770; + background-color: #385770; - @include background( - url(csui/img/login/brand-logo.png), - url(csui/img/login/bottom-bar.png), - url(csui/img/overlay-pattern.png), - url(csui/img/login/gradient.png) - ); + @include background( + url(csui/img/login/brand-logo.png), + url(csui/img/login/bottom-bar.png), + url(csui/img/overlay-pattern.png), + url(csui/img/login/gradient.png) + ); - background-repeat: no-repeat, repeat-x, repeat, no-repeat; - background-size: 300px, auto, auto, cover; - background-position: center bottom 10px, bottom, center, center; + background-repeat: no-repeat, repeat-x, repeat, no-repeat; + background-size: 300px, auto, auto, cover; + background-position: center bottom 10px, bottom, center, center; - form { - @include row; + form { + @include row; - background-color: #000812; - background: rgba(#000812, 0.8); - padding-top: 60px; - padding-bottom: 60px; - position: relative; - top: 15%; + background-color: #000812; + background: rgba(#000812, 0.8); + padding-top: 60px; + padding-bottom: 60px; + position: relative; + top: 15%; - .logo { - @include shift(2); - @include span-columns(4); + .logo { + @include shift(2); + @include span-columns(4); - background: url(csui/img/login/logo.png) no-repeat top center; - float: left; - height: 300px; - } + background: url(csui/img/login/logo.png) no-repeat top center; + float: left; + height: 300px; + } - .fields { - @include span-columns(3); + .fields { + @include span-columns(3); - color: white; + color: white; - input[type=text], - input[type=password] { - font-size: 13px; - width: 100%; - padding: 10px; - margin-top: 10px; - margin-bottom: 10px; - border: 2px solid gray; + input[type=text], + input[type=password] { + font-size: 13px; + width: 100%; + padding: 10px; + margin-top: 10px; + margin-bottom: 10px; + border: 2px solid gray; - &:focus { - border: 2px solid #6aa6e9; - outline: none; - } - } + &:focus { + border: 2px solid #6aa6e9; + outline: none; + } + } - input[type=submit] { - @include csui-button-cta; - } + input[type=submit] { + @include csui-button-cta; + } - select { - @include csui-dropdown-dark; + select { + @include csui-dropdown-dark; - width: 100%; - margin-top: 50px; - } + width: 100%; + margin-top: 50px; + } - label { - font-size: 12px; - } + label { + font-size: 12px; + } + } } - } } \ No newline at end of file
