New color for navbar

This commit is contained in:
Xavier J 2016-11-15 14:10:43 +01:00
parent 1420c8425e
commit 6a261d125a
10 changed files with 89 additions and 90 deletions

View file

@ -82,7 +82,6 @@ gem 'mailjet'
gem "smart_listing"
# gem 'css_splitter'
gem 'bootstrap-wysihtml5-rails', '~> 0.3.3.8'
gem 'as_csv'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

View file

@ -50,47 +50,11 @@ body {
}
#footer, #wrap:after {
height: 40px;
height: 50px;
}
#footer {
background-color: rgb(240, 240, 240)
}
.main_div {
margin-left: 10rem;
margin-right: 10rem;
}
.logo {
margin-left: 10px;
padding-top: 5px;
padding-bottom: 5px;
max-height: 100%;
}
.logo_navbar {
margin-left: 10px;
padding-top: 5px;
padding-bottom: 5px;
max-height: 100%;
}
#beta {
text-align: center;
text-transform: uppercase;
position: absolute;
top: 26px;
right: -35px;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
width: 150px;
background-color: #008cba;
color: #fff;
padding: 5px;
font-size: 15px;
font-weight: 700;
z-index: 10;
background-color: rgb(240, 240, 240);
}
.beta_staging {
@ -121,17 +85,6 @@ body {
}
.navbar {
height: 35px;
background-color: rgba(235, 235, 235, 0.95);
.sign_in_FC {
margin-top: -18px;
height: 70px;
}
}
.text-purple {
color: #8B008B
}
@ -224,31 +177,6 @@ div.pagination {
}
}
.btn-nav {
background-color: transparent;
margin-top: 6px;
height: 36px;
}
.btn-nav:hover {
background-color: #eeeeee;
border-color: #eeeeee #eeeeee #ddd;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.btn-nav.text-info:hover {
color: #23527c;
}
.btn-nav.text-success:hover {
color: #3c763d;
}
.btn-nav.text-danger:hover {
color: #a94442;
}
#confirm {
display: none;
}

View file

@ -1,3 +0,0 @@
/*
*= require 'application'
*/

View file

@ -7,8 +7,8 @@
}
#backoffice_index, #backoffice_search {
margin-left: -7rem;
margin-right: -7rem;
margin-left: 2rem;
margin-right: 2rem;
}
#pref_list{

View file

@ -1,8 +1,3 @@
.max-size {
margin-left: -10rem;
margin-right: -10rem;
}
#landing {
background-image: image-url('landing_background.png');

View file

@ -0,0 +1,77 @@
.btn-nav {
color: white;
background-color: transparent;
margin-top: 6px;
height: 36px;
}
.btn-nav:hover {
background-color: #eeeeee;
border-color: #eeeeee #eeeeee #ddd;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.btn-nav.text-info:hover {
color: #23527c;
}
.btn-nav.text-success:hover {
color: #3c763d;
}
.btn-nav.text-danger:hover {
color: #a94442;
}
.navbar {
color: white;
height: 35px;
background-color: rgb(15, 56, 130);
border: 0 !important;
.sign_in_FC {
margin-top: -18px;
height: 70px;
}
.btn{
color: white;
}
.btn:hover{
color: #aaaaaa;
}
}
.logo {
margin-right: 10px;
max-height: 100%;
}
#title_navbar{
color: white;
font-weight: bold;
font-size: 1.8em;
}
#title_navbar:hover{
text-decoration: none;
}
#beta {
text-align: center;
text-transform: uppercase;
position: absolute;
top: 26px;
right: -35px;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
width: 150px;
background-color: #008cba;
color: #fff;
padding: 5px;
font-size: 15px;
font-weight: 700;
z-index: 10;
}

View file

@ -0,0 +1,4 @@
#users_index{
margin-left: 2rem;
margin-right: 2rem;
}

View file

@ -4,8 +4,8 @@
- else
Env Test
= image_tag('marianne_small.png', class: 'logo')
%a{href: '/'}
= image_tag(image_url(LOGO_NAME), class: 'logo') rescue nil
%a#title_navbar.btn{href: '/'}
TPS
- if gestionnaire_signed_in? && user_signed_in?
%a{href: (current_gestionnaire.procedure_filter.blank? ? backoffice_dossiers_path : backoffice_dossiers_procedure_path(current_gestionnaire.procedure_filter)), class: 'btn btn-md'}

View file

@ -7,9 +7,8 @@
%meta{'http-equiv' => "X-UA-Compatible", :content => "IE=edge"}
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= stylesheet_link_tag 'application_split2', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags
%body
- if Rails.env == 'test'
@ -38,7 +37,7 @@
%br
#footer.navbar
#footer
.container.center
%p{style:'margin-top: 1em;'}
%p{class: "copyright text-muted small"}