[Kimchi-devel] [PATCH] host.css: Change Indent to 4 Spaces

Aline Manera alinefm at linux.vnet.ibm.com
Fri Jan 17 11:43:58 UTC 2014


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

On 01/16/2014 12:28 AM, Hongliang Wang wrote:
> Apply
>    %s/^  /    /g
> in host.css.
>
> Signed-off-by: Hongliang Wang <hlwang at linux.vnet.ibm.com>
> ---
>   ui/css/theme-default/host.css | 146 +++++++++++++++++++++---------------------
>   1 file changed, 73 insertions(+), 73 deletions(-)
>
> diff --git a/ui/css/theme-default/host.css b/ui/css/theme-default/host.css
> index 5e96b37..b6e04b2 100644
> --- a/ui/css/theme-default/host.css
> +++ b/ui/css/theme-default/host.css
> @@ -1,207 +1,207 @@
>   .host-panel {
> -  font-size: 12px;
> -  margin-bottom: 100px;
> +    font-size: 12px;
> +    margin-bottom: 100px;
>   }
>
>   .host-panel .logo-container, .host-panel .info-container,
>   .host-panel .section-label, .host-panel .section-value {
> -  display: inline-block;
> -  vertical-align: top;
> +    display: inline-block;
> +    vertical-align: top;
>   }
>
>   .host-panel .section-label {
> -  display: inline-block;
> -  margin-right: 1em;
> -  vertical-align: top;
> +    display: inline-block;
> +    margin-right: 1em;
> +    vertical-align: top;
>   }
>
>   .host-panel .logo {
> -  background: url("../images/icon-vm.png") no-repeat left top;
> -  height: 128px;
> -  width: 128px;
> +    background: url("../images/icon-vm.png") no-repeat left top;
> +    height: 128px;
> +    width: 128px;
>   }
>
>   .host-panel .hostname {
> -  text-decoration: underline;
> +    text-decoration: underline;
>   }
>
>   .host-panel .action-panel {
> -  margin-top: 2em;
> -  padding-left: 10px;
> +    margin-top: 2em;
> +    padding-left: 10px;
>   }
>
>   .host-panel .button-icon {
> -  background: url("../images/theme-default/host-icon-sprite.png") no-repeat left top;
> -  display: inline-block;
> -  height: 12px;
> -  width: 12px;
> +    background: url("../images/theme-default/host-icon-sprite.png") no-repeat left top;
> +    display: inline-block;
> +    height: 12px;
> +    width: 12px;
>   }
>
>   .host-panel .action-icon-stop {
> -  background-position: -14px 0;
> +    background-position: -14px 0;
>   }
>
>   .host-panel .action-icon-restart {
> -  background-position: -28px 0;
> +    background-position: -28px 0;
>   }
>
>   .host-panel .action-icon-download {
> -  background-position: -42px 0;
> +    background-position: -42px 0;
>   }
>
>   .host-panel .action-icon-connect {
> -  background-position: -56px 0;
> +    background-position: -56px 0;
>   }
>
>   .host-panel .action-icon-add {
> -  background-position: -70px 0;
> +    background-position: -70px 0;
>   }
>
>   .host-panel .action-icon-edit {
> -  background-position: -84px 0;
> +    background-position: -84px 0;
>   }
>
>   .host-panel .action-icon-remove {
> -  background-position: -98px 0;
> +    background-position: -98px 0;
>   }
>
>   .host-panel button:disabled .action-icon-start {
> -  background-position: 0 -14px;
> +    background-position: 0 -14px;
>   }
>
>   .host-panel button:disabled .action-icon-stop {
> -  background-position: -14px -14px;
> +    background-position: -14px -14px;
>   }
>
>   .host-panel button:disabled .action-icon-restart {
> -  background-position: -28px -14px;
> +    background-position: -28px -14px;
>   }
>
>   .host-panel button:disabled .action-icon-download {
> -  background-position: -42px -14px;
> +    background-position: -42px -14px;
>   }
>
>   .host-panel button:disabled .action-icon-connect {
> -  background-position: -56px -14px;
> +    background-position: -56px -14px;
>   }
>
>   .host-panel button:disabled .action-icon-add {
> -  background-position: -70px -14px;
> +    background-position: -70px -14px;
>   }
>
>   .host-panel button:disabled .action-icon-edit {
> -  background-position: -84px -14px;
> +    background-position: -84px -14px;
>   }
>
>   .host-panel button:disabled .action-icon-remove {
> -  background-position: -98px -14px;
> +    background-position: -98px -14px;
>   }
>
>   .host-panel .info-container {
> -  padding-top: 16px;
> -  width: 892px;
> +    padding-top: 16px;
> +    width: 892px;
>   }
>
>   .host-panel .section-header {
> -  background: #EEE;
> -  border-radius: 5px;
> -  cursor: pointer;
> -  line-height: 2em;
> -  margin: 1em 0 1em;
> -  padding-left: 6px;
> +    background: #EEE;
> +    border-radius: 5px;
> +    cursor: pointer;
> +    line-height: 2em;
> +    margin: 1em 0 1em;
> +    padding-left: 6px;
>   }
>
>   .host-panel .section-header:hover {
> -  background: #06f;
> -  color: white;
> +    background: #06f;
> +    color: white;
>   }
>
>   .host-panel .section-content {
> -  padding-left: 1em;
> +    padding-left: 1em;
>   }
>
>   .host-panel .section-header .arrow {
> -  border-color: transparent;
> -  border-style: solid;
> -  display: inline-block;
> -  margin-right: 6px;
> -  width: 0;
> +    border-color: transparent;
> +    border-style: solid;
> +    display: inline-block;
> +    margin-right: 6px;
> +    width: 0;
>   }
>
>   .host-panel .section-header[aria-expanded="true"] .arrow {
> -  border-top-color: black;
> -  border-width: 8px 4px 0;
> -  border-bottom: none;
> +    border-top-color: black;
> +    border-width: 8px 4px 0;
> +    border-bottom: none;
>   }
>
>   .host-panel .section-header[aria-expanded="true"]:hover .arrow {
> -  border-top-color: white;
> +    border-top-color: white;
>   }
>
>   .host-panel .section-header[aria-expanded="false"] .arrow {
> -  border-left-color: black;
> -  border-right: none;
> -  border-width: 4px 0 4px 8px;
> +    border-left-color: black;
> +    border-right: none;
> +    border-width: 4px 0 4px 8px;
>   }
>
>   .host-panel .section-header[aria-expanded="false"]:hover .arrow {
> -  border-left-color: white;
> +    border-left-color: white;
>   }
>
>   .host-panel .section-row {
> -  line-height: 1.6em;
> -  margin-bottom: 1em;
> +    line-height: 1.6em;
> +    margin-bottom: 1em;
>   }
>
>   .host-panel .section-label {
> -  width: 100px;
> +    width: 100px;
>   }
>
>   #frequency-textbox {
> -  width: 20px;
> +    width: 20px;
>   }
>
>   #container-chart-cpu,
>   #container-chart-memory,
>   #container-chart-disk-io,
>   #container-chart-network-io {
> -  border: 1px solid white;
> -  box-shadow: 2px 2px 2px gray, 2px -2px 2px gray, -2px -2px 2px gray, -2px 2px 2px gray;
> -  height: 100px;
> -  width: 500px;
> +    border: 1px solid white;
> +    box-shadow: 2px 2px 2px gray, 2px -2px 2px gray, -2px -2px 2px gray, -2px 2px 2px gray;
> +    height: 100px;
> +    width: 500px;
>   }
>
>   #container-chart-disk-io .disk-write,
>   #container-chart-network-io .network-sent {
> -  stroke: #f80;
> +    stroke: #f80;
>   }
>
>   /* Debug Report */
>   .host-panel #available-reports-grid {
> -  border-color: #ddd;
> -  height: 400px;
> -  width: 750px;
> +    border-color: #ddd;
> +    height: 400px;
> +    width: 750px;
>   }
>
>   .host-panel select#available-reports-list {
> -  width: 300px;
> +    width: 300px;
>   }
>
>   .host-panel select#available-reports-list option {
> -  margin: .2em 1em;
> +    margin: .2em 1em;
>   }
>
>   .debug-report-id {
> -  width: 30px;
> +    width: 30px;
>   }
>
>   .debug-report-name,
>   .debug-report-file,
>   .debug-report-time {
> -  width: 200px;
> +    width: 200px;
>   }
>
>   .debug-report-file {
> -  width: 300px;
> +    width: 300px;
>   }
>   /* End of Debug Report */




More information about the Kimchi-devel mailing list