Improve mobile version of Green theme

This commit is contained in:
Frederic Guillot 2013-07-20 09:10:55 -04:00
parent 25acb9bf28
commit 3a79a96b5a
3 changed files with 126 additions and 89 deletions

View File

@ -559,7 +559,7 @@ section li {
width: 50%; width: 50%;
float: right; float: right;
display: block; display: block;
line-height: 25px; line-height: 30px;
} }
nav ul { nav ul {

View File

@ -1,5 +1,5 @@
/* Basic example theme */ /* Basic example theme */
/* Indentation: 4 spaces - Line Endings: Unix */
/* Import the original stylesheet if you want, it's up to you... */ /* Import the original stylesheet if you want, it's up to you... */
@import url("../../../assets/css/app.css"); @import url("../../../assets/css/app.css");

View File

@ -1,7 +1,7 @@
@import url("../../../assets/css/app.css"); @import url("../../../assets/css/app.css");
body { body {
background-color: #f5fec9 ; background-color: #f5fec9;
color: #4c4c4c; color: #4c4c4c;
font-family: 'Verdana', Arial, sans-serif; font-family: 'Verdana', Arial, sans-serif;
font-size: 15px; font-size: 15px;
@ -89,6 +89,7 @@ section.page {
border-bottom: 1px solid #CACACA; border-bottom: 1px solid #CACACA;
border-radius: 0px 0px 8px 8px; border-radius: 0px 0px 8px 8px;
padding-bottom: 10px; padding-bottom: 10px;
padding-top: 15px;
} }
.page-header { .page-header {
@ -124,10 +125,14 @@ form {
.form-actions { .form-actions {
margin-top: 20px; margin-top: 20px;
margin-left: 10px;
} }
input[type="email"], input[type="tel"], input[type="password"], input[type="text"], textarea, select { input[type="email"],
input[type="tel"],
input[type="password"],
input[type="text"],
textarea,
select {
-webkit-border-radius: 4px; -webkit-border-radius: 4px;
border-radius: 4px; border-radius: 4px;
border: 1px solid #CCC; border: 1px solid #CCC;
@ -137,7 +142,11 @@ input[type="email"], input[type="tel"], input[type="password"], input[type="text
font-size: 15px; font-size: 15px;
} }
input[type="email"]:focus, input[type="tel"]:focus, input[type="password"]:focus, input[type="text"]:focus, textarea:focus { input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="text"]:focus,
textarea:focus {
border: 1px solid #336600; border: 1px solid #336600;
box-shadow: none; box-shadow: none;
} }
@ -153,7 +162,35 @@ input[type="email"]:focus, input[type="tel"]:focus, input[type="password"]:focus
border-color: #065806; border-color: #065806;
} }
.btn-blue:hover, .btn-blue:focus { .btn-blue:hover,
.btn-blue:focus {
background-color: #609C22; background-color: #609C22;
border-color: #0A7C0A; border-color: #0A7C0A;
} }
@media only screen and (max-width: 480px) {
body {
border-left: 1px solid #CACACA;
border-right: 1px solid #CACACA;
padding-bottom: 0;
}
header {
padding: 0;
border: none;
}
header li {
background-color: #fff;
}
section.page {
border: none;
border-radius: 0;
}
.item {
padding-bottom: 0;
}
}