uicd
Version:
构建 Web 界面组件库 uic
414 lines (344 loc) • 7.23 kB
CSS
@charset "UTF-8";
/*
* 基础色
*/
/*
* 系统色和功能色
*/
/*
* 字体系统
*/
/*
* 表单
*/
/*
* 按钮
*/
/*
* 开关
*/
*,
*::before,
*::after {
box-sizing: border-box; }
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #212529;
background-color: #fff;
-webkit-text-size-adjust: 100%;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
[tabindex="-1"]:focus:not(:focus-visible) {
outline: 0 ; }
hr {
margin: 1rem 0;
color: inherit;
background-color: currentColor;
border: 0;
opacity: 0.25; }
hr:not([size]) {
height: 1px; }
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: 0.5rem;
font-weight: 500;
line-height: 1.2; }
h1 {
font-size: 2.5rem; }
h2 {
font-size: 2rem; }
h3 {
font-size: 1.75rem; }
h4 {
font-size: 1.5rem; }
h5 {
font-size: 1.25rem; }
h6 {
font-size: 1rem; }
p {
margin-top: 0;
margin-bottom: 1rem; }
abbr[title],
abbr[data-original-title] {
text-decoration: underline;
text-decoration: underline dotted;
cursor: help;
text-decoration-skip-ink: none; }
address {
margin-bottom: 1rem;
font-style: normal;
line-height: inherit; }
ol,
ul {
padding-left: 2rem; }
ol,
ul,
dl {
margin-top: 0;
margin-bottom: 1rem; }
ol ol,
ul ul,
ol ul,
ul ol {
margin-bottom: 0; }
dt {
font-weight: 700; }
dd {
margin-bottom: .5rem;
margin-left: 0; }
blockquote {
margin: 0 0 1rem; }
b,
strong {
font-weight: bolder; }
small {
font-size: 0.875em; }
sub,
sup {
position: relative;
font-size: 0.75em;
line-height: 0;
vertical-align: baseline; }
sub {
bottom: -.25em; }
sup {
top: -.5em; }
a {
color: #0d6efd;
text-decoration: none; }
a:hover {
color: #024dbc;
text-decoration: underline; }
a:not([href]), a:not([href]):hover {
color: inherit;
text-decoration: none; }
pre,
code,
kbd,
samp {
font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-size: 1em; }
pre {
display: block;
margin-top: 0;
margin-bottom: 1rem;
overflow: auto;
font-size: 0.875em; }
pre code {
font-size: inherit;
color: inherit;
word-break: normal; }
code {
font-size: 0.875em;
color: #d63384;
word-wrap: break-word; }
a > code {
color: inherit; }
figure {
margin: 0 0 1rem; }
img {
vertical-align: middle; }
svg {
overflow: hidden;
vertical-align: middle; }
table {
border-collapse: collapse; }
caption {
padding-top: .5rem;
padding-bottom: .5rem;
color: #6c757d;
text-align: left;
caption-side: bottom; }
th {
text-align: inherit; }
label {
display: inline-block;
margin-bottom: .5rem; }
button {
border-radius: 0; }
button:focus {
outline: 1px dotted;
outline: 5px auto -webkit-focus-ring-color; }
input,
button,
select,
optgroup,
textarea {
margin: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit; }
button,
input {
overflow: visible; }
button,
select {
text-transform: none; }
select {
word-wrap: normal; }
[list]::-webkit-calendar-picker-indicator {
display: none; }
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button; }
button:not(:disabled),
[type="button"]:not(:disabled),
[type="reset"]:not(:disabled),
[type="submit"]:not(:disabled) {
cursor: pointer; }
::-moz-focus-inner {
padding: 0;
border-style: none; }
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
-webkit-appearance: textfield; }
textarea {
overflow: auto;
resize: vertical; }
fieldset {
min-width: 0;
padding: 0;
margin: 0;
border: 0; }
legend {
float: left;
width: 100%;
padding: 0;
margin-bottom: 0.5rem;
font-size: 1.5rem;
line-height: inherit;
color: inherit;
white-space: normal; }
mark {
padding: 0.2em;
background-color: #fcf8e3; }
progress {
vertical-align: baseline; }
::-webkit-datetime-edit {
overflow: visible;
line-height: 0; }
[type="search"] {
outline-offset: -2px;
-webkit-appearance: textfield; }
::-webkit-search-decoration {
-webkit-appearance: none; }
::-webkit-color-swatch-wrapper {
padding: 0; }
::-webkit-file-upload-button {
font: inherit;
-webkit-appearance: button; }
output {
display: inline-block; }
summary {
display: list-item;
cursor: pointer; }
template {
display: none; }
main {
display: block; }
[hidden] {
display: none ; }
.btn {
position: relative;
display: inline-block;
font-weight: 400;
line-height: 1.5;
color: #212529;
white-space: nowrap;
text-align: center;
vertical-align: middle;
background-image: none;
border: 1px solid transparent;
border-radius: 0.25rem;
cursor: pointer;
padding: 0.75rem 0.375rem;
font-size: 1rem;
border-radius: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
.btn.disabled, .btn[disabled] {
cursor: not-allowed;
opacity: 0.65;
box-shadow: none; }
.btn.disabled > *, .btn[disabled] > * {
pointer-events: none; }
.btn-primary {
color: #fff;
margin: 0px;
background: #0d6efd;
border-color: #0d6efd; }
.btn-primary:hover {
color: #fff;
background: #3385fd;
border-color: #408cfd; }
.btn-primary:focus, .btn-primary.focus {
color: #fff;
background: #3385fd;
border-color: #408cfd; }
.btn-primary:disabled, .btn-primary.disabled {
color: #fff;
background: #0d6efd;
border-color: #0d6efd; }
.btn-danger {
color: #fff;
margin: 0px;
background: #dc3545;
border-color: #dc3545; }
.btn-danger:hover {
color: #fff;
background: #e25663;
border-color: #e4606d; }
.btn-danger:focus, .btn-danger.focus {
color: #fff;
background: #e25663;
border-color: #e4606d; }
.btn-danger:disabled, .btn-danger.disabled {
color: #fff;
background: #dc3545;
border-color: #dc3545; }
.btn-default {
color: #212529;
margin: 0px;
background: #fff;
border-color: #ced4da; }
.btn-default:hover {
color: #0d6efd;
background: #fff;
border-color: #0d6efd; }
.btn-default:focus, .btn-default.focus {
color: #0d6efd;
background: #fff;
border-color: #0d6efd; }
.btn-default:disabled, .btn-default.disabled {
color: #212529;
background: #fff;
border-color: #ced4da; }
.btn-lg {
padding: 0.5rem 1rem;
font-size: 1.25rem;
border-radius: 0.3rem; }
.btn-sm {
padding: 0.25rem 0.5rem;
font-size: 0.875rem;
border-radius: 0.2rem; }
.btn-link {
font-weight: 400;
color: #0d6efd;
text-decoration: none;
box-shadow: none; }
.btn-link:hover {
color: #024dbc;
text-decoration: underline; }
.btn-link:focus, .btn-link.focus {
text-decoration: underline;
box-shadow: none; }
.btn-link:disabled, .btn-link.disabled {
cursor: not-allowed;
color: #6c757d;
pointer-events: none; }