[Kimchi-devel] [PATCH 2/2] CSS: Change all CSS files indentation to 4 spaces

Aline Manera alinefm at linux.vnet.ibm.com
Sun Jan 26 00:20:21 UTC 2014


Reviewed-by: Aline Manera <alinefm at linux.vnet.ibm.com>

On 01/22/2014 11:28 AM, Crístian Viana wrote:
> In order to make the code more consistent, all CSS files should use the
> same indentation level.
>
> Use 4 spaces to indent the CSS properties.
>
> Signed-off-by: Crístian Viana <vianac at linux.vnet.ibm.com>
> ---
>   ui/css/theme-default/button.css       | 8 ++++----
>   ui/css/theme-default/line-chart.css   | 6 +++---
>   ui/css/theme-default/template_add.css | 6 +++---
>   3 files changed, 10 insertions(+), 10 deletions(-)
>
> diff --git a/ui/css/theme-default/button.css b/ui/css/theme-default/button.css
> index 641230f..0f41281 100644
> --- a/ui/css/theme-default/button.css
> +++ b/ui/css/theme-default/button.css
> @@ -89,8 +89,8 @@
>   }
>   
>   .btn.loading .icon {
> -       background: url(../images/theme-default/icon-load.png) center
> -                   center no-repeat;
> +    background: url(../images/theme-default/icon-load.png) center
> +                center no-repeat;
>   }
>   
>   .btn .text {
> @@ -423,8 +423,8 @@
>       line-height: 38px;
>       padding: 0 20px;
>       color: #EEE;
> -        border-radius: 8px;
> -        font-size: 13px;
> +    border-radius: 8px;
> +    font-size: 13px;
>   }
>   
>   .btn-normal:not([disabled]):hover {
> diff --git a/ui/css/theme-default/line-chart.css b/ui/css/theme-default/line-chart.css
> index 4fc0e2e..5bb61e2 100644
> --- a/ui/css/theme-default/line-chart.css
> +++ b/ui/css/theme-default/line-chart.css
> @@ -1,13 +1,13 @@
>   .chart-container {
> -  background: black;
> +    background: black;
>   }
>   
>   .line-chart {
> -  overflow: hidden;
> +    overflow: hidden;
>   }
>   
>   .line-chart .background {
> -  fill: black;
> +    fill: black;
>   }
>   
>   .line-chart text {
> diff --git a/ui/css/theme-default/template_add.css b/ui/css/theme-default/template_add.css
> index 7ab8a40..6a999f9 100644
> --- a/ui/css/theme-default/template_add.css
> +++ b/ui/css/theme-default/template_add.css
> @@ -289,7 +289,7 @@
>   }
>   
>   #iso-more-loading {
> -        background: #C0C0C0 url(../../images/theme-default/loading.gif) 7px
> -                    center no-repeat;
> -        padding: 0 20px 0 26px;
> +    background: #C0C0C0 url(../../images/theme-default/loading.gif) 7px
> +                center no-repeat;
> +    padding: 0 20px 0 26px;
>   }




More information about the Kimchi-devel mailing list