@alifd/next
Version:
A configurable component library for web built on React.
302 lines (285 loc) • 9.37 kB
CSS
.next-sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
top: 0;
margin: -1px; }
.next-icon[dir="rtl"]::before {
transform: rotateY(180deg); }
@font-face {
font-family: NextIcon;
src: url("//at.alicdn.com/t/font_515771_xjdbujl2iu.eot");
src: url("//at.alicdn.com/t/font_515771_xjdbujl2iu.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_515771_xjdbujl2iu.woff2") format("woff2"), url("//at.alicdn.com/t/font_515771_xjdbujl2iu.woff") format("woff"), url("//at.alicdn.com/t/font_515771_xjdbujl2iu.ttf") format("truetype"), url("//at.alicdn.com/t/font_515771_xjdbujl2iu.svg#NextIcon") format("svg");
font-display: swap; }
.next-icon {
display: inline-block;
font-family: NextIcon;
font-style: normal;
font-weight: normal;
text-transform: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; }
.next-icon:before {
display: inline-block;
vertical-align: middle;
text-align: center; }
.next-icon-smile:before {
content: "";
content: var(--icon-content-smile, ""); }
.next-icon-cry:before {
content: "";
content: var(--icon-content-cry, ""); }
.next-icon-success:before {
content: "";
content: var(--icon-content-success, ""); }
.next-icon-warning:before {
content: "";
content: var(--icon-content-warning, ""); }
.next-icon-prompt:before {
content: "";
content: var(--icon-content-prompt, ""); }
.next-icon-error:before {
content: "";
content: var(--icon-content-error, ""); }
.next-icon-help:before {
content: "";
content: var(--icon-content-help, ""); }
.next-icon-clock:before {
content: "";
content: var(--icon-content-clock, ""); }
.next-icon-success-filling:before {
content: "";
content: var(--icon-content-success-filling, ""); }
.next-icon-delete-filling:before {
content: "";
content: var(--icon-content-delete-filling, ""); }
.next-icon-favorites-filling:before {
content: "";
content: var(--icon-content-favorites-filling, ""); }
.next-icon-add:before {
content: "";
content: var(--icon-content-add, ""); }
.next-icon-minus:before {
content: "";
content: var(--icon-content-minus, ""); }
.next-icon-arrow-up:before {
content: "";
content: var(--icon-content-arrow-up, ""); }
.next-icon-arrow-down:before {
content: "";
content: var(--icon-content-arrow-down, ""); }
.next-icon-arrow-left:before {
content: "";
content: var(--icon-content-arrow-left, ""); }
.next-icon-arrow-right:before {
content: "";
content: var(--icon-content-arrow-right, ""); }
.next-icon-arrow-double-left:before {
content: "";
content: var(--icon-content-arrow-double-left, ""); }
.next-icon-arrow-double-right:before {
content: "";
content: var(--icon-content-arrow-double-right, ""); }
.next-icon-switch:before {
content: "";
content: var(--icon-content-switch, ""); }
.next-icon-sorting:before {
content: "";
content: var(--icon-content-sorting, ""); }
.next-icon-descending:before {
content: "";
content: var(--icon-content-descending, ""); }
.next-icon-ascending:before {
content: "";
content: var(--icon-content-ascending, ""); }
.next-icon-select:before {
content: "";
content: var(--icon-content-select, ""); }
.next-icon-semi-select:before {
content: "";
content: var(--icon-content-semi-select, ""); }
.next-icon-search:before {
content: "";
content: var(--icon-content-search, ""); }
.next-icon-close:before {
content: "";
content: var(--icon-content-close, ""); }
.next-icon-ellipsis:before {
content: "";
content: var(--icon-content-ellipsis, ""); }
.next-icon-picture:before {
content: "";
content: var(--icon-content-picture, ""); }
.next-icon-calendar:before {
content: "";
content: var(--icon-content-calendar, ""); }
.next-icon-ashbin:before {
content: "";
content: var(--icon-content-ashbin, ""); }
.next-icon-upload:before {
content: "";
content: var(--icon-content-upload, ""); }
.next-icon-download:before {
content: "";
content: var(--icon-content-download, ""); }
.next-icon-set:before {
content: "";
content: var(--icon-content-set, ""); }
.next-icon-edit:before {
content: "";
content: var(--icon-content-edit, ""); }
.next-icon-refresh:before {
content: "";
content: var(--icon-content-refresh, ""); }
.next-icon-filter:before {
content: "";
content: var(--icon-content-filter, ""); }
.next-icon-attachment:before {
content: "";
content: var(--icon-content-attachment, ""); }
.next-icon-account:before {
content: "";
content: var(--icon-content-account, ""); }
.next-icon-email:before {
content: "";
content: var(--icon-content-email, ""); }
.next-icon-atm:before {
content: "";
content: var(--icon-content-atm, ""); }
.next-icon-loading:before {
content: "";
content: var(--icon-content-loading, "");
animation: loadingCircle 1s infinite linear; }
.next-icon-eye:before {
content: "";
content: var(--icon-content-eye, ""); }
.next-icon-copy:before {
content: "";
content: var(--icon-content-copy, ""); }
.next-icon-toggle-left:before {
content: "";
content: var(--icon-content-toggle-left, ""); }
.next-icon-toggle-right:before {
content: "";
content: var(--icon-content-toggle-right, ""); }
.next-icon-eye-close:before {
content: "";
content: var(--icon-content-eye-close, ""); }
.next-icon-unlock:before {
content: "";
content: var(--icon-content-unlock, ""); }
.next-icon-lock:before {
content: "";
content: var(--icon-content-lock, ""); }
.next-icon-exit:before {
content: "";
content: var(--icon-content-exit, ""); }
.next-icon-chart-bar:before {
content: "";
content: var(--icon-content-chart-bar, ""); }
.next-icon-chart-pie:before {
content: "";
content: var(--icon-content-chart-pie, ""); }
.next-icon-form:before {
content: "";
content: var(--icon-content-form, ""); }
.next-icon-detail:before {
content: "";
content: var(--icon-content-detail, ""); }
.next-icon-list:before {
content: "";
content: var(--icon-content-list, ""); }
.next-icon-dashboard:before {
content: "";
content: var(--icon-content-dashboard, ""); }
@keyframes loadingCircle {
0% {
transform-origin: 50% 50%;
transform: rotate(0deg); }
100% {
transform-origin: 50% 50%;
transform: rotate(360deg); } }
.next-icon.next-xxs:before,
.next-icon.next-xxs .next-icon-remote {
width: 8px;
width: var(--icon-xxs, 8px);
font-size: 8px;
font-size: var(--icon-xxs, 8px);
line-height: inherit; }
@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
.next-icon.next-xxs {
transform: scale(0.5);
margin-left: -4px;
margin-left: calc(0px - var(--icon-s, 16px)/2 + var(--icon-xxs, 8px)/2);
margin-right: -4px;
margin-right: calc(0px - var(--icon-s, 16px)/2 + var(--icon-xxs, 8px)/2); }
.next-icon.next-xxs:before {
width: 16px;
width: var(--icon-s, 16px);
font-size: 16px;
font-size: var(--icon-s, 16px); } }
.next-icon.next-xs:before,
.next-icon.next-xs .next-icon-remote {
width: 12px;
width: var(--icon-xs, 12px);
font-size: 12px;
font-size: var(--icon-xs, 12px);
line-height: inherit; }
.next-icon.next-small:before,
.next-icon.next-small .next-icon-remote {
width: 16px;
width: var(--icon-s, 16px);
font-size: 16px;
font-size: var(--icon-s, 16px);
line-height: inherit; }
.next-icon.next-medium:before,
.next-icon.next-medium .next-icon-remote {
width: 20px;
width: var(--icon-m, 20px);
font-size: 20px;
font-size: var(--icon-m, 20px);
line-height: inherit; }
.next-icon.next-large:before,
.next-icon.next-large .next-icon-remote {
width: 24px;
width: var(--icon-l, 24px);
font-size: 24px;
font-size: var(--icon-l, 24px);
line-height: inherit; }
.next-icon.next-xl:before,
.next-icon.next-xl .next-icon-remote {
width: 32px;
width: var(--icon-xl, 32px);
font-size: 32px;
font-size: var(--icon-xl, 32px);
line-height: inherit; }
.next-icon.next-xxl:before,
.next-icon.next-xxl .next-icon-remote {
width: 48px;
width: var(--icon-xxl, 48px);
font-size: 48px;
font-size: var(--icon-xxl, 48px);
line-height: inherit; }
.next-icon.next-xxxl:before,
.next-icon.next-xxxl .next-icon-remote {
width: 64px;
width: var(--icon-xxxl, 64px);
font-size: 64px;
font-size: var(--icon-xxxl, 64px);
line-height: inherit; }
.next-icon.next-inherit:before,
.next-icon.next-inherit .next-icon-remote {
width: inherit;
font-size: inherit;
line-height: inherit; }
.next-icon.next-inherit .next-icon-remote,
.next-icon .next-icon-remote {
width: 1em;
height: 1em;
vertical-align: middle;
fill: currentColor; }