summaryrefslogtreecommitdiff
path: root/themes/clouds/css-1.7.0/style.css
diff options
context:
space:
mode:
authormakitso <makitso@gmail.com>2015-01-30 05:20:46 -0700
committermakitso <makitso@gmail.com>2015-01-30 05:20:46 -0700
commitb45fb4deef7e9d26571838493a0e590492bc42fb (patch)
treea39222a9db531c743153106756178e154ed21cc5 /themes/clouds/css-1.7.0/style.css
parentd7415e63d5c46fbbfd2e3808be555f1e9c7c32f0 (diff)
downloadwebtrees-b45fb4deef7e9d26571838493a0e590492bc42fb.tar.gz
webtrees-b45fb4deef7e9d26571838493a0e590492bc42fb.tar.bz2
webtrees-b45fb4deef7e9d26571838493a0e590492bc42fb.zip
Tidy up secondary menu code colors and clouds
Diffstat (limited to 'themes/clouds/css-1.7.0/style.css')
-rw-r--r--themes/clouds/css-1.7.0/style.css84
1 files changed, 30 insertions, 54 deletions
diff --git a/themes/clouds/css-1.7.0/style.css b/themes/clouds/css-1.7.0/style.css
index 5c156651e6..f6209a53aa 100644
--- a/themes/clouds/css-1.7.0/style.css
+++ b/themes/clouds/css-1.7.0/style.css
@@ -4286,59 +4286,41 @@ header {
position: absolute;
bottom: 0;
right: 10px;
+ list-style: none;
+ margin-left: 0;
+ padding: 1px;
}
.secondary-menu li {
display: inline;
position: relative;
- white-space: nowrap;
}
.secondary-menu li:before {
content: " | ";
}
+.secondary-menu li ul li:before,
+.secondary-menu li:first-child:before {
+ content: "";
+}
+
.secondary-menu ul {
+ position: absolute;
background-color: #eee;
border: thin solid #aaa;
display: none;
+ top: 5px;
left: 0;
- position: absolute;
-}
-
-.secondary-menu li ul li {
- display: block;
- text-align: left;
-}
-
-.secondary-menu li ul li a {
- color: #333;
-}
-
-.secondary-menu {
- list-style: none;
- margin-left: 0;
- padding: 1px;
-}
-
-.secondary-menu ul {
list-style: none;
margin-left: 0;
padding: 1px;
- top: 5px;
}
-/*set position of dropdown */
-.secondary-menu li:hover > ul {
+.secondary-menu ul li {
display: block;
-}
-
-.secondary-menu li a {
- color: #039;
-}
-
-.secondary-menu li a:hover {
- color: #f5003d;
+ text-align: left;
+ white-space: nowrap;
}
.secondary-menu ul li a {
@@ -4347,39 +4329,21 @@ header {
padding: 2px 5px 2px 2px;
}
+.secondary-menu li:hover ul {
+ display: block;
+}
+
.secondary-menu ul li a:hover {
background: #c8e7ff;
color: #000;
}
-li a.link {
- font-size: 13px;
- margin-left: 5px;
- margin-right: 5px;
-}
-
-.secondary-menu li ul li:before,
-.secondary-menu li:first-child:before {
- content: "";
-}
-
+/* set active theme to bold */
.secondary-menu .active {
color: #006;
font-weight: 900;
}
-.hsearch {
- display: block;
- float: right;
- padding-right: 10px;
- padding-top: 5px;
-}
-
-.search-icon {
- height: 17px;
- vertical-align: top;
-}
-
[dir=rtl] .secondary-menu {
left: 10px;
right: auto;
@@ -4394,6 +4358,18 @@ li a.link {
text-align: right;
}
+.hsearch {
+ display: block;
+ float: right;
+ padding-right: 10px;
+ padding-top: 5px;
+}
+
+.search-icon {
+ height: 17px;
+ vertical-align: top;
+}
+
/* ====== Primary menu ========= */
header h1 {
color: #039;