projects
/
enc-static.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use full opacity for dropdown text.
[enc-static.git]
/
css
/
main.css
diff --git
a/css/main.css
b/css/main.css
index 40839189e943c230491d6b2051c7cb089d00cf37..8d2cfd8d11aadd72eaf6a2e2f5e7d652c3439eae 100644
(file)
--- a/
css/main.css
+++ b/
css/main.css
@@
-282,7
+282,7
@@
a:focus > img + strong {
padding: .25em;
}
padding: .25em;
}
-#header ul.os .s
hare
{
+#header ul.os .s
pacer
{
padding: .25em 0 .25em 4em;
}
padding: .25em 0 .25em 4em;
}
@@
-399,62
+399,75
@@
ul.images li > img {
height: auto;
}
height: auto;
}
-
-/* Troubleshooting panel
-*/
+/* Troubleshooting panel and dropdown */
.troubleshooting {
.troubleshooting {
- margin-top: .8em;
+ margin-top: .8em;
+}
+
+.dropdown > h4 {
+ font-size: .85em;
+ width: 140px;
+ text-align: center;
+ display: inline-block;
+ cursor: pointer;
+ letter-spacing: 2px;
+ padding: .25em .5em;
+ color: #2f5faa;
+ border: 1px solid #5f8dd3;
+ border-radius: 3px;
}
.troubleshooting > h4 {
}
.troubleshooting > h4 {
-
display: inline-block;
-
cursor: pointer;
-
letter-spacing: 2px;
-
padding: .25em .5em;
-
color: #2f5faa;
-
opacity: .5;
-
border: 1px solid #5f8dd3;
-
border-radius: 3px;
+ display: inline-block;
+ cursor: pointer;
+ letter-spacing: 2px;
+ padding: .25em .5em;
+ color: #2f5faa;
+ opacity: .5;
+ border: 1px solid #5f8dd3;
+ border-radius: 3px;
}
.troubleshooting > h4:hover,
.troubleshooting > h4.expanded {
}
.troubleshooting > h4:hover,
.troubleshooting > h4.expanded {
-
opacity: 1;
+ opacity: 1;
}
}
-.troubleshooting > h4.expanded {
- border-bottom: 0;
- border-radius: 3px 3px 0 0;
+.troubleshooting > h4.expanded,
+.dropdown > h4.expanded {
+ border-bottom: 0;
+ border-radius: 3px 3px 0 0;
}
}
-
-.
troubleshooting
> h4:after {
-
content:' ▾';
-
display: inline-block;
+.troubleshooting > h4:after,
+.
dropdown
> h4:after {
+ content:' ▾';
+ display: inline-block;
line-height: 1;
line-height: 1;
-
padding: 0 0.2em;
+ padding: 0 0.2em;
vertical-align: top;
}
vertical-align: top;
}
-.troubleshooting > h4.expanded:after {
- content:' ▴';
- display: inline-block;
+.troubleshooting > h4.expanded:after,
+.dropdown > h4.expanded:after {
+ content:' ▴';
+ display: inline-block;
line-height: 1;
line-height: 1;
-
padding: 0 0.2em;
+ padding: 0 0.2em;
vertical-align: top;
}
vertical-align: top;
}
-.troubleshooting dl
{
- display: none;
-
padding: .5em;
-
border: 1px solid #5f8dd3;
-
border-radius: 0 3px 3px;
+.troubleshooting dl
,
+.dropdown ul {
+ padding: .5em;
+ border: 1px solid #5f8dd3;
+ border-radius: 0 3px 3px;
}
.main dt,
.troubleshooting dt {
}
.main dt,
.troubleshooting dt {
-
margin-top: 1em;
+ margin-top: 1em;
}
.main dt:first-child,
}
.main dt:first-child,
@@
-467,6
+480,13
@@
ul.images li > img {
display: inline-block;
}
display: inline-block;
}
+.dropdown ul {
+ position: absolute;
+ width: 140px;
+ text-align: center;
+ background: #f4eed7;
+}
+
/* Form elements: newsletter + pgp pathfinder
*/
/* Form elements: newsletter + pgp pathfinder
*/
@@
-777,9
+797,7
@@
input[type='reset']:hover {
width: 80%;
height: auto;
}
width: 80%;
height: auto;
}
-
-
-}
+}