tenfourfox/mobile/android/themes/core/aboutFeedback.css
Cameron Kaiser c9b2922b70 hello FPR
2017-04-19 00:56:45 -07:00

229 lines
3.6 KiB
CSS

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
body {
-moz-text-size-adjust: none;
font-family: sans-serif;
font-size: 12px;
color: #222;
background-color: #f5f5f5;
margin: 0;
}
a {
color: #0092DB;
}
section {
max-width: 500px;
margin-left: auto;
margin-right: auto;
overflow: auto;
height: calc(100% - 80px);
padding: 25px;
}
section:not([active]) {
display: none;
}
footer {
display: none;
width: 100%;
position: fixed;
bottom: 0px;
font-size: 16px;
margin-left: auto;
margin-right: auto;
background-color: #ebe9f0;
border-top: 2px solid #D4D3D8;
}
.header {
font-size: 24px;
font-weight: lighter;
text-align: center;
margin-top: 0;
}
.message-box,
.link-box,
.link-box-bottom {
background-color: #ffffff;
padding: 15px;
}
.message-box,
.link-box {
border-bottom: 1px solid #ebebf0;
}
.link-box-bottom {
border-bottom: 2px solid #ebebf0;
margin-bottom: 10px;
}
.link-box,
.link-box-bottom {
text-align: center;
}
.link-box:active,
.link-box-bottom:active {
background-color: #a7b0b8;
}
.message {
margin-bottom: 10px;
margin-left: auto;
margin-right: auto;
}
.privacy {
color: #bebebe;
text-align: center;
margin-top: 10px;
padding: 0px 20px;
}
.stars {
width: 80px;
height: 10px;
margin: -20px auto 10px auto;
background-image: url("chrome://browser/skin/images/5stars.png");
background-size: 64px 10px;
background-position: center;
background-repeat: no-repeat;
}
.link-box-bottom:active > .stars {
background-color: transparent;
}
#sumo-icon {
position: relative;
float: left;
margin-right: 20px;
width: 41px;
height: 41px;
}
#sad-thanks-icon {
position: relative;
display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 10px;
width: 60px;
}
.bottom-links {
text-align: center;
width: 100%;
}
.bottom-links > a {
margin: 0 25px;
text-decoration: underline;
}
.description {
font-family: "Clear Sans",sans-serif;
font-size: 14px;
color: #666;
margin-bottom: 10px;
padding: 5px;
width: calc(100% - 10px);
border-radius: 4px;
border-width: 1px;
}
#last-url-div {
display: none;
}
#last-url {
color: #bebebe;
width: calc(100% - 10px);
border: none;
background: transparent;
/*padding: 0px;*/
display: block;
}
#last-checkbox {
position: relative;
float: right;
margin: 0px;
background-image: url("chrome://browser/skin/images/checkbox_unchecked.png");
}
#last-checkbox:checked {
background-image: url("chrome://browser/skin/images/checkbox_checked.png");
border: 1px solid #379DE7;
}
#last-checkbox:not(:checked) ~ #last-url {
visibility: hidden;
}
#help-section {
max-width: 500px;
margin: 14px 20px 15px;
padding: 5px;
overflow: hidden;
}
#thanks-sad-message {
margin: 20px 0px;
}
.send-feedback {
padding: 15px;
font-size: 16px;
width: 100%;
border-radius: 4px;
border-width: 0;
color: #fff;
}
.link {
color: #222;
text-decoration: underline;
}
.description:invalid ~ .send-feedback {
background-color: #8698A8;
}
.description:valid ~ .send-feedback {
background-color: #0092DB;
}
@media screen and (max-height: 400px) {
body {
padding-top: 40px;
}
.bottom-links {
margin-top: 20px;
}
}
@media not screen and (max-height: 400px) {
.bottom-links {
position: absolute;
left: 0;
bottom: 40px;
}
#sad[active="true"] ~ footer {
display: block;
}
#thanks-sad[active="true"] ~ footer {
display: block;
}
}