Browse Source

更新樣式

pull/39/head
Yuwei Ba 10 years ago
parent
commit
fd5a8698c6
  1. 352
      style/components/pagination.less

352
style/components/pagination.less

@ -2,6 +2,7 @@
.@{prefixClass} { .@{prefixClass} {
user-select: none;
font-size: 12px; font-size: 12px;
font-family: 'Arial'; font-family: 'Arial';
@ -120,7 +121,7 @@
margin-left: 15px; margin-left: 15px;
.size-changer { .size-changer {
float: left; float: left;
width: 70px; width: 90px;
} }
.quick-jumper { .quick-jumper {
@ -148,352 +149,3 @@
} }
} }
.rc-select {
box-sizing: border-box;
display: inline-block;
margin: 0;
position: relative;
vertical-align: middle;
color: #666;
}
.rc-select ul,
.rc-select li {
margin: 0;
padding: 0;
list-style: none;
}
.rc-select > ul > li > a {
padding: 0;
background-color: #fff;
}
.rc-select-arrow {
height: 26px;
position: absolute;
top: 1px;
right: 1px;
width: 20px;
}
.rc-select-arrow b {
border-color: #999999 transparent transparent transparent;
border-style: solid;
border-width: 5px 4px 0 4px;
height: 0;
width: 0;
margin-left: -4px;
margin-top: -2px;
position: absolute;
top: 50%;
left: 50%;
}
.rc-select-selection {
outline: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-user-select: none;
box-sizing: border-box;
display: block;
background-color: #fff;
border-radius: 6px;
border: 1px solid #d9d9d9;
}
.rc-select-selection:hover {
border-color: #23c0fa;
box-shadow: 0 0 2px rgba(45, 183, 245, 0.8);
}
.rc-select-selection:active {
border-color: #2db7f5;
}
.rc-select-disabled {
color: #ccc;
cursor: not-allowed;
pointer-events: none;
}
.rc-select-disabled .rc-select-selection:hover,
.rc-select-disabled .rc-select-selection:active {
border-color: #d9d9d9;
}
.rc-select-selection--single {
height: 28px;
cursor: pointer;
}
.rc-select-selection--single .rc-select-selection__rendered {
display: block;
overflow: hidden;
text-overflow: ellipsis;
padding-left: 10px;
padding-right: 20px;
line-height: 28px;
}
.rc-select-selection--single .rc-select-selection__clear {
cursor: pointer;
float: right;
font-weight: bold;
}
.rc-select-disabled .rc-select-selection__choice__remove {
color: #ccc;
cursor: default;
}
.rc-select-disabled .rc-select-selection__choice__remove:hover {
color: #ccc;
}
.rc-select-search--inline {
float: left;
width: 100%;
}
.rc-select-search--inline .rc-select-search__field {
border: none;
font-size: 100%;
background: transparent;
outline: 0;
width: 100%;
}
.rc-select-search--inline > i {
float: right;
}
.rc-select-selection--multiple {
min-height: 28px;
cursor: text;
}
.rc-select-selection--multiple .rc-select-search--inline {
width: auto;
}
.rc-select-selection--multiple .rc-select-search--inline .rc-select-search__field {
width: 0.75em;
}
.rc-select-selection--multiple .rc-select-selection__rendered {
overflow: hidden;
text-overflow: ellipsis;
padding-left: 8px;
padding-bottom: 2px;
}
.rc-select-selection--multiple .rc-select-selection__clear {
cursor: pointer;
float: right;
font-weight: bold;
margin-top: 5px;
margin-right: 10px;
}
.rc-select-selection--multiple > ul > li {
margin-top: 4px;
height: 20px;
line-height: 20px;
}
.rc-select-selection--multiple .rc-select-selection__choice {
background-color: #f3f3f3;
border-radius: 4px;
cursor: default;
float: left;
padding: 0 8px;
margin-right: 4px;
}
.rc-select-selection--multiple .rc-select-selection__choice__remove {
color: #919191;
cursor: pointer;
display: inline-block;
font-weight: bold;
padding: 0 0 0 8px;
}
.rc-select-selection--multiple .rc-select-selection__choice__remove:before {
content: '×';
}
.rc-select-selection--multiple .rc-select-selection__choice__remove:hover {
color: #333;
}
.rc-select-dropdown {
display: none;
background-color: white;
border: 1px solid #d9d9d9;
box-shadow: 0 0px 4px #d9d9d9;
border-radius: 4px;
box-sizing: border-box;
width: 100%;
z-index: 100;
position: absolute;
top: 100%;
margin-top: 4px;
outline: none;
}
.rc-select-dropdown .rc-select-menu-item[aria-selected=true] {
background-color: #ddd;
}
.rc-select-dropdown-slide-up-enter {
-webkit-animation-duration: 0.3s;
animation-duration: 0.3s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-transform-origin: 0 0;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
display: block !important;
opacity: 0;
-webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);
-webkit-animation-play-state: paused;
animation-play-state: paused;
}
.rc-select-dropdown-slide-up-leave {
-webkit-animation-duration: 0.3s;
animation-duration: 0.3s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-transform-origin: 0 0;
-ms-transform-origin: 0 0;
transform-origin: 0 0;
display: block !important;
opacity: 1;
-webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);
-webkit-animation-play-state: paused;
animation-play-state: paused;
}
.rc-select-dropdown-slide-up-enter.rc-select-dropdown-slide-up-enter-active {
-webkit-animation-name: rcDropdownSlideUpIn;
animation-name: rcDropdownSlideUpIn;
-webkit-animation-play-state: running;
animation-play-state: running;
}
.rc-select-dropdown-slide-up-leave.rc-select-dropdown-slide-up-leave-active {
-webkit-animation-name: rcDropdownSlideUpOut;
animation-name: rcDropdownSlideUpOut;
-webkit-animation-play-state: running;
animation-play-state: running;
}
@-webkit-keyframes rcDropdownSlideUpIn {
0% {
opacity: 0;
-webkit-transform-origin: 0% 0%;
transform-origin: 0% 0%;
-webkit-transform: scaleY(0);
transform: scaleY(0);
}
100% {
opacity: 1;
-webkit-transform-origin: 0% 0%;
transform-origin: 0% 0%;
-webkit-transform: scaleY(1);
transform: scaleY(1);
}
}
@keyframes rcDropdownSlideUpIn {
0% {
opacity: 0;
-webkit-transform-origin: 0% 0%;
transform-origin: 0% 0%;
-webkit-transform: scaleY(0);
transform: scaleY(0);
}
100% {
opacity: 1;
-webkit-transform-origin: 0% 0%;
transform-origin: 0% 0%;
-webkit-transform: scaleY(1);
transform: scaleY(1);
}
}
@-webkit-keyframes rcDropdownSlideUpOut {
0% {
opacity: 1;
-webkit-transform-origin: 0% 0%;
transform-origin: 0% 0%;
-webkit-transform: scaleY(1);
transform: scaleY(1);
}
100% {
opacity: 0;
-webkit-transform-origin: 0% 0%;
transform-origin: 0% 0%;
-webkit-transform: scaleY(0);
transform: scaleY(0);
}
}
@keyframes rcDropdownSlideUpOut {
0% {
opacity: 1;
-webkit-transform-origin: 0% 0%;
transform-origin: 0% 0%;
-webkit-transform: scaleY(1);
transform: scaleY(1);
}
100% {
opacity: 0;
-webkit-transform-origin: 0% 0%;
transform-origin: 0% 0%;
-webkit-transform: scaleY(0);
transform: scaleY(0);
}
}
.rc-select-search--dropdown {
display: block;
padding: 4px;
}
.rc-select-search--dropdown .rc-select-search__field {
padding: 4px;
width: 100%;
box-sizing: border-box;
border: 1px solid #d9d9d9;
border-radius: 4px;
outline: none;
}
.rc-select-search--dropdown.rc-select-search--hide {
display: none;
}
.rc-select-open .rc-select-arrow b {
border-color: transparent transparent #888 transparent;
border-width: 0 4px 5px 4px;
}
.rc-select-open .rc-select-dropdown {
display: block;
}
.rc-select-menu {
outline: none;
margin-bottom: 0;
padding-left: 0;
list-style: none;
z-index: 9999;
}
.rc-select-menu-item-group-list {
margin: 0;
padding: 0;
}
.rc-select-menu-item-group-list > li.rc-select-menu-item {
padding-left: 20px;
}
.rc-select-menu-item-group-title {
color: #999;
line-height: 1.5;
padding: 8px 10px;
border-bottom: 1px solid #dedede;
}
li.rc-select-menu-item {
margin: 0;
position: relative;
display: block;
padding: 7px 10px;
font-weight: normal;
color: #666666;
white-space: nowrap;
}
li.rc-select-menu-item:hover,
li.rc-select-menu-item-active,
li.rc-select-menu-item-selected {
background-color: rgba(142, 200, 249, 0.1) !important;
}
li.rc-select-menu-item-disabled {
color: #ccc;
cursor: not-allowed;
pointer-events: none;
}
li.rc-select-menu-item-disabled:hover {
color: #ccc;
background-color: #fff;
cursor: not-allowed;
}
li.rc-select-menu-item-divider {
height: 1px;
margin: 1px 0;
overflow: hidden;
background-color: #e5e5e5;
line-height: 0;
}

Loading…
Cancel
Save