| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- #app {
- width: 100%;
- height: 100%;
- }
- // =================================
- // ==============scrollbar==========
- // =================================
- ::-webkit-scrollbar {
- width: 7px;
- height: 8px;
- }
- // ::-webkit-scrollbar-track {
- // background: transparent;
- // }
- ::-webkit-scrollbar-track {
- background-color: rgba(0, 0, 0, 0.05);
- }
- ::-webkit-scrollbar-thumb {
- // background: rgba(0, 0, 0, 0.6);
- background-color: rgba(144, 147, 153, 0.3);
- // background-color: rgba(144, 147, 153, 0.3);
- border-radius: 2px;
- box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
- }
- ::-webkit-scrollbar-thumb:hover {
- background-color: @border-color-dark;
- }
- [data-theme='dark'] {
- ::-webkit-scrollbar-thumb:hover {
- background-color: #5e6063;
- }
- }
- // =================================
- // ==============nprogress==========
- // =================================
- #nprogress {
- pointer-events: none;
- .bar {
- position: fixed;
- top: 0;
- left: 0;
- z-index: 99999;
- width: 100%;
- height: 2px;
- background-color: @primary-color;
- opacity: 0.75;
- }
- }
- // =======================================
- // ============ [sjl] 按钮组样式 ==========
- // =======================================
- .j-table-operator {
- // Button按钮间距
- .ant-btn {
- margin: 0 8px 8px 0;
- transition: margin 0s;
- }
- & > .ant-btn:last-of-type {
- margin: 0 0 8px 0;
- }
- .ant-btn-group,
- &.ant-btn-group {
- .ant-btn {
- margin: 0;
- transition: margin 0s;
- }
- & > .ant-btn:last-of-type {
- margin: 0 8px 8px 0;
- }
- }
- }
- // ========================================
- // ============ [sjl] 底部按钮样式 ==========
- // ========================================
- .j-box-bottom-button {
- height: 28px;
- &-float {
- position: absolute;
- left: 0;
- right: 0;
- bottom: 0;
- border-top: 1px solid #e8e8e8;
- padding: 10px 16px;
- text-align: right;
- background: #fff;
- border-radius: 0 0 2px 2px;
- & .ant-btn {
- margin-left: 8px;
- }
- }
- &.offset-20 &-float {
- left: -20px;
- right: -20px;
- bottom: -20px;
- }
- }
- .common-page-tabs {
- padding: 0 12px 6px 12px;
- margin: 16px;
- border: 1px solid @border-color-base;
- border-radius: 4px;
- }
- .action-btn {
- cursor: pointer;
- border: none;
- // background: transparent;
- padding: 4px;
- margin-right: 10px;
- &:hover {
- color: @primary-color;
- }
- &:last-child {
- margin-right: 0;
- }
- .action-text {
- color: lighten(@primary-color, 10%);
- &:hover {
- color: @primary-color;
- }
- }
- .action-icon {
- width: 16px;
- height: 16px;
- }
- }
|