/* 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/. */ /** * This file contains the styles for the newsletter subscription form on about:devtools. * It is largely inspired from https://mozilla.github.io/basket-example/ */ .newsletter-title { font-size: 17px; font-weight: 500; margin-top: 26px; margin-bottom: -4px; } #newsletter-errors { /* Hidden by default */ display: none; margin-bottom: 20px; padding: 10px; border-radius: 2px; background-color: var(--red-50); color: var(--white); } #newsletter-errors.show { display: block; } #newsletter-errors .error { margin: 0; margin-bottom: 10px; } #newsletter-errors .error:last-child { margin-bottom: 0; } #newsletter-thanks { /* Hidden by default */ display: none; } #newsletter-thanks.show { display: block; } .newsletter-form-section { display: block; margin-bottom: 20px; width: 320px; } #newsletter-privacy { display: flex; /* The privacy section is hidden by default and only displayed on focus */ height: 0; overflow: hidden; padding: 3px 0 0 3px; margin: -3px 0 -20px -3px; } #newsletter-privacy.animate { transition: all 0.25s cubic-bezier(.15,.75,.35,.9); } #newsletter-privacy label { line-height: var(--line-height); } #privacy { width: 20px; height: 20px; margin-top: 2px; margin-inline-end: 10px; flex-shrink: 0; } #email { width: 100%; box-sizing: border-box; margin: 4px 0; padding: 8px; } #newsletter-submit { display: block; padding: 8px 20px; }