Commit 16b09da1 authored by sajolida's avatar sajolida
Browse files

Add CSS work by tchou

parent 46402a83
......@@ -187,3 +187,95 @@ h2 {
#pagebody a.btn {
color: white;
}
/* Remove message once extension has started. */
html[data-extension^="ok"] #use p,
html[data-extension^="ok"] #update p,
html[data-extension^="ok"] #install p {
opacity: 0;
}
/* Add transparency to past states. */
.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
cursor: not-allowed;
box-shadow: none;
opacity: 0.25;
}
/* Hide "I already have an ISO" for the time being... */
#i_have_iso {
display:none !important;
opacity: 0;
}
/* Hide download path once downloaded. */
html[data-phase^="verified"] small#download-path,
html[data-phase^="verifying"] small#download-path {
opacity: 0;
}
/* Show "Done" once downloaded and changed state. */
html[data-phase^="verified"] #download-text-state,
html[data-phase^="verifying"] #download-text-state {
opacity: 1;
display: block;
}
html[data-phase^="verified"] #download-text-done,
html[data-phase^="verifying"] #download-text-done {
opacity: 1;
display: block;
}
/* Hide "Download" once downloaded. */
html[data-phase^="verified"] #download,
html[data-phase^="verifying"] #download {
cursor: not-allowed;
box-shadow: none;
opacity: 0.25 !important;
}
/* Enlarge div to look less like a button. */
#verify-text {
display: block;
cursor: default;
}
html[data-phase^="verified"] #verify-text {
box-shadow: none;
opacity: 0.25 !important;
}
/* Hide "Calculating" once verified. */
html[data-phase^="verified"] #verify-text-calculating {
display: none;
}
/* Less importance to GnuPG alternative. */
#verify-text-success {
background: none;
font-size: 0.8em;
}
/* Wider extension div and with more space. */
#download-and-verify {
width: 600px;
margin-left: auto;
margin-right: auto;
padding-top: 50px;
padding-bottom: 50px;
}
/* Do not display background image on links. */
#pagebody a[href^="http"] {
background: none;
}
/* Wider buttons */
#download-button {
display: block;
}
#install-button {
display: block;
}
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