rockui
Version:
React component library rock
1,483 lines (1,275 loc) • 31.7 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: none; }
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: normal;
text-align: center;
vertical-align: middle;
background-image: none;
border: 1px solid transparent;
padding: 0.375rem 0.75rem;
font-size: 1rem;
border-radius: 0.25rem;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
cursor: pointer;
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-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-primary {
color: #fff;
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-dashed {
color: #212529;
background: #fff;
border-color: #ced4da;
border-style: dashed; }
.btn-dashed:hover {
color: #0d6efd;
background: #fff;
border-color: #0d6efd; }
.btn-dashed:focus, .btn-dashed.focus {
color: #0d6efd;
background: #fff;
border-color: #0d6efd; }
.btn-dashed:disabled, .btn-dashed.disabled {
color: #212529;
background: #fff;
border-color: #ced4da; }
.btn-danger {
color: #fff;
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;
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-link {
font-weight: 400;
color: #0d6efd;
text-decoration: none;
box-shadow: none;
background: transparent; }
.btn-link.hover {
color: #024dbc;
text-decoration: underline; }
.btn-link.focus, .btn-link[focus] {
text-decoration: underline;
box-shadow: none; }
.alert {
position: relative ;
display: inline-block;
font-weight: 400;
line-height: 1.5;
color: #212529;
white-space: normal;
text-align: left;
vertical-align: middle;
background-image: none;
border: 1px solid transparent;
font-size: 1rem;
border-radius: 0.25rem;
padding: 0.375rem 0.75rem; }
.alert-success {
border-color: #b7eb8f;
background: #d3f3ba; }
.alert-warning {
border-color: #fadb14;
background: #fbe346; }
.alert-error {
border-color: #dc3545;
background: #e4606d; }
.alert-info {
border-color: #0d6efd;
background: #408cfd; }
.menu {
position: relative;
display: flex;
flex-wrap: wrap;
padding-left: 0;
margin-bottom: 30px;
list-style: none;
border-bottom: 1px solid #dee2e6;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075); }
.menu .menu-item {
position: relative;
padding: 0.5rem 1rem;
cursor: pointer;
transition: color 0.15s ease-in-out, border-color 0.15s ease-in-out; }
.menu .menu-item:hover, .menu .menu-item:focus {
text-decoration: none; }
.menu .menu-item.is-disabled {
color: #6c757d;
pointer-events: none;
cursor: default; }
.menu .menu-item.is-active, .menu .menu-item:hover {
color: #0d6efd;
border-bottom: #0d6efd 2px solid; }
.menu-vertical {
flex-direction: column;
border-bottom: 0px;
border-right: 1px solid #dee2e6; }
.menu-vertical .menu-item {
border-left: transparent 2px solid; }
.menu-vertical .menu-item.is-active, .menu-vertical .menu-item:hover {
border-bottom: 0px;
border-left: #0d6efd 2px solid; }
.menu-horizontal .submenu-item {
position: relative; }
.menu-horizontal .submenu-item .submenu-title {
display: flex;
justify-content: center;
align-items: center; }
.menu-horizontal .submenu-item .submenu-title .down-icon {
margin-left: 3px; }
.menu-horizontal .submenu-item .submenu-title:hover {
transition: all 2s; }
.menu-horizontal .submenu-item .submenu-title:hover .down-icon {
transform: rotate(180deg); }
.down-icon {
margin-left: 3px; }
.is-vitical.menu-open .down-icon {
transition: 2s all;
transform: rotate(180deg); }
.submenu {
position: absolute;
list-style: none;
box-shadow: 0px 0px 15px #eee;
padding: 0;
top: 45px;
display: none;
left: 5px;
color: #212529;
background: #fff;
z-index: 1; }
.menu-open {
display: block; }
.tabs {
position: relative;
display: flex;
flex-wrap: wrap;
padding-left: 0;
margin-bottom: 30px;
list-style: none;
height: 300px; }
.tabs .tabs-item {
position: relative;
padding: 0.5rem 1rem;
cursor: pointer;
transition: color 0.15s ease-in-out, border-color 0.15s ease-in-out; }
.tabs .tabs-item:hover, .tabs .tabs-item:focus {
text-decoration: none; }
.tabs .tabs-item.is-disabled {
color: #6c757d;
pointer-events: none;
cursor: default; }
.tabs .tabs-item.is-active, .tabs .tabs-item:hover {
color: #0d6efd;
border-bottom: #0d6efd 2px solid; }
.tab-item-wrapper {
display: flex;
flex-direction: column; }
.tab-item-wrapper div {
display: block;
position: absolute;
top: 40px;
width: 100%;
text-align: left;
min-height: 50px;
left: 0;
padding: 10px 10px; }
.icon-primary {
color: #0d6efd; }
.icon-secondary {
color: #6c757d; }
.icon-success {
color: #b7eb8f; }
.icon-info {
color: #17a2b8; }
.icon-warning {
color: #fadb14; }
.icon-danger {
color: #dc3545; }
.icon-light {
color: #f8f9fa; }
.icon-dark {
color: #343a40; }
.rock-input-wrapper {
display: flex;
width: 100%;
margin-bottom: 30px;
position: relative; }
.rock-input-wrapper .icon-wrapper {
position: absolute;
height: 100%;
width: 35px;
justify-content: center;
color: #495057;
right: 0;
top: 0;
display: flex;
align-items: center; }
.rock-input-wrapper .icon-wrapper svg {
color: #6c757d; }
.icon-wrapper + .rock-input-inner {
padding-right: 35px; }
.rock-input-inner {
width: 100%;
padding: 0.375rem 0.75rem;
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: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: 0.25rem;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out; }
.rock-input-inner:focus {
color: #495057;
background-color: #fff;
border-color: #8bbafe;
outline: 0;
box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25); }
.rock-input-inner::placeholder {
color: #6c757d;
opacity: 1; }
.rock-input-inner:disabled, .rock-input-inner[readonly] {
background-color: #e9ecef;
opacity: 1; }
.rock-input-group-addonBefore,
.rock-input-group-addonAfter {
display: flex;
align-items: center;
padding: 0.375rem 0.75rem;
margin-bottom: 0;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #495057;
text-align: center;
white-space: nowrap;
background-color: #e9ecef;
border: 1px solid #ced4da;
border-radius: 0.25rem; }
.rock-input-group-addonAfter + .btn {
padding: 0;
border: 0; }
.input-group > .rock-input-group-addonBefore,
.input-group.input-group-addonAfter > .rock-input-inner {
border-top-right-radius: 0;
border-bottom-right-radius: 0; }
.input-group > .rock-input-group-addonAfter,
.input-group.input-group-addonBefore > .rock-input-inner {
border-top-left-radius: 0;
border-bottom-left-radius: 0; }
.input-size-sm .rock-input-inner {
padding: 0.25rem 0.5rem;
font-size: 0.875rem;
border-radius: 0.2rem; }
.input-size-lg .rock-input-inner {
padding: 0.5rem 1rem;
font-size: 1.25rem;
border-radius: 0.3rem; }
.start_wrapper {
position: fixed;
background-color: #000;
height: 100vh;
width: 100%;
overflow: hidden;
left: 0;
top: 0;
z-index: -1; }
.turn-down {
top: -100vh; }
.turn-left {
left: -100%; }
.start_wrapper_comeIn-down {
top: 0;
left: 0;
transition: top 3s; }
.start_wrapper_comeIn-left {
top: 0;
left: 0;
transition: left 3s; }
.start_wrapper_comeIn-up {
top: 0;
left: 0;
transition: bottom 3s; }
@keyframes aniStart {
0% {
opacity: 0.2; }
50% {
opacity: 0.5; }
100% {
opacity: 1; } }
.heart {
position: relative; }
.heart::before,
.heart::after {
position: absolute;
content: '';
left: 50%;
top: 0;
width: 50%;
height: 100%;
background: #f00;
-moz-border-radius: 50% 50% 0 0;
border-radius: 50% 50% 0 0;
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
-moz-transform-origin: 0 100%;
-webkit-transform-origin: 0 100%;
-moz-transform-origin: 0 100%;
-o-transform-origin: 0 100%;
-ms-transform-origin: 0 100%;
transform-origin: 0 100%; }
.heart::after {
left: 0;
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-ms-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
transform-origin: 100% 100%;
-moz-transform-origin: 100% 100%;
-webkit-transform-origin: 100% 100%;
-moz-transform-origin: 100% 100%;
-o-transform-origin: 100% 100%; }
.spider-container {
width: 100%;
position: relative;
overflow: hidden; }
.spider-container .spider {
width: 100%;
height: 100%;
color: #f00; }
.spider-container .spider img {
width: 100%;
height: 100%; }
.spider-container .dot {
display: flex;
flex-direction: row;
width: 100%;
justify-content: center;
position: relative;
top: -30px; }
.spider-container .dot button {
margin-right: 3px;
border-radius: 50%;
height: 20px;
width: 20px;
font-size: 10px;
position: relative; }
.spider-container .dot button div {
width: 5px;
height: 5px;
background-color: #eee;
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -40%); }
.spider-container .arow {
display: flex;
flex-direction: row;
width: 100%;
position: absolute;
top: 50%;
transform: translateY(-50%);
justify-content: space-between;
padding: 0 20px; }
.spider-container .arow a {
color: #efefe5; }
.table-wrapper {
display: flex;
color: rgba(0, 0, 0, 0.65);
font-size: 14px;
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;
width: 100%;
overflow: hidden; }
.table-container {
position: relative;
width: 100%;
overflow: hidden; }
.table-container .t_thead {
background: #fafafa;
width: 100%;
overflow: hidden; }
.table-container .t_thead .t_tr {
display: flex ;
min-height: 55px ;
align-items: center ; }
.table-container .t_thead th {
color: rgba(0, 0, 0, 0.85);
font-weight: 500;
text-align: left;
background: #fafafa;
border-bottom: 1px solid #f0f0f0;
-webkit-transition: background .3s ease;
transition: background .3s ease;
flex: auto;
height: 55px;
line-height: 55px;
padding-left: 16px;
padding-right: 16px; }
.table-container .t_thead th:first-of-type {
flex-grow: 0.5 ; }
.table-container .tbody_wrapper {
overflow: scroll ;
width: 100%;
overflow: hidden; }
.table-container .tbody_wrapper .t_tbody {
width: 100% ;
display: block;
overflow: hidden; }
.table-container .tbody_wrapper .t_tbody label {
display: block ;
margin-bottom: 0rem ; }
.table-container .tbody_wrapper .t_tbody .t_tr {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
min-height: 55px ; }
.table-container .tbody_wrapper .t_tbody td {
text-align: left;
flex: auto;
padding: 16px; }
.table-container .tbody_wrapper .t_tbody td:first-of-type {
flex-grow: 0.5 ; }
.expandIcon {
display: inline-block ;
width: 30px;
cursor: pointer;
margin-left: 10px;
height: 100%; }
.expendContent {
width: 100%;
min-height: 60px; }
.expendContent td {
text-align: center;
flex: auto;
display: inline-block;
width: 100%;
height: 100%;
padding: 5px 10px; }
.chooselable {
display: inline-block ;
width: 20px;
cursor: pointer;
margin-left: 10px;
height: 55px;
line-height: 55px;
margin-right: 15px; }
.firstColomnsTitle {
width: 150px;
display: flex;
justify-content: center;
align-items: center; }
.table-loading tbody {
filter: opacity(0.5); }
.table-borderd {
border-top: #f0f0f0 1px solid;
border-bottom: #f0f0f0 1px solid; }
.table-borderd .t_tr {
border-bottom: #f0f0f0 1px solid; }
.show_mask {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 1;
background-color: rgba(0, 0, 0, 0.1); }
.spin_wrapper {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(236, 230, 230, 0.2);
display: flex;
justify-content: center;
align-items: center;
z-index: 1; }
.spin_wrapper .click_block {
position: absolute;
width: 10px;
height: 10px;
background: #f3ab24;
border-radius: 50%;
transform-origin: 5px 15px;
animation: rotate 2s linear infinite; }
.spin_wrapper .click_block::before {
position: absolute;
width: 10px;
height: 10px;
background: #faa0a0;
border-radius: 50%;
left: -8.66px;
top: 15px;
content: "";
display: inline-block; }
.spin_wrapper .click_block::after {
position: absolute;
width: 10px;
height: 10px;
background: #c9f8c9;
border-radius: 50%;
left: 8.66px;
top: 15px;
content: "";
display: inline-block; }
@keyframes rotate {
100% {
transform: rotate(720deg) translate3d(0, 0, 0); } }
.duration-fast-time {
animation-duration: 0.5s;
animation-fill-mode: both; }
.duration-middle-time {
animation-duration: 1s;
animation-fill-mode: both; }
.duration-slow-time {
animation-duration: 2s;
animation-fill-mode: both; }
.animate-fade--in {
animation-name: fadein; }
.animate-fade--out {
animation-name: fadeout; }
.animate-fade-left-in {
animation-name: fade-left-in; }
.animate-fade-right-in {
animation-name: fade-right-in; }
.animate-fade-left-out {
animation-name: fade-left-out; }
.animate-fade-right-out {
animation-name: fade-right-out; }
.animate-fade-top-in {
animation-name: fade-top-in; }
.animate-fade-bottom-in {
animation-name: fade-bottom-in; }
.animate-fade-top-out {
animation-name: fade-top-out; }
.animate-fade-bottom-out {
animation-name: fade-bottom-out; }
.animate-slip-left-in {
animation-name: left-in; }
.animate-slip--in {
animation-name: left-in; }
.animate-slip-left-out {
animation-name: left-out; }
.animate-slip-right-in {
animation-name: right-in; }
.animate-slip--out {
animation-name: left-out; }
.animate-slip-right-out {
animation-name: right-out; }
.animate-slip-top-in {
animation-name: top-in; }
.animate-slip-top-out {
animation-name: top-out; }
.animate-slip-bottom-in {
animation-name: bottom-in; }
.animate-slip-bottom-out {
animation-name: bottom-out; }
.animate-slip-bottom-out {
animation-name: bottom-out; }
@keyframes left-in {
0% {
transform: translateX(-100%); }
100% {
transform: translateX(0%); } }
@keyframes right-in {
0% {
transform: translateX(100%); }
100% {
transform: translateX(0%); } }
@keyframes left-out {
0% {
transform: translateX(0%); }
100% {
transform: translateX(-100%); } }
@keyframes right-out {
0% {
transform: translateX(0%); }
100% {
transform: translateX(100%); } }
@keyframes top-in {
0% {
transform: translateY(-100%); }
100% {
transform: translateY(0%); } }
@keyframes top-out {
0% {
transform: translateY(0%); }
100% {
transform: translateY(-100%); } }
@keyframes bottom-in {
0% {
transform: translateY(100%); }
100% {
transform: translateY(0%); } }
@keyframes bottom-out {
0% {
transform: translateY(0%); }
100% {
transform: translateY(100%); } }
@keyframes fadein {
0% {
opacity: 0; }
100% {
opacity: 1; } }
@keyframes fadeout {
0% {
opacity: 1; }
100% {
opacity: 0; } }
@keyframes fade-left-in {
0% {
opacity: 0;
transform: translateX(-10px); }
100% {
opacity: 1;
transform: translateX(0); } }
@keyframes fade-left-out {
0% {
opacity: 1;
transform: translateX(0); }
100% {
opacity: 0;
transform: translateX(-10%); } }
@keyframes fade-right-in {
0% {
opacity: 0;
transform: translateX(10px); }
100% {
opacity: 1;
transform: translateX(0); } }
@keyframes fade-right-out {
0% {
opacity: 1;
transform: translateX(0%); }
100% {
opacity: 0;
transform: translateX(10%); } }
@keyframes fade-top-in {
0% {
opacity: 0;
transform: translateY(-10%); }
100% {
opacity: 1;
transform: translateX(0%); } }
@keyframes fade-bottom-in {
0% {
opacity: 0;
transform: translateY(10%); }
100% {
opacity: 1;
transform: translateX(0%); } }
@keyframes fade-top-out {
0% {
opacity: 1;
transform: translateY(0%); }
100% {
opacity: 0;
transform: translateX(-10%); } }
@keyframes fade-bottom-out {
0% {
opacity: 1;
transform: translateY(0%); }
100% {
opacity: 0;
transform: translateX(10%); } }
.commission {
width: 100%;
overflow: hidden;
position: relative;
padding: 50px 20px; }
.commission .info-wrapper {
position: relative;
width: 100%;
padding-left: 30px;
margin-bottom: 20px; }
.commission .info-wrapper .dot-radio {
position: relative;
width: 25px;
height: 25px;
border-radius: 50%;
position: absolute;
left: -14px;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
padding-right: 1px;
color: #fff;
cursor: pointer; }
.commission .info-wrapper .dot-radio .delete-icon {
position: absolute;
color: #000;
top: -12px;
right: -12px; }
.commission .info-wrapper .dot-radio .showBtns {
display: none;
position: absolute;
height: 40px;
background: #333;
color: #fff;
line-height: 40px;
text-align: center;
border-radius: 30px;
top: 15x;
width: 168px;
z-index: 111;
left: 21px;
top: -38px; }
.commission .info-wrapper .dot-radio .showBtns .addToBottom {
display: flex;
flex-direction: column-reverse;
padding-top: 8px; }
.commission .info-wrapper .dot-radio .showBtns .addToBottom .chevron-down {
position: relative;
top: -5px; }
.commission .info-wrapper .dot-radio .showBtns .addToRight {
display: flex; }
.commission .info-wrapper .dot-radio .showBtns .addToRight .chevron-right {
position: relative;
left: -1px; }
.commission .info-wrapper .dot-radio .showBtns::before {
position: absolute;
content: '';
left: 2px;
z-index: 1;
top: 29px;
transform: rotate(14deg);
width: 0px;
height: 0px;
border-left: #333 solid 15px;
border-top: transparent solid 7px;
border-right: transparent solid 7px;
border-bottom: transparent solid 10px; }
.commission .info-wrapper .dot-radio:hover .showBtns {
display: block;
display: flex;
align-items: center;
justify-content: space-evenly; }
.commission .info-wrapper .dot-radio::after {
content: '';
position: absolute;
top: -16px;
left: -10px;
width: 76px;
height: 52px;
background: transparent;
cursor: pointer; }
.commission .info-wrapper .bottom {
position: absolute;
bottom: 0px ;
left: -16px ; }
.commission .info-wrapper .info {
position: relative;
top: -5px;
min-height: 130px; }
.commission .info-wrapper .info .title {
font-size: 23px; }
.commission .info-wrapper .info .content {
font-size: 16px; }
.lengLine {
position: relative;
top: 0px;
height: 80px; }
.commission-primary .info-wrapper {
border-left: #0d6efd 4px solid; }
.commission-primary .info-wrapper .dot-radio {
background-color: #0d6efd; }
.commission-primary .info-wrapper .lengLine {
border-left: #0d6efd 4px solid; }
.commission-primary .lengLine {
border-left: #0d6efd 4px solid; }
.commission-warning .info-wrapper {
border-left: #fadb14 4px solid; }
.commission-warning .info-wrapper .dot-radio {
background-color: #fadb14; }
.commission-warning .lengLine {
border-left: #fadb14 4px solid; }
.commission-danger .info-wrapper {
border-left: #dc3545 4px solid; }
.commission-danger .info-wrapper .dot-radio {
background-color: #dc3545; }
.commission-danger .lengLine {
border-left: #dc3545 4px solid; }
.commission-info .info-wrapper {
border-left: #17a2b8 4px solid; }
.commission-info .info-wrapper .dot-radio {
background-color: #17a2b8; }
.commission-info .lengLine {
border-left: #17a2b8 4px solid; }
.rock-auto-complete {
position: relative; }
.rock-suggestion-list {
list-style: none;
padding-left: 0;
white-space: nowrap;
position: absolute;
background: #fff;
z-index: 100;
top: calc(100% + 8px);
left: 0;
border: 1px solid #dee2e6;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 0 6px 0 rgba(0, 0, 0, 0.04);
width: 100%; }
.rock-suggestion-list .suggstions-loading-icon {
display: flex;
align-items: center;
justify-content: center;
min-height: 75px; }
.rock-suggestion-list .suggestion-item {
padding: 0.5rem 1rem;
cursor: pointer;
transition: color 0.15s ease-in-out, border-color 0.15s ease-in-out;
color: #212529; }
.rock-suggestion-list .suggestion-item.is-active {
background: #0d6efd ;
color: #fff ; }
.rock-suggestion-list .suggestion-item:hover {
color: #0d6efd ; }
.rock-upload-list {
margin: 0;
padding: 0;
list-style-type: none; }
.rock-uploader-dragger {
background: #f8f9fa;
border: 1px dashed #dee2e6;
border-radius: 4px;
cursor: pointer;
padding: 20px;
width: 360px;
height: 180px;
text-align: center; }
.rock-uploader-dragger:hover {
border: 1px dashed #0d6efd; }
.rock-uploader-dragger.is-dragover {
border: 2px dashed #0d6efd;
background: rgba(13, 110, 253, 0.2); }
.rock-upload-list-item {
transition: all 0.5s cubic-bezier(0.55, 0, 0.1, 1);
font-size: 14px;
line-height: 1.8;
margin-top: 5px;
box-sizing: border-box;
border-radius: 4px;
min-width: 200px;
position: relative; }
.rock-upload-list-item:first-child {
margin-top: 10px; }
.rock-upload-list-item .file-name {
margin-left: 5px;
margin-right: 40px; }
.rock-upload-list-item .file-name svg {
margin-right: 5px;
color: #adb5bd; }
.rock-upload-list-item .file-name-error {
color: #dc3545; }
.rock-upload-list-item .file-name-error svg {
color: #dc3545; }
.rock-upload-list-item .file-status {
display: block;
position: absolute;
right: 5px;
top: 0;
line-height: inherit; }
.rock-upload-list-item .file-actions {
display: none;
position: absolute;
right: 7px;
top: 0;
line-height: inherit;
cursor: pointer; }
.rock-upload-list-item:hover {
background-color: #e9ecef; }
.rock-upload-list-item:hover .file-status {
display: none; }
.rock-upload-list-item:hover .file-actions {
display: block; }
.rock-progress-bar {
width: 100%;
box-sizing: border-box; }
.rock-progress-bar .rock-progress-bar-outer {
border-radius: 0.25rem;
background-color: #e9ecef;
overflow: hidden;
position: relative; }
.rock-progress-bar-inner {
position: absolute;
left: 0;
top: 0;
display: flex;
justify-content: flex-end;
align-items: center;
height: 100%;
border-radius: 0.25rem;
line-height: 1;
transition: width 0.6s ease; }
.rock-progress-bar-inner .inner-text {
color: #fff;
font-size: 0.75rem;
margin: 0 5px; }
.color-primary {
background-color: #0d6efd; }
.color-secondary {
background-color: #6c757d; }
.color-success {
background-color: #b7eb8f; }
.color-info {
background-color: #17a2b8; }
.color-warning {
background-color: #fadb14; }
.color-danger {
background-color: #dc3545; }
.color-light {
background-color: #f8f9fa; }
.color-dark {
background-color: #343a40; }
.mask-li-style {
/* 禁止文字被鼠标选中 */
-moz-user-select: -moz-none;
-moz-user-select: none;
-o-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none; }
.mask-li-style.chooseSty {
/* 设置选中的样式 */
opacity: 0.3;
border: 1px dashed #999; }
.show_mask {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-color: rgba(0, 0, 0, 0.3);
cursor: move;
z-index: 1; }
.box {
width: 100px;
height: 100px;
background-color: #ff0;
position: absolute; }
.move-right {
cursor: ew-resize;
position: absolute;
background-color: #eae2e2;
height: 100px;
top: 0;
width: 20px;
font-size: 25px;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
right: -20px; }
.move-bottom {
cursor: ns-resize;
position: absolute;
background-color: #eae2e2;
font-size: 25px;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
height: 20px;
bottom: -20px; }
.move-right-bottom {
position: absolute;
width: 20px;
height: 20px;
cursor: nwse-resize;
background-color: #eae2e2;
color: #fff;
bottom: -20px;
right: -20px; }