2
0

_admin.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. .admin-page {
  2. .admin-user-menu {
  3. .dropdown-menu {
  4. left: auto;
  5. right: 0;
  6. width: 300px;
  7. }
  8. }
  9. .admin-group-menu {
  10. .dropdown-menu {
  11. left: auto;
  12. right: 0;
  13. }
  14. }
  15. .admin-customize {
  16. .ss-container img {
  17. padding: .5em;
  18. background-color: #ddd;
  19. }
  20. .table-user-list {
  21. .label-admin {
  22. margin-left: 1em;
  23. }
  24. }
  25. }
  26. .admin-security {
  27. .passport-logo {
  28. margin-top: -.5em;
  29. padding: 3px;
  30. height: 32px;
  31. background-color: black;
  32. }
  33. .auth-mechanism-configurations {
  34. min-height: 300px;
  35. }
  36. }
  37. .admin-notification {
  38. .td-abs-center {
  39. text-align: center;
  40. vertical-align: middle;
  41. width: 1px; // to keep the cell small
  42. }
  43. }
  44. .admin-importer {
  45. table.table-mapping {
  46. th, td {
  47. text-align: center;
  48. }
  49. }
  50. }
  51. // Toggle Twitter Bootstrap button class when active
  52. // https://jsfiddle.net/ms040m01/3/
  53. @mixin active-color($color, $bg-color, $border-color) {
  54. color: $color;
  55. background-color: darken($bg-color, 10%);
  56. border-color: $border-color;
  57. &:hover {
  58. background-color: darken($bg-color, 15%);
  59. }
  60. }
  61. .btn-group.btn-toggle {
  62. .btn {
  63. min-width: 60px;
  64. }
  65. .btn.active[data-active-class="default"] {
  66. @include active-color($btn-default-color, $btn-default-bg, $btn-default-border);
  67. }
  68. .btn.active[data-active-class="primary"] {
  69. @include active-color($btn-primary-color, $btn-primary-bg, $btn-primary-border);
  70. }
  71. // disabled btn-group styles
  72. &.btn-group-disabled {
  73. .btn:hover {
  74. background-color: unset;
  75. cursor: not-allowed;
  76. }
  77. }
  78. }
  79. // theme selector
  80. #themeOptions {
  81. // layout
  82. .theme-option-container {
  83. min-width: 100px;
  84. a {
  85. margin-right: 10px;
  86. margin-bottom: 10px;
  87. padding: 3px;
  88. svg {
  89. display: block;
  90. }
  91. }
  92. }
  93. &.disabled {
  94. opacity: 0.5;
  95. cursor: not-allowed;
  96. }
  97. // style
  98. .theme-option-container a {
  99. border: 1px solid #ccc;
  100. background-color: #f5f5f5;
  101. }
  102. .theme-option-name {
  103. opacity: 0.3;
  104. }
  105. // style (active)
  106. .theme-option-container.active {
  107. .theme-option-name {
  108. opacity: 1;
  109. }
  110. }
  111. }
  112. .settings-table {
  113. table-layout: fixed;
  114. .item-name {
  115. width: 150px;
  116. }
  117. td.unused {
  118. opacity: 0.5;
  119. }
  120. &.use-only-env-vars .from-env-vars {
  121. background-color: rgba($info, 0.1);
  122. }
  123. }
  124. }