mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 22:38:31 +02:00
* Notes on AMO reviews, update to webpack 2 and use better reset style for panel footer button * Link to webpack-webext-plugin in live-dev section
47 lines
997 B
CSS
47 lines
997 B
CSS
/*
|
|
* These styles extend the styles from browser_styles, see https://firefoxux.github.io/StyleGuide.
|
|
*/
|
|
|
|
/* For some reason the footer creates a horizontal overflow */
|
|
body {
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.panel-formElements-item label {
|
|
width: 80px;
|
|
}
|
|
|
|
.panel-formElements-item output,
|
|
.panel-formElements-item input[type="number"] {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
input[type="number"] {
|
|
background-color: #fff;
|
|
border: 1px solid #b1b1b1;
|
|
box-shadow: 0 0 0 0 rgba(97, 181, 255, 0);
|
|
font: caption;
|
|
padding: 0 6px 0;
|
|
transition-duration: 250ms;
|
|
transition-property: box-shadow;
|
|
height: 24px;
|
|
}
|
|
|
|
input[type="number"]:hover {
|
|
border-color: #858585;
|
|
}
|
|
|
|
input[type="number"]:focus {
|
|
border-color: #0996f8;
|
|
box-shadow: 0 0 0 2px rgba(97, 181, 255, 0.75);
|
|
}
|
|
|
|
/* Reset the default styles for buttons if it's a footer button */
|
|
button.panel-section-footer-button {
|
|
padding: 12px;
|
|
border: none;
|
|
margin: 0;
|
|
box-shadow: none;
|
|
background-color: none;
|
|
}
|