@itamar.wmde/wikit-css
Version:
Prototype for a Design System and UI toolkit for WMDE Wikibase
43 lines (42 loc) • 844 B
CSS
button,
.button {
display: inline-block;
border-style: solid;
}
.button-primary {
font-family: -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Lato', 'Helvetica', 'Arial', sans-serif;
font-size: 16px;
font-weight: 600;
color: #ffffff;
line-height: 1.25;
background: #3366cc;
border-color: #3366cc;
border-radius: 2px;
border-width: 1px;
}
.button-primary,
.button-primary.medium {
min-height: 32px;
padding: 5px 12px;
}
.button-primary.large {
min-height: 40px;
padding: 9px 16px;
}
.button-primary:hover {
background: #447ff5;
border-color: #447ff5;
}
.button-primary:active {
background: #2a4b8d;
border-color: #2a4b8d;
}
.button-primary:focus {
background: #3366cc;
border-color: #3366cc;
}
.button-primary[disabled] {
color: #ffffff;
background: #c8ccd1;
border-color: #c8ccd1;
}