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.
 
 
 
 
 

123 lines
3.1 KiB

  1. /**
  2. * This file provides the design styles for the admin tools
  3. */
  4. .do-admin {
  5. #admin__version {
  6. font-size: @font-size-default;
  7. }
  8. .main-content ul {
  9. > li {
  10. font-size: @font-size-default;
  11. div.li {
  12. font-size: @font-size-default;
  13. a {
  14. font-size: @font-size-default;
  15. line-height: 125%;
  16. cursor: pointer;
  17. }
  18. }
  19. }
  20. }
  21. div.ui-admin {
  22. ul.admin_tasks,
  23. ul.admin_plugins {
  24. padding: 0;
  25. li {
  26. background-size: auto 1rem;
  27. margin: 0 0 .6em 0;
  28. a {
  29. color: @ini_existing;
  30. font-weight: 400;
  31. * {
  32. color: inherit;
  33. }
  34. span.icon {
  35. width: 1.6em;
  36. min-height: 1.6em;
  37. margin-top: -.3rem;
  38. margin-bottom: .3rem;
  39. svg {
  40. width: 26px;
  41. height: 26px;
  42. border: solid 1px @ini_background;
  43. border-radius: @ini_default_border_radius;
  44. fill: @ini_existing;
  45. transition: @transition background-color, @transition border-color, @transition fill;
  46. path {
  47. fill: @ini_existing;
  48. transition: @transition fill;
  49. }
  50. }
  51. }
  52. &:hover,
  53. &:focus,
  54. &:active {
  55. span.icon {
  56. svg {
  57. background-color: @ini_existing;
  58. border-color: @ini_existing;
  59. fill: @ini_background;
  60. path {
  61. fill: @ini_background;
  62. }
  63. }
  64. }
  65. }
  66. }
  67. }
  68. }
  69. }
  70. }
  71. /* + + + + + + + + + + + + + + + + + + + + + + + + + + */
  72. /* 1024px */
  73. @media @screen_max-md {
  74. .do-admin {
  75. div.ui-admin {
  76. ul.admin_tasks {
  77. width: 50%;
  78. padding-top: 1rem;
  79. li {
  80. white-space: normal;
  81. a {
  82. .display-flex(); // for better position with line breaks (white-space)
  83. span.icon {
  84. margin-top: -.3rem;
  85. margin-bottom: .3rem;
  86. }
  87. }
  88. }
  89. }
  90. }
  91. }
  92. }
  93. /* + + + + + + + + + + + + + + + + + + + + + + + + + + */
  94. /* 768px */
  95. @media @screen_max-xs {
  96. .do-admin {
  97. div.ui-admin {
  98. ul.admin_tasks {
  99. width: auto;
  100. padding-top: 1rem;
  101. }
  102. }
  103. }
  104. }