index.less 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. .app-auth-component {
  2. display : flex;
  3. flex-direction: column;
  4. height : 100%;
  5. overflow : hidden;
  6. &.top {
  7. >.auth-navbar {
  8. background-color: #181e22;
  9. border-bottom : 1px solid #3a87f7;
  10. padding : 2px;
  11. padding-bottom : 0;
  12. .tabs {
  13. display: flex;
  14. &-item {
  15. height : 32px;
  16. line-height : 32px;
  17. min-width : 120px;
  18. color : #88a0ae;
  19. text-align : center;
  20. cursor : pointer;
  21. border-radius: 5px 5px 0px 0px;
  22. background : linear-gradient(0deg, #262e35 0%, #283139 100%);
  23. padding : 0 12px;
  24. &:not(:first-child) {
  25. margin-left: 3px;
  26. }
  27. &.is-active {
  28. color : #fff;
  29. background: linear-gradient(0deg, #26487c 0%, #29538c 100%);
  30. }
  31. }
  32. }
  33. }
  34. }
  35. &.bottom {
  36. flex-flow: column-reverse;
  37. >.auth-navbar {
  38. padding: 2px;
  39. .tabs {
  40. display: flex;
  41. &-item {
  42. height : 26px;
  43. line-height: 26px;
  44. min-width : 120px;
  45. color : #88a0ae;
  46. text-align : center;
  47. cursor : pointer;
  48. background : linear-gradient(0deg, #262e35 0%, #283139 100%);
  49. padding : 0 12px;
  50. &:not(:first-child) {
  51. margin-left: 3px;
  52. }
  53. &.is-active {
  54. color : #fff;
  55. background: linear-gradient(0deg, #26487c 0%, #29538c 100%);
  56. }
  57. }
  58. }
  59. }
  60. }
  61. &.left {
  62. flex-direction: row;
  63. }
  64. &.right {
  65. flex-direction : row;
  66. flex-flow : row-reverse;
  67. justify-content: left;
  68. }
  69. .auth-navbar {
  70. display : flex;
  71. align-items : center;
  72. justify-content: space-between;
  73. }
  74. .auth-container {
  75. flex : 1;
  76. overflow-y: auto;
  77. }
  78. }