main.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. $menu-item-color: hsl(0, 0%, 100%);
  2. $menu-item-hover-color: hsl(0, 0%, 0%);
  3. $menu-item-hover-background-color: hsl(0, 0%, 96%);
  4. $menu-label-color: hsl(0, 0%, 96%);
  5. @import "bulma/bulma.sass";
  6. @media (max-width: $desktop) {
  7. .hide-sm {
  8. display: none;
  9. }
  10. div#main-view {
  11. min-height: initial;
  12. }
  13. }
  14. @media (max-width: $tablet) {
  15. div#ci-menu {
  16. padding-right: 1.5rem;
  17. }
  18. }
  19. div#main-contents {
  20. padding-left: 2rem;
  21. padding-right: 2rem;
  22. }
  23. div#main-view {
  24. margin-top: 0;
  25. min-height: calc(100vh - #{$navbar-height});
  26. }
  27. div#ci-view {
  28. padding-bottom: 20rem;
  29. }
  30. div#ci-menu {
  31. background-color: hsl(0, 0%, 15%);
  32. box-shadow: -3px 0 10px 2px black;
  33. padding-left: 1.5rem;
  34. }
  35. nav {
  36. box-shadow: 0 -3px 10px 3px black;
  37. }
  38. hr.content-divider {
  39. background-color: hsl(0, 0%, 80%);
  40. margin-top: 0.1rem;
  41. height: 1px;
  42. }
  43. div.artifact-item {
  44. $artifact-item-radius: 2px;
  45. margin-bottom: 0.75rem;
  46. & > div.artifact-details {
  47. @extend .columns, .is-mobile;
  48. align-items: center;
  49. margin-top: 0;
  50. // margin-bottom: 0 !important;
  51. cursor: pointer;
  52. & > div.artifact-id {
  53. @extend .column, .is-narrow, .has-text-white-ter;
  54. background-color: hsl(204, 86%, 53%);
  55. border-top-left-radius: $artifact-item-radius;
  56. border-bottom-left-radius: $artifact-item-radius;
  57. }
  58. & > div.artifact-info {
  59. @extend .column;
  60. background-color: hsl(0, 0%, 85%);
  61. & > div.artifact-info-content {
  62. @extend .columns, .is-mobile;
  63. & > p {
  64. @extend .column, .is-size-5;
  65. }
  66. & > div.dropdown-button {
  67. @extend .column, .is-narrow;
  68. }
  69. }
  70. }
  71. &:hover {
  72. & > div.artifact-info {
  73. background-color: hsl(0, 0%, 88%);
  74. }
  75. & > div.artifact-id {
  76. background-color: hsl(204, 86%, 58%);
  77. }
  78. }
  79. }
  80. & > div.artifact-contents {
  81. @extend .columns;
  82. background-color: hsl(0, 0%, 90%);
  83. border-bottom-left-radius: $artifact-item-radius;
  84. border-bottom-right-radius: $artifact-item-radius;
  85. margin-bottom: 0 !important;
  86. & > div > h2 {
  87. @extend .is-size-4;
  88. }
  89. }
  90. }