You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

157 lines
2.6 KiB

  1. .admin-wrapper {
  2. display: flex;
  3. justify-content: center;
  4. height: 100%;
  5. .sidebar-wrapper {
  6. flex: 1;
  7. height: 100%;
  8. background: $color1;
  9. display: flex;
  10. justify-content: flex-end;
  11. }
  12. .sidebar {
  13. width: 240px;
  14. height: 100%;
  15. padding: 20px 0;
  16. .logo {
  17. display: block;
  18. margin: 40px auto;
  19. width: 100px;
  20. height: 100px;
  21. }
  22. ul {
  23. list-style: none;
  24. border-radius: 4px 0 0 4px;
  25. overflow: hidden;
  26. a {
  27. display: block;
  28. padding: 15px 25px;
  29. color: rgba($color5, 0.7);
  30. text-decoration: none;
  31. transition: all 200ms linear;
  32. border-radius: 4px 0 0 4px;
  33. i.fa {
  34. margin-right: 5px;
  35. }
  36. &:hover {
  37. color: $color5;
  38. background-color: darken($color1, 5%);
  39. transition: all 100ms linear;
  40. }
  41. &.selected {
  42. background: darken($color1, 2%);
  43. border-radius: 4px 0 0 0;
  44. }
  45. }
  46. ul {
  47. background: darken($color1, 4%);
  48. border-radius: 0 0 0 4px;
  49. a {
  50. border: 0;
  51. &.selected {
  52. color: $color5;
  53. background-color: $color4;
  54. border-bottom: 0;
  55. border-radius: 0;
  56. &:hover {
  57. background-color: lighten($color4, 5%);
  58. }
  59. }
  60. }
  61. }
  62. }
  63. }
  64. .content-wrapper {
  65. flex: 2;
  66. }
  67. .content {
  68. max-width: 700px;
  69. padding: 20px 15px;
  70. padding-top: 60px;
  71. padding-left: 25px;
  72. h2 {
  73. color: $color2;
  74. font-size: 24px;
  75. line-height: 28px;
  76. font-weight: 400;
  77. margin-bottom: 40px;
  78. }
  79. p {
  80. font-size: 14px;
  81. line-height: 18px;
  82. color: $color2;
  83. margin-bottom: 20px;
  84. strong {
  85. color: $color5;
  86. font-weight: 500;
  87. }
  88. }
  89. }
  90. .simple_form {
  91. max-width: 400px;
  92. }
  93. }
  94. .filters {
  95. display: flex;
  96. margin-bottom: 20px;
  97. .filter-subset {
  98. flex: 0 0 auto;
  99. margin-right: 40px;
  100. ul {
  101. margin-top: 5px;
  102. list-style: none;
  103. li {
  104. display: inline-block;
  105. margin-right: 5px;
  106. }
  107. }
  108. strong {
  109. font-weight: 500;
  110. text-transform: uppercase;
  111. font-size: 12px;
  112. }
  113. a {
  114. display: inline-block;
  115. color: rgba($color5, 0.7);
  116. text-decoration: none;
  117. text-transform: uppercase;
  118. font-size: 12px;
  119. font-weight: 500;
  120. border-bottom: 2px solid $color1;
  121. &:hover {
  122. color: $color5;
  123. border-bottom: 2px solid lighten($color1, 5%);
  124. }
  125. &.selected {
  126. color: $color4;
  127. border-bottom: 2px solid $color4;
  128. }
  129. }
  130. }
  131. }