From 2112e0844e3daa21fa39786b086afeb9d7688f6f Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 29 Sep 2014 11:08:51 +0200 Subject: [PATCH 1/6] style nav-tabs --- app/assets/stylesheets/zzz.css.erb | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/app/assets/stylesheets/zzz.css.erb b/app/assets/stylesheets/zzz.css.erb index a59ec7f82..a1376fa73 100644 --- a/app/assets/stylesheets/zzz.css.erb +++ b/app/assets/stylesheets/zzz.css.erb @@ -3473,6 +3473,49 @@ footer { margin: 0; } +.nav-tabs { + border-bottom: none; +} + +.nav-tabs li { + margin: 0; +} + +.nav-tabs > li > a, +.nav-tabs > li > a:hover, +.nav-tabs > li > a:focus { + background: white; + border-radius: 0; + border: 1px solid hsl(0,0%,90%); + color: hsl(0,0%,70%); + height: 40px; + margin: 0; +} + +.nav-tabs > li:not(:last-child):not(:only-child) > a { + border-right: none; +} + +.nav-tabs > li:first-child > a { + border-radius: 5px 0 0 5px; +} + +.nav-tabs > li:last-child > a { + border-radius: 0 5px 5px 0; +} + +.nav-tabs > li:only-child > a { + border-radius: 5px; +} + +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + background: hsl(206,7%,28%); + color: white; + border: 1px solid hsl(0,0%,90%); +} + /* ---------------- From 8076f8344bb2d5f5ee7ed53c17c2c35710b93cff Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 29 Sep 2014 12:10:32 +0200 Subject: [PATCH 2/6] userSearch activate form-control --- app/assets/javascripts/app/views/user.jst.eco | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/views/user.jst.eco b/app/assets/javascripts/app/views/user.jst.eco index cf6d9da72..4258db247 100644 --- a/app/assets/javascripts/app/views/user.jst.eco +++ b/app/assets/javascripts/app/views/user.jst.eco @@ -12,7 +12,7 @@
- +
<%- @T('Filter') %>:
<% for role in @roles: %> From 8abb6d4f2da0d3fb26c2e02978b707cfd0cae23b Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 29 Sep 2014 12:10:48 +0200 Subject: [PATCH 3/6] focus only form-control --- app/assets/stylesheets/zzz.css.erb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/zzz.css.erb b/app/assets/stylesheets/zzz.css.erb index a1376fa73..88844ed34 100644 --- a/app/assets/stylesheets/zzz.css.erb +++ b/app/assets/stylesheets/zzz.css.erb @@ -441,15 +441,11 @@ textarea, outline: none; } - input[type=text]:focus, - input[type=password]:focus, - input[type=email]:focus, - textarea:focus { + .form-control:focus { border-color: hsl(200,71%,59%); box-shadow: 0 0 0 3px hsl(201,62%,90%); } - .form-control:focus, .tokenfield.focus { box-shadow: none; border-color: hsl(0,0%,90%); @@ -3513,7 +3509,7 @@ footer { .nav-tabs > li.active > a:focus { background: hsl(206,7%,28%); color: white; - border: 1px solid hsl(0,0%,90%); + border-color: hsl(0,0%,90%); } /* From f5a7c3c06cfc9ecc606a4f634a3a7652ed2da9e9 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 29 Sep 2014 12:17:31 +0200 Subject: [PATCH 4/6] less tabClose clickarea --- app/assets/stylesheets/zzz.css.erb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/assets/stylesheets/zzz.css.erb b/app/assets/stylesheets/zzz.css.erb index 88844ed34..cb94beead 100644 --- a/app/assets/stylesheets/zzz.css.erb +++ b/app/assets/stylesheets/zzz.css.erb @@ -1615,7 +1615,6 @@ footer { right: 0; top: 0; width: 50px; - padding-left: 12px; height: 100%; visibility: hidden; } From 0c3d3e63a6a137ee3558f6de104a93686143bbcf Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Mon, 29 Sep 2014 12:54:04 +0200 Subject: [PATCH 5/6] fix tabsSidebar overflow by adding a tabsSidebar-holder to the parent element containing both the content and the sidebar --- .../app/views/agent_ticket_create.jst.eco | 86 ++++++++++--------- .../content_sidebar_tabs_right.jst.eco | 28 +++--- .../javascripts/app/views/ticket_zoom.jst.eco | 2 +- .../javascripts/app/views/user_zoom.jst.eco | 2 +- app/assets/stylesheets/zzz.css.erb | 6 ++ 5 files changed, 67 insertions(+), 57 deletions(-) diff --git a/app/assets/javascripts/app/views/agent_ticket_create.jst.eco b/app/assets/javascripts/app/views/agent_ticket_create.jst.eco index f6bccc058..067f3d155 100644 --- a/app/assets/javascripts/app/views/agent_ticket_create.jst.eco +++ b/app/assets/javascripts/app/views/agent_ticket_create.jst.eco @@ -1,49 +1,51 @@ -
-
-
-