Improves styles for auth pages mobile version
This commit is contained in:
BIN
app/assets/images/auth_logo.png
Normal file
BIN
app/assets/images/auth_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.5 KiB |
@@ -51,6 +51,7 @@
|
|||||||
|
|
||||||
@media (min-width: $small-breakpoint) {
|
@media (min-width: $small-breakpoint) {
|
||||||
font-size: rem-calc(28);
|
font-size: rem-calc(28);
|
||||||
|
|
||||||
span {
|
span {
|
||||||
font-size: rem-calc(20);
|
font-size: rem-calc(20);
|
||||||
}
|
}
|
||||||
@@ -405,8 +406,15 @@ header {
|
|||||||
background: none;
|
background: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-topbar a {
|
.toggle-topbar {
|
||||||
font-size: rem-calc(10);
|
|
||||||
|
a {
|
||||||
|
font-size: rem-calc(10);
|
||||||
|
}
|
||||||
|
|
||||||
|
&.menu-icon a {
|
||||||
|
padding: 0 rem-calc(24);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.expanded .toggle-topbar a {
|
&.expanded .toggle-topbar a {
|
||||||
@@ -643,7 +651,7 @@ footer {
|
|||||||
.tags {
|
.tags {
|
||||||
|
|
||||||
a {
|
a {
|
||||||
background: #f2f2f2;
|
background: $border;
|
||||||
border-radius: rem-calc(30);
|
border-radius: rem-calc(30);
|
||||||
color: #4d4d4d;
|
color: #4d4d4d;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -705,6 +713,14 @@ footer {
|
|||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
@include logo;
|
@include logo;
|
||||||
|
|
||||||
|
a {
|
||||||
|
line-height: $line-height;
|
||||||
|
|
||||||
|
span {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1202,6 +1218,7 @@ table {
|
|||||||
|
|
||||||
.page {
|
.page {
|
||||||
background: white;
|
background: white;
|
||||||
|
min-height: rem-calc(480);
|
||||||
padding-bottom: rem-calc(48);
|
padding-bottom: rem-calc(48);
|
||||||
|
|
||||||
.menu {
|
.menu {
|
||||||
@@ -1260,6 +1277,7 @@ table {
|
|||||||
padding-bottom: rem-calc(12);
|
padding-bottom: rem-calc(12);
|
||||||
padding-left: rem-calc(36);
|
padding-left: rem-calc(36);
|
||||||
position: relative;
|
position: relative;
|
||||||
|
text-align: left;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: $text-medium;
|
color: $text-medium;
|
||||||
@@ -1277,12 +1295,16 @@ table {
|
|||||||
}
|
}
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
content: 'c';
|
content: none;
|
||||||
color: $text-light;
|
color: $text-light;
|
||||||
font-family: "icons" !important;
|
font-family: "icons" !important;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: rem-calc(6);
|
top: rem-calc(6);
|
||||||
|
|
||||||
|
@media (min-width: $small-breakpoint) {
|
||||||
|
content: 'c';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<div class="contain-to-grid clear">
|
<div class="contain-to-grid clear">
|
||||||
<nav class="top-bar" data-topbar role="navigation">
|
<nav class="top-bar" data-topbar role="navigation">
|
||||||
<ul class="title-area">
|
<ul class="title-area">
|
||||||
<li class="toggle-topbar menu-icon"><a href="#"><span><%= t("layouts.header.menu") %></span></a></li>
|
<li class="toggle-topbar menu-icon"><a href="#"><span></span></a></li>
|
||||||
<li class="name">
|
<li class="name">
|
||||||
<%= link_to root_path do %>
|
<%= link_to root_path do %>
|
||||||
<%= image_tag('header_logo_madrid.png', class: 'left', size: '96x96') %>
|
<%= image_tag('header_logo_madrid.png', class: 'left', size: '96x96') %>
|
||||||
|
|||||||
@@ -34,8 +34,7 @@
|
|||||||
<div class="small-12 medium-8 large-5 column small-centered">
|
<div class="small-12 medium-8 large-5 column small-centered">
|
||||||
<h1>
|
<h1>
|
||||||
<%= link_to root_path do %>
|
<%= link_to root_path do %>
|
||||||
<%= image_tag('logo_madrid_white.png', class: 'left', size: '96x96') %>
|
<%= image_tag("auth_logo.png", class: "left", size: "450x96", alt: t('layouts.header.logo')) %>
|
||||||
<%= t("layouts.header.open_gov", open: "<strong>#{t('layouts.header.open')}</strong>").html_safe %> | <span><%= t("layouts.header.participation") %></span>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
</h1>
|
</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user