index.less 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935
  1. @import "./base.less";
  2. //主题样式
  3. //=================
  4. .el-menu--vertical.rr-sidebar-menu-pop-light,
  5. .el-menu--vertical.rr-sidebar-menu-pop-dark {
  6. border-radius: 4px !important;
  7. box-shadow: none !important;
  8. .el-menu.el-menu--popup {
  9. min-width: 160px;
  10. border-radius: 4px !important;
  11. }
  12. .el-menu-item,
  13. .el-sub-menu__title {
  14. height: 45px;
  15. line-height: 45px;
  16. }
  17. .is-active {
  18. &.el-menu-item {
  19. border: 0 !important;
  20. }
  21. }
  22. }
  23. //深色侧边栏
  24. .ui-sidebar-dark .rr-sidebar,
  25. .rr-sidebar-menu-pop-dark {
  26. background: @dark-bg !important;
  27. box-shadow: 0 4px 4px rgba(0, 21, 41, 0.35);
  28. .el-menu {
  29. background: @dark-bg !important;
  30. .el-menu-item,
  31. .el-sub-menu__title {
  32. &:hover {
  33. i,
  34. a {
  35. color: @dark-text-active !important;
  36. }
  37. }
  38. i,
  39. a {
  40. color: @dark-text !important;
  41. }
  42. &:not(.is-active):hover {
  43. background: inherit !important;
  44. }
  45. }
  46. .is-active {
  47. &.el-menu-item {
  48. border-right: none !important;
  49. background: @dark-bg-active !important;
  50. }
  51. &.el-menu-item,
  52. > .el-sub-menu__title:first-child {
  53. i,
  54. a {
  55. color: @dark-text-active !important;
  56. }
  57. }
  58. }
  59. }
  60. }
  61. //浅色侧边栏
  62. .ui-sidebar-light .rr-sidebar,
  63. .rr-sidebar-menu-pop-light {
  64. background: @light-bg !important;
  65. box-shadow: 0 4px 4px rgba(0, 21, 41, 0.25);
  66. .el-menu {
  67. background: @light-bg !important;
  68. .el-menu-item,
  69. .el-sub-menu__title {
  70. &:hover {
  71. i,
  72. a {
  73. color: @light-text-active !important;
  74. }
  75. }
  76. i,
  77. a {
  78. color: @light-text !important;
  79. }
  80. &:not(.is-active):hover {
  81. background: inherit !important;
  82. }
  83. }
  84. .is-active {
  85. &.el-menu-item {
  86. border-right: 2px solid @light-text-active !important;
  87. background: @light-bg-active !important;
  88. }
  89. &.el-menu-item,
  90. > .el-sub-menu__title:first-child {
  91. i,
  92. a {
  93. color: @light-text-active !important;
  94. }
  95. }
  96. }
  97. }
  98. }
  99. //================================
  100. .el-menu--horizontal.rr-sidebar-menu-pop-light,
  101. .el-menu--horizontal.rr-sidebar-menu-pop-dark {
  102. border-radius: 4px !important;
  103. box-shadow: none !important;
  104. background-color: @light-bg !important;
  105. border: none !important;
  106. margin-top: -5px;
  107. margin-left: 0;
  108. .el-popper {
  109. border: 0 !important;
  110. }
  111. .el-menu--horizontal {
  112. margin-left: -5px;
  113. }
  114. .el-menu.el-menu--popup {
  115. min-width: 160px;
  116. box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2) !important;
  117. }
  118. .el-menu-item,
  119. .el-sub-menu__title {
  120. height: 45px;
  121. line-height: 45px;
  122. }
  123. .is-active {
  124. &.el-menu-item {
  125. border: 0 !important;
  126. }
  127. }
  128. }
  129. //浅色顶栏
  130. .ui-topHeader-light {
  131. .rr-header-ctx {
  132. box-shadow: 0 1px 1px #f1f1f1;
  133. &-logo {
  134. background: @light-bg !important;
  135. color: #000000bf;
  136. }
  137. }
  138. &.ui-sidebar-dark {
  139. .rr-header-ctx {
  140. box-shadow: 0 1px 3px rgb(0 0 0 / 8%);
  141. }
  142. }
  143. .rr-header-right {
  144. background: @light-bg !important;
  145. .rr-header-right-items {
  146. * {
  147. color: @light-text !important;
  148. }
  149. > div {
  150. &:hover {
  151. color: #262626 !important;
  152. background: rgba(0, 0, 0, 0.1) !important;
  153. }
  154. }
  155. .el-badge__content {
  156. color: #fff !important;
  157. }
  158. }
  159. .rr-sidebar-menu {
  160. &.el-menu {
  161. background: @light-bg !important;
  162. .el-menu-item,
  163. .el-sub-menu__title {
  164. &:hover {
  165. background: rgba(0, 0, 0, 0.1) !important;
  166. i,
  167. a {
  168. color: @light-text-active !important;
  169. }
  170. }
  171. i,
  172. a {
  173. color: @light-text !important;
  174. }
  175. i:not(.el-sub-menu__icon-arrow) {
  176. width: 17px !important;
  177. height: 17px !important;
  178. margin-right: 0 !important;
  179. margin-top: -4px;
  180. line-height: 17px;
  181. }
  182. span {
  183. margin-right: 0;
  184. }
  185. }
  186. .is-active {
  187. &.el-menu-item {
  188. border-bottom: 2px solid @light-text-active !important;
  189. background: @light-bg !important;
  190. }
  191. &.el-menu-item,
  192. .el-sub-menu__title {
  193. i,
  194. a {
  195. color: @light-text-active !important;
  196. }
  197. &:hover {
  198. background: rgba(0, 0, 0, 0.1) !important;
  199. }
  200. }
  201. &.isLink {
  202. border-bottom: 0 !important;
  203. i,
  204. a {
  205. color: @light-text !important;
  206. }
  207. }
  208. }
  209. }
  210. }
  211. }
  212. }
  213. //深色顶栏
  214. .ui-topHeader-dark {
  215. .rr-header-ctx {
  216. &-logo {
  217. background: @dark-bg !important;
  218. }
  219. }
  220. .rr-header-right {
  221. background: @dark-bg !important;
  222. .rr-header-right-items {
  223. * {
  224. color: @dark-text !important;
  225. &:hover {
  226. color: @dark-text-active !important;
  227. }
  228. }
  229. .el-badge__content {
  230. color: #fff !important;
  231. }
  232. }
  233. .rr-sidebar-menu {
  234. &.el-menu {
  235. background: @dark-bg !important;
  236. .el-menu-item,
  237. .el-sub-menu__title {
  238. &:hover {
  239. background: @dark-bg !important;
  240. i,
  241. a {
  242. color: @dark-text-active !important;
  243. }
  244. }
  245. i,
  246. a {
  247. color: @dark-text !important;
  248. }
  249. &:not(.is-active):hover {
  250. background: inherit !important;
  251. }
  252. i:not(.el-sub-menu__icon-arrow) {
  253. width: 17px !important;
  254. height: 17px !important;
  255. margin-right: 0 !important;
  256. margin-top: -4px;
  257. line-height: 17px;
  258. }
  259. span {
  260. margin-right: 0;
  261. }
  262. }
  263. .is-active {
  264. &.el-menu-item {
  265. border-bottom: 2px solid @dark-text-active !important;
  266. background: @dark-bg !important;
  267. }
  268. &.el-menu-item,
  269. .el-sub-menu__title {
  270. border-bottom: 2px solid @dark-text-active !important;
  271. i,
  272. a {
  273. color: @dark-text-active !important;
  274. }
  275. }
  276. &.isLink {
  277. border-bottom: 0 !important;
  278. i,
  279. a {
  280. color: @dark-text !important;
  281. }
  282. }
  283. }
  284. }
  285. }
  286. }
  287. }
  288. //主题色
  289. .ui-topHeader-primary {
  290. .rr-header-ctx {
  291. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  292. position: relative;
  293. z-index: 102;
  294. }
  295. .rr-header-ctx-logo {
  296. background: @primary-bg !important;
  297. }
  298. .rr-header-right {
  299. background: @primary-bg !important;
  300. .rr-header-right-items,
  301. .rr-header-right-left-br {
  302. div,
  303. span,
  304. svg,
  305. i {
  306. color: @primary-text !important;
  307. &:hover {
  308. color: @primary-text-active !important;
  309. }
  310. }
  311. > div:not(.el-breadcrumb) {
  312. &:hover {
  313. color: #262626 !important;
  314. background: rgba(0, 0, 0, 0.1) !important;
  315. }
  316. }
  317. .el-badge__content {
  318. color: #fff !important;
  319. }
  320. .el-breadcrumb {
  321. .el-breadcrumb__item {
  322. &:not(:first-child) {
  323. * {
  324. color: @primary-text-2 !important;
  325. font-weight: 400 !important;
  326. }
  327. }
  328. }
  329. }
  330. }
  331. .rr-sidebar-menu {
  332. &.el-menu {
  333. background: @primary-bg !important;
  334. .el-menu-item,
  335. .el-sub-menu__title {
  336. &:hover,
  337. &:focus {
  338. background: rgba(0, 0, 0, 0.1) !important;
  339. i,
  340. a {
  341. color: @primary-text-active !important;
  342. }
  343. }
  344. i,
  345. a {
  346. color: @primary-text !important;
  347. }
  348. i:not(.el-sub-menu__icon-arrow) {
  349. width: 17px !important;
  350. height: 17px !important;
  351. margin-right: 0 !important;
  352. margin-top: -4px;
  353. line-height: 17px;
  354. }
  355. span {
  356. margin-right: 0;
  357. }
  358. }
  359. .is-active {
  360. &.el-menu-item {
  361. border-bottom: 2px solid @primary-text-active !important;
  362. }
  363. &.el-menu-item,
  364. .el-sub-menu__title {
  365. border-bottom: 2px solid @primary-text-active !important;
  366. i,
  367. a {
  368. color: @primary-text-active !important;
  369. }
  370. &:hover {
  371. background: rgba(0, 0, 0, 0.1) !important;
  372. }
  373. }
  374. &.isLink {
  375. border-bottom: 0 !important;
  376. i,
  377. a {
  378. color: @primary-text !important;
  379. }
  380. }
  381. }
  382. }
  383. }
  384. }
  385. }
  386. //=============
  387. //导航模式
  388. .ui-navLayout-left {
  389. &.ui-sidebar-light {
  390. .rr-sidebar {
  391. box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.08);
  392. z-index: 101;
  393. }
  394. }
  395. }
  396. .ui-navLayout-top {
  397. &.ui-topHeader-light {
  398. .rr-header-right {
  399. border-bottom: none !important;
  400. }
  401. }
  402. .rr-header-ctx-logo {
  403. max-width: inherit !important;
  404. &-text {
  405. max-width: inherit !important;
  406. overflow: inherit !important;
  407. }
  408. }
  409. .rr-view-tab-wrap {
  410. left: 0 !important;
  411. }
  412. }
  413. .ui-navLayout-mix {
  414. .rr-header-ctx-logo {
  415. max-width: inherit !important;
  416. &-text {
  417. max-width: inherit !important;
  418. overflow: inherit !important;
  419. }
  420. }
  421. &.ui-sidebar-light {
  422. .rr-sidebar {
  423. box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.08);
  424. z-index: 101;
  425. }
  426. }
  427. .rr-sidebar {
  428. box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.08);
  429. z-index: 101;
  430. }
  431. .rr-header-right-left-br {
  432. padding: 0 !important;
  433. }
  434. }
  435. //========
  436. //内容不铺满
  437. .ui-contentFull-false {
  438. .rr-view-ctx {
  439. width: 1200px !important;
  440. margin-left: auto;
  441. margin-right: auto;
  442. }
  443. }
  444. //=======
  445. //tab标签栏开关
  446. .ui-openTabsPage {
  447. &-false {
  448. .rr-view-ctx {
  449. margin-top: 0;
  450. }
  451. }
  452. }
  453. //=======
  454. //logo自动
  455. //导航模式在顶部时logo自动要取消
  456. .ui-logoAuto-true,
  457. .ui-navLayout-top {
  458. .rr-header-ctx-logo {
  459. width: inherit !important;
  460. padding: 0 15px 0 20px;
  461. box-shadow: none !important;
  462. }
  463. &.ui-topHeader-primary .rr-header-ctx-logo {
  464. background: @primary-bg !important;
  465. color: #ffffffd9 !important;
  466. }
  467. &.ui-topHeader-dark .rr-header-ctx-logo {
  468. background: @dark-bg !important;
  469. color: #ffffffd9 !important;
  470. }
  471. &.ui-topHeader-light .rr-header-ctx-logo {
  472. background: @light-bg !important;
  473. color: #000000bf;
  474. box-shadow: 1px 0 3px rgba(0, 0, 0, 0.08);
  475. }
  476. }
  477. //侧边栏多彩图标
  478. .ui-colorIcon-true {
  479. .rr-sidebar {
  480. .el-menu {
  481. .el-sub-menu__title,
  482. .el-menu-item,
  483. .isLink {
  484. margin-left: -5px !important;
  485. }
  486. li {
  487. [class^="el-icon"] {
  488. &:first-child {
  489. flex-shrink: 0;
  490. width: 28px;
  491. height: 28px;
  492. line-height: 28px;
  493. font-size: 14px;
  494. background-color: rgb(97, 178, 252);
  495. border-radius: 50%;
  496. text-align: center;
  497. color: rgb(255, 255, 255) !important;
  498. .iconfont {
  499. width: 14px;
  500. height: 14px;
  501. }
  502. }
  503. }
  504. &:nth-child(2n) {
  505. [class^="el-icon"] {
  506. &:first-child {
  507. background-color: rgb(125, 215, 51);
  508. }
  509. }
  510. }
  511. &:nth-child(3) {
  512. [class^="el-icon"] {
  513. &:first-child {
  514. background-color: rgb(50, 162, 212);
  515. }
  516. }
  517. }
  518. &:nth-child(4) {
  519. [class^="el-icon"] {
  520. &:first-child {
  521. background-color: rgb(115, 131, 207);
  522. }
  523. }
  524. }
  525. &:nth-child(5) {
  526. [class^="el-icon"] {
  527. &:first-child {
  528. background-color: rgb(245, 104, 111);
  529. }
  530. }
  531. }
  532. &:nth-child(6) {
  533. [class^="el-icon"] {
  534. &:first-child {
  535. background-color: rgb(43, 204, 206);
  536. }
  537. }
  538. }
  539. &:nth-child(7) {
  540. [class^="el-icon"] {
  541. &:first-child {
  542. background-color: rgb(125, 215, 51);
  543. }
  544. }
  545. }
  546. &:nth-child(8) {
  547. [class^="el-icon"] {
  548. &:first-child {
  549. background-color: rgb(250, 173, 20);
  550. }
  551. }
  552. }
  553. }
  554. //--
  555. .el-sub-menu {
  556. .el-menu {
  557. li,
  558. .el-sub-menu__title {
  559. [class^="el-icon"] {
  560. &:first-child:not(.el-sub-menu__icon-arrow) {
  561. width: 8px;
  562. height: 8px;
  563. line-height: 8px;
  564. font-size: 30px;
  565. overflow: hidden;
  566. border-radius: 50%;
  567. margin: 0 0 0 10px;
  568. background: @dark-text !important;
  569. color: @dark-text !important;
  570. &:before {
  571. content: "";
  572. margin-left: -11px;
  573. font-family: element-icons !important;
  574. }
  575. }
  576. }
  577. }
  578. }
  579. }
  580. .el-menu-item,
  581. .el-sub-menu.is-active .el-sub-menu__title {
  582. i:first-child {
  583. color: #fff !important;
  584. }
  585. }
  586. }
  587. }
  588. &.ui-sidebar-light {
  589. .rr-sidebar {
  590. .el-sub-menu .el-menu {
  591. .el-sub-menu {
  592. .el-sub-menu__title {
  593. [class^="el-icon"] {
  594. &:first-child:not(.el-sub-menu__icon-arrow) {
  595. color: @light-text !important;
  596. opacity: 0.25;
  597. }
  598. }
  599. &:hover {
  600. [class^="el-icon"] {
  601. &:first-child:not(.el-sub-menu__icon-arrow) {
  602. color: @light-text-active !important;
  603. opacity: 0.25;
  604. }
  605. }
  606. }
  607. }
  608. &.is-active .el-sub-menu__title [class^="el-icon"] {
  609. &:first-child:not(.el-sub-menu__icon-arrow) {
  610. color: @light-text-active !important;
  611. opacity: 1;
  612. }
  613. }
  614. }
  615. .el-menu-item {
  616. [class^="el-icon"] {
  617. &:first-child:not(.el-sub-menu__icon-arrow) {
  618. background: @light-text !important;
  619. color: @light-text !important;
  620. opacity: 0.25;
  621. }
  622. }
  623. &.is-active,
  624. &:hover {
  625. [class^="el-icon"] {
  626. &:first-child:not(.el-sub-menu__icon-arrow) {
  627. background: @light-text-active !important;
  628. color: @light-text-active !important;
  629. opacity: 1;
  630. }
  631. }
  632. }
  633. &:hover:not(.is-active) {
  634. [class^="el-icon"] {
  635. &:first-child:not(.el-sub-menu__icon-arrow) {
  636. opacity: 0.2;
  637. }
  638. }
  639. }
  640. }
  641. }
  642. }
  643. }
  644. &.ui-sidebar-dark {
  645. .rr-sidebar {
  646. .el-sub-menu {
  647. .el-sub-menu.is-opened {
  648. &.is-active {
  649. .el-sub-menu__title {
  650. [class^="el-icon"] {
  651. &:first-child:not(.el-sub-menu__icon-arrow) {
  652. background: @dark-text-active !important;
  653. color: @dark-text-active !important;
  654. opacity: 1;
  655. }
  656. }
  657. }
  658. }
  659. }
  660. .el-menu .el-menu-item,
  661. .el-sub-menu.is-opened .el-sub-menu__title {
  662. [class^="el-icon"] {
  663. &:first-child:not(.el-sub-menu__icon-arrow) {
  664. background: @dark-text !important;
  665. color: @dark-text !important;
  666. opacity: 0.85;
  667. }
  668. }
  669. &.is-active,
  670. &:hover {
  671. [class^="el-icon"] {
  672. &:first-child:not(.el-sub-menu__icon-arrow) {
  673. background: @dark-text-active !important;
  674. color: @dark-text-active !important;
  675. opacity: 1;
  676. }
  677. }
  678. }
  679. &:hover:not(.is-active) {
  680. [class^="el-icon"] {
  681. &:first-child:not(.el-sub-menu__icon-arrow) {
  682. opacity: 1;
  683. }
  684. }
  685. }
  686. }
  687. }
  688. }
  689. }
  690. }
  691. //侧边栏收缩状态
  692. .rr.ui-sidebarCollapse {
  693. &-true {
  694. .rr-view-tab-wrap {
  695. left: 60px;
  696. }
  697. .rr-header-ctx-logo-line {
  698. width: 0;
  699. }
  700. .enabled-logo-false {
  701. display: flex;
  702. }
  703. &.ui-logoAuto {
  704. &-false {
  705. .rr-header-ctx-logo {
  706. width: 60px !important;
  707. &-text {
  708. display: none;
  709. }
  710. }
  711. }
  712. &-true {
  713. .enabled-logo-false {
  714. display: none;
  715. }
  716. .rr-header-ctx-logo-line {
  717. width: 10px;
  718. }
  719. }
  720. }
  721. &.ui-navLayout-top {
  722. //导航模式为顶部时自动展开logo状态
  723. .rr-header-ctx-logo {
  724. width: inherit !important;
  725. padding: 0 15px 0 20px;
  726. box-shadow: none !important;
  727. &-text {
  728. display: block;
  729. }
  730. }
  731. .enabled-logo-false {
  732. display: none;
  733. }
  734. }
  735. .rr-sidebar:not(.rr-sidebar-mobile) {
  736. width: 60px !important;
  737. .el-menu {
  738. width: 60px !important;
  739. }
  740. // 收起效果
  741. .rr-sidebar-menu {
  742. .el-menu-item,
  743. .el-sub-menu__title,
  744. .el-sub-menu {
  745. a,
  746. .el-menu {
  747. display: none;
  748. }
  749. }
  750. }
  751. }
  752. }
  753. &-false {
  754. .rr-header-ctx-logo {
  755. &-text {
  756. display: block;
  757. overflow: hidden;
  758. }
  759. }
  760. }
  761. }
  762. //tabStyle
  763. .ui-tabStyle-default {
  764. .rr-view-tab {
  765. .el-tabs__item {
  766. border-right: none !important;
  767. padding: 0 15px 0 !important;
  768. &.is-active {
  769. color: @--color-primary !important;
  770. }
  771. &:before {
  772. content: none;
  773. }
  774. &:after {
  775. content: "";
  776. height: 3px;
  777. width: 0;
  778. background-color: @--color-primary !important;
  779. position: absolute;
  780. bottom: 0;
  781. left: 0;
  782. }
  783. &.is-active:after,
  784. &:hover:after {
  785. width: 100%;
  786. }
  787. }
  788. .el-tabs__nav-wrap {
  789. &:before,
  790. &:after,
  791. .el-tabs__nav-next,
  792. .el-tabs__nav-prev {
  793. height: 40px;
  794. line-height: 44px;
  795. }
  796. }
  797. }
  798. }
  799. .ui-tabStyle-dot {
  800. .rr-view-tab-wrap {
  801. .rr-view-tab {
  802. .el-tabs__item {
  803. &.is-active {
  804. color: @--color-primary !important;
  805. &:before {
  806. background-color: @--color-primary !important;
  807. }
  808. }
  809. }
  810. }
  811. }
  812. }
  813. .ui-tabStyle-card {
  814. .rr-view-tab-wrap {
  815. background: transparent !important;
  816. box-shadow: none !important;
  817. padding-top: 10px;
  818. .rr-view-tab {
  819. height: 30px;
  820. background: transparent !important;
  821. &-ops {
  822. border-radius: 4px;
  823. height: 30px;
  824. line-height: 30px;
  825. width: 30px;
  826. background-color: #fff;
  827. margin-right: 10px;
  828. .el-icon--right {
  829. margin-left: 0;
  830. }
  831. }
  832. .el-tabs__item {
  833. margin-left: 8px;
  834. padding: 0 15px 0 !important;
  835. border-radius: 4px;
  836. height: 30px;
  837. line-height: 30px;
  838. background-color: #fff;
  839. &:nth-child(2) {
  840. margin-left: 0;
  841. padding: 0 15px !important;
  842. }
  843. &.is-active {
  844. background-color: @--color-primary !important;
  845. color: #fff;
  846. }
  847. &:before {
  848. content: none;
  849. }
  850. &:after {
  851. content: none;
  852. }
  853. }
  854. .el-tabs__nav-wrap {
  855. &:before,
  856. &:after,
  857. .el-tabs__nav-next,
  858. .el-tabs__nav-prev {
  859. height: 30px;
  860. line-height: 30px;
  861. background: #eff2f5 !important;
  862. }
  863. .el-tabs__nav-next,
  864. .el-tabs__nav-prev {
  865. &:hover {
  866. background: transparent !important;
  867. }
  868. }
  869. }
  870. }
  871. }
  872. }
  873. //外链
  874. .rr-sidebar-menu.el-menu .el-menu-item.is-active.isLink {
  875. background: inherit !important;
  876. }
  877. //不同语言下的差异
  878. [lang="en-US"] {
  879. .rr-header-ctx-logo-text {
  880. letter-spacing: 0px !important;
  881. }
  882. }
  883. @media screen and (min-width: 768px) {
  884. :not(html):not(body)::-webkit-scrollbar {
  885. width: 8px;
  886. height: 8px;
  887. background: transparent;
  888. }
  889. :not(html):not(body)::-webkit-scrollbar-track {
  890. background: transparent;
  891. }
  892. :not(html):not(body)::-webkit-scrollbar-thumb {
  893. border-radius: 4px;
  894. background-color: hsla(0, 0%, 54.9%, 0.3);
  895. }
  896. :not(html):not(body)::-webkit-scrollbar-thumb:hover {
  897. background-color: hsla(0, 0%, 54.9%, 0.5);
  898. }
  899. .ele-scrollbar-mini::-webkit-scrollbar {
  900. width: 6px;
  901. height: 6px;
  902. }
  903. .ele-scrollbar-mini::-webkit-scrollbar-thumb {
  904. border-radius: 3px;
  905. }
  906. .ele-scrollbar-hide::-webkit-scrollbar {
  907. width: 0;
  908. height: 0;
  909. }
  910. }