island.scss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  1. @import '../variables';
  2. @import '../override-bootstrap-variables';
  3. $color-themelight: rgba(183, 226, 219, 1);
  4. $color-primary: #97cbc3;
  5. $color-navbar: #0c2a44;
  6. $color-global: #3c6d72;
  7. $color-link-global: $color-global;
  8. $color-inline-code: #8f5313;
  9. $color-link-wiki: $color-global;
  10. $color-link-wiki-hover: rgba($color-global, 0.8);
  11. $bgcolor-inline-code: darken($color-themelight, 3%);
  12. $dark: darken($color-global, 5%);
  13. html[light],
  14. html[dark] {
  15. // Background colors
  16. $bgcolor-card: #f5f5f5;
  17. $bgcolor-global: lighten($color-themelight, 10%);
  18. $bgcolor-inline-code: #f0f0f0; //optional
  19. // Font colors
  20. $color-reversal: #eeeeee;
  21. $color-link: lighten($color-global, 20%);
  22. $color-link-hover: lighten($color-link, 20%);
  23. $color-link-nabvar: $color-reversal;
  24. $color-inline-code: #c7254e; // optional
  25. // List Group colors
  26. $color-list: $color-global;
  27. $bgcolor-list: lighten($color-themelight, 10%);
  28. $color-list-active: $color-reversal;
  29. $bgcolor-list-active: $color-primary;
  30. $color-list-hover: $color-reversal;
  31. // Navbar
  32. $bgcolor-navbar: #302e2e;
  33. $bgcolor-search-top-dropdown: $primary;
  34. $border-image-navbar: linear-gradient(to right, #5ce4ef 0%, #5953eb 100%);
  35. // Logo colors
  36. $bgcolor-logo: $color-navbar;
  37. $fillcolor-logo-mark: lighten(desaturate($bgcolor-inline-code, 10%), 15%);
  38. // Sidebar
  39. $bgcolor-sidebar: #0d3955;
  40. $bgcolor-sidebar-nav-item-active: rgba(#000000, 0.37);
  41. // $bgcolor-sidebar-nav-item-active: rgba(#969494, 0.3); // optional
  42. $text-shadow-sidebar-nav-item-active: 0px 0px 10px #0099ff; // optional
  43. // Sidebar resize button
  44. $color-resize-button: white;
  45. $bgcolor-resize-button: $primary;
  46. $color-resize-button-hover: white;
  47. $bgcolor-resize-button-hover: darken($bgcolor-resize-button, 5%);
  48. // Sidebar contents
  49. $bgcolor-sidebar-context: #e2f3f1;
  50. $color-sidebar-context: $color-global;
  51. // Sidebar list group
  52. $bgcolor-sidebar-list-group: #eff8f7; // optional
  53. // Icon colors
  54. $color-editor-icons: $color-global;
  55. // Border colors
  56. $border-color-theme: #ccc;
  57. $bordercolor-inline-code: #ccc8c8; // optional
  58. // Dropdown colors
  59. $bgcolor-dropdown-link-active: $growi-blue;
  60. $color-dropdown-link-active: $color-reversal;
  61. $color-dropdown-link-hover: $color-global;
  62. // admin theme box
  63. $color-theme-color-box: lighten($primary, 20%);
  64. // alert
  65. $color-alert: $color-reversal;
  66. // badge
  67. $color-badge: $color-reversal;
  68. @import 'apply-colors';
  69. @import 'apply-colors-light';
  70. .wiki {
  71. .highlighted {
  72. background-color: lighten($color-primary, 20%);
  73. }
  74. }
  75. .nav-tabs,
  76. .nav-tabs .nav-link.active,
  77. .nav-link {
  78. background: none;
  79. border-color: $color-primary;
  80. border-bottom-color: $color-primary;
  81. }
  82. .card,
  83. .card-header {
  84. background: none;
  85. border: none;
  86. }
  87. .panel {
  88. &,
  89. &.panel-white,
  90. &.panel-default {
  91. color: $color-primary;
  92. background-color: lighten($color-primary, 30%);
  93. border-color: white;
  94. .panel-heading {
  95. color: $color-primary;
  96. background-color: white;
  97. }
  98. ul {
  99. li {
  100. a {
  101. color: darken($color-primary, 15%);
  102. }
  103. }
  104. }
  105. }
  106. }
  107. /* GROWI page list */
  108. .page-list {
  109. .page-list-ul {
  110. > li {
  111. > a strong {
  112. color: $color-link-global;
  113. }
  114. }
  115. }
  116. }
  117. .rbt-menu {
  118. background: lighten($color-themelight, 5%);
  119. }
  120. #wrapper > #page-wrapper,
  121. .page-editor-preview-container {
  122. background-image: url('/images/themes/island/island.png');
  123. background-attachment: fixed;
  124. }
  125. /* Table */
  126. .table > thead > tr > th,
  127. .table > tbody > tr > th,
  128. .table > tfoot > tr > th,
  129. .table > thead > tr > td,
  130. .table > tbody > tr > td,
  131. .table > tfoot > tr > td,
  132. .table > thead > tr > th,
  133. .table-bordered {
  134. border-top: 1px solid $color-primary;
  135. }
  136. .table-bordered > thead > tr > th,
  137. .table-bordered > tbody > tr > th,
  138. .table-bordered > tfoot > tr > th,
  139. .table-bordered > thead > tr > td,
  140. .table-bordered > tbody > tr > td,
  141. .table-bordered > tfoot > tr > td {
  142. border: 1px solid $color-primary;
  143. }
  144. .table > thead > tr > th {
  145. border-bottom: 1px solid $color-primary;
  146. }
  147. .table-bordered {
  148. border: 1px solid $color-primary;
  149. }
  150. // login page
  151. .nologin {
  152. &.login-page {
  153. > #wrapper > #page-wrapper {
  154. background-image: unset;
  155. }
  156. }
  157. }
  158. }