Commit 3ff39190 authored by Matija Obreza's avatar Matija Obreza
Browse files

UX updates

parent 9ae8d169
......@@ -66,10 +66,16 @@ html, body {
#search {
margin: 18px 0 0 30px;
html[dir=rtl] & {
margin: 18px 30px 0 0;
}
width: 50%;
}
#search .form-group {
width: 65%;
width: 80%;
}
#search .form-control {
......@@ -292,6 +298,16 @@ html[dir="rtl"] #header .nav .dropdown-menu .checkbox {
margin-bottom: 0;
height: 45px;
min-height: 45px;
.twitter-follow-button {
text-transform: none;
.fa {
font-size: 22px;
float: left;
margin-right: 5px;
}
}
}
.mobile_log_lang {
......@@ -387,19 +403,20 @@ html[dir="rtl"] .navbar#nav-main ul li a{
text-transform: uppercase;
}
#content .free-text h1, #content .free-text h2, #content .free-text h3, #content .free-text h4 {
background-color: transparent;
color: #4D4C46;
padding: 0;
text-transform: uppercase;
color: #88BA42;
font-family: "forzabook";
font-weight: bold;
}
#content .free-text h2 {
font-size: 18px;
margin: 1em 0 0.5em;
.free-text {
h1, h2, h3, h4 {
background-color: transparent;
color: #4D4C46;
padding: 0;
text-transform: uppercase;
color: #88BA42;
font-family: "forzabook";
font-weight: bold;
}
h2 {
font-size: 18px;
margin: 1em 0 0.5em;
}
}
#crop-list .nav {
......@@ -993,7 +1010,7 @@ html[dir="rtl"] #country-in-genesys table .alignleft {
/* background: #fff url('../images/pic_map_stats.png') no-repeat center center; */
background-color: #4d4c46;
color: #fff;
height: 250px;
height: 300px;
position: relative;
@media (max-width: 767px) {
......@@ -1998,7 +2015,7 @@ html[dir="rtl"] ul.statistics .stats-number {
}
#globalmap.gis-map {
height: 250px;
height: 300px;
margin-top: 0;
background-image: url('../images/mapshot.png');
background-repeat: no-repeat;
......@@ -2169,7 +2186,6 @@ table.terms-table td {
}
#search .form-group {
display: inline-block;
width: 65%;
}
#search .form-group .form-control {
display: inline-block;
......@@ -2358,23 +2374,32 @@ div[x-href] {
.entry-page .row.intro {
.intro-image {
height: 250px;
height: 300px;
background-color: Yellow;
overflow: hidden;
img {
height: 250px;
height: 300px;
}
}
.intro-text {
height: 250px;
height: 300px;
padding: 20px;
font-size: 110%;
background-color: #88ba42;
color: White;
h1 {
margin-top: 0;
margin-top: 10px;
margin-bottom: 20px;
font-size: 28px;
font-family: "Noto Sans";
color: white;
text-transform: none;
em {
font-weight: normal;
font-style: normal;
}
}
.btn-default, .btn-default:focus, , .btn-default:active {
......@@ -2386,12 +2411,6 @@ div[x-href] {
@media (min-width: 767px) {
position: absolute;
bottom: 20px;
html[dir=ltr] & {
right: 20px;
}
html[dir=rtl] & {
left: 20px;
}
}
}
......
......@@ -17,9 +17,6 @@
<div class="col-xs-12 col-sm-6">
<div class="intro-text">
<c:if test="${welcomeBlurp ne null}">
<h1>
<c:out value="${welcomeBlurp.title}" escapeXml="false" />
</h1>
<div class="">
<c:set var="blurp" value="${welcomeBlurp}" />
<%@include file="/WEB-INF/jsp/content/include/blurp-display.jsp"%>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment