mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-26 13:19:49 +07:00
83 lines
1.2 KiB
CSS
83 lines
1.2 KiB
CSS
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
|
|
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
color: #1f1f1f;
|
|
background-color: #f2f2f2;
|
|
font-size: 16px;
|
|
padding: 8px;
|
|
}
|
|
|
|
input,
|
|
button,
|
|
textarea,
|
|
select {
|
|
font-family: inherit;
|
|
font-size: inherit;
|
|
}
|
|
|
|
button {
|
|
background: #333;
|
|
color: white;
|
|
border-radius: 8px;
|
|
border: none;
|
|
min-width: 100px;
|
|
padding: 8px;
|
|
margin: 16px 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button.primary {
|
|
background: #333;
|
|
color: white;
|
|
}
|
|
|
|
button.secondary {
|
|
background: #ccc;
|
|
color: black;
|
|
}
|
|
|
|
button[disabled] {
|
|
background: #ddd;
|
|
color: #aaa;
|
|
}
|
|
|
|
input[type='range'] {
|
|
margin-top: 16px;
|
|
accent-color: black;
|
|
}
|
|
|
|
textarea {
|
|
--padding: 32px;
|
|
width: calc(100% - var(--padding));
|
|
max-width: calc(100% - var(--padding));
|
|
}
|
|
|
|
.text,
|
|
textarea {
|
|
background-color: white;
|
|
padding: 16px;
|
|
border-radius: 16px;
|
|
box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px, rgb(51, 51, 51) 0px 0px 0px 3px;
|
|
outline: none;
|
|
}
|
|
|
|
.blink {
|
|
animation: 1s ease-in-out 1s infinite reverse both running blink;
|
|
}
|
|
|
|
@keyframes blink {
|
|
25% {
|
|
opacity: 0.5;
|
|
}
|
|
50% {
|
|
opacity: 0;
|
|
}
|
|
75% {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
[hidden] {
|
|
display: none;
|
|
}
|