[Kimchi-devel] [PATCH] UI: Customize jQuery UI Tabs Widget

Aline Manera alinefm at linux.vnet.ibm.com
Mon Jan 19 15:11:49 UTC 2015


The license header is missing in the new files.

On 19/01/2015 06:54, huoyuxin at linux.vnet.ibm.com wrote:
> From: Yu Xin Huo <huoyuxin at linux.vnet.ibm.com>
>
> Signed-off-by: Yu Xin Huo <huoyuxin at linux.vnet.ibm.com>
> ---
>   ui/css/theme-default/tabs.css  |   28 ++++++++++++++++++++++++++++
>   ui/css/theme-default/theme.css |   32 ++++++++++++++++++++++++++++++++
>   2 files changed, 60 insertions(+), 0 deletions(-)
>   create mode 100644 ui/css/theme-default/tabs.css
>   create mode 100644 ui/css/theme-default/theme.css
>
> diff --git a/ui/css/theme-default/tabs.css b/ui/css/theme-default/tabs.css
> new file mode 100644
> index 0000000..7d7dd6c
> --- /dev/null
> +++ b/ui/css/theme-default/tabs.css
> @@ -0,0 +1,28 @@
> +.ui-tabs {
> +    border: 0 none !important;
> +    padding: 0;
> +    position: relative;
> +}
> +
> +.ui-tabs .ui-tabs-nav {
> +    background: none;
> +    border-color: #ededed;
> +    border-width: 0 0 2px;
> +}
> +
> +.ui-tabs .ui-tabs-nav li {
> +    background: none;
> +    border-width: 0;
> +    padding: 0 0px 1px;
> +}
> +
> +.ui-tabs .ui-tabs-nav li.ui-tabs-active {
> +    border-bottom: 2px solid #008abf;
> +    margin-bottom: -2px;
> +    font-weight: bold;
> +}
> +
> +.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
> +    line-height: 1;
> +    padding: 10px 20px 5px;
> +}
> diff --git a/ui/css/theme-default/theme.css b/ui/css/theme-default/theme.css
> new file mode 100644
> index 0000000..48df973
> --- /dev/null
> +++ b/ui/css/theme-default/theme.css
> @@ -0,0 +1,32 @@
> +/*
> + * Customize jQuery UI default theme
> + */
> +
> +.ui-widget {
> +    font-family: 'Helvetica Neue', Helvetica, Arial;
> +}
> +
> +.ui-widget input,
> +.ui-widget select,
> +.ui-widget textarea,
> +.ui-widget button {
> +    font-family: 'Helvetica Neue', Helvetica, Arial;
> +}
> +
> +.ui-state-active a,
> +.ui-state-active a:link,
> +.ui-state-active a:visited {
> +    color: #222222;
> +}
> +
> +.ui-state-default a,
> +.ui-state-default a:link,
> +.ui-state-default a:visited {
> +    color: #222222;
> +}
> +
> +.ui-state-default,
> +.ui-widget-content .ui-state-default,
> +.ui-widget-header .ui-state-default {
> +    font-weight: normal;
> +}




More information about the Kimchi-devel mailing list