summaryrefslogtreecommitdiff
path: root/public/theme/base.css
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-13 22:48:13 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-03-13 22:48:13 +0100
commit9332fd5b0c1720a38aa5c85564da20c89a0f8a96 (patch)
tree3f6e3e5146e6510179408e93494b942f8b81a7b2 /public/theme/base.css
parentf597b8d1c9a97776f64c573157d04fc9832734d6 (diff)
Continuation du design : amélioration nav-list + ajout nav-head (avec gestion de la connexion) + début formulaires
Diffstat (limited to 'public/theme/base.css')
-rw-r--r--public/theme/base.css73
1 files changed, 62 insertions, 11 deletions
diff --git a/public/theme/base.css b/public/theme/base.css
index 6b41c922a..64a5b83a2 100644
--- a/public/theme/base.css
+++ b/public/theme/base.css
@@ -40,6 +40,28 @@ img {
}
/* FORMULAIRES */
+label {
+ display: block;
+ margin: 5px 0;
+}
+input {
+ display: inline-block;
+ min-height: 25px;
+ padding: 5px 5px;
+ background: #fff;
+ border: 1px solid #bbb;
+ border-radius: 3px;
+ color: #aaa;
+ line-height: 25px;
+ vertical-align: middle;
+ box-shadow: 0 2px 2px #eee inset;
+}
+ input:focus {
+ color: #0062BE;
+ border-color: #33BBFF;
+ box-shadow: 0 2px 2px #DDDDFF inset;
+ }
+
.btn {
display: inline-block;
min-height: 25px;
@@ -84,46 +106,63 @@ img {
}
/* NAVIGATION */
-.nav.nav-list li {
+.nav.nav-list .nav-header,
+.nav.nav-list .item {
display: block;
height: 35px;
line-height: 35px;
}
- .nav.nav-list li:hover {
+ .nav.nav-list .item:hover {
background: #fafafa;
}
- .nav.nav-list li:hover a {
+ .nav.nav-list .item:hover a {
color: #003388;
}
- .nav.nav-list li.active {
+ .nav.nav-list .item.active {
background: #0062BE;
color: #fff;
}
- .nav.nav-list li.active a {
+ .nav.nav-list .item.active a {
color: #fff;
}
- .nav.nav-list li.disable {
+ .nav.nav-list .disable {
color: #aaa;
background: #fafafa;
text-align: center;
}
- .nav.nav-list li > * {
+ .nav.nav-list .item > * {
display: block;
padding: 0 10px;
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
}
.nav.nav-list a:hover {
text-decoration: none;
}
- .nav.nav-list li.nav-header {
+ .nav.nav-list .nav-header {
padding: 0 10px;
- color: #666;
+ color: #888;
background: #f4f4f4;
border-bottom: 1px solid #ddd;
font-weight: bold;
text-shadow: 0 0 1px #ddd;
}
+.nav-head {
+ display: block;
+ margin: 0;
+ background: #fff;
+ background: linear-gradient(#fff, #f0f0f0);
+ border-bottom: 1px solid #ddd;
+ text-align: right;
+}
+ .nav-head .item {
+ display: inline-block;
+ padding: 5px 10px;
+ }
+
/* ALERTS */
.alert {
display: block;
@@ -169,6 +208,18 @@ img {
.icon.configure {
background: url("icons/configure.svg") center center no-repeat;
}
+ .icon.login {
+ background: url("icons/login.svg") center center no-repeat;
+ }
+ .icon.logout {
+ background: url("icons/logout.svg") center center no-repeat;
+ }
+ .icon.add {
+ background: url("icons/add.svg") center center no-repeat;
+ }
+ .icon.link {
+ background: url("icons/link.svg") center center no-repeat;
+ }
/* STRUCTURE */
.header {
@@ -245,7 +296,7 @@ img {
text-overflow: ellipsis;
}
.categories .feeds {
- width: 200px;
+ width: 220px;
margin: 0 auto;
list-style: none;
}
@@ -408,7 +459,7 @@ img {
display: inline-block;
width: 25px;
height: 25px;
- background: url("icons/website.svg") center center no-repeat;
+ background: url("icons/link.svg") center center no-repeat;
vertical-align: middle;
}
.flux_header .item.link a:hover {