Ohm-Management - Projektarbeit B-ME
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.

panel.sass 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. $panel-item-border: 1px solid $border !default
  2. $panel-heading-background-color: $background !default
  3. $panel-heading-color: $text-strong !default
  4. $panel-heading-line-height: 1.25 !default
  5. $panel-heading-padding: 0.5em 0.75em !default
  6. $panel-heading-radius: $radius !default
  7. $panel-heading-size: 1.25em !default
  8. $panel-heading-weight: $weight-light !default
  9. $panel-tab-border-bottom: 1px solid $border !default
  10. $panel-tab-active-border-bottom-color: $link-active-border !default
  11. $panel-tab-active-color: $link-active !default
  12. $panel-list-item-color: $text !default
  13. $panel-list-item-hover-color: $link !default
  14. $panel-block-color: $text-strong !default
  15. $panel-block-hover-background-color: $background !default
  16. $panel-block-active-border-left-color: $link !default
  17. $panel-block-active-color: $link-active !default
  18. $panel-block-active-icon-color: $link !default
  19. $panel-icon-color: $text-light !default
  20. .panel
  21. font-size: $size-normal
  22. &:not(:last-child)
  23. margin-bottom: 1.5rem
  24. .panel-heading,
  25. .panel-tabs,
  26. .panel-block
  27. border-bottom: $panel-item-border
  28. border-left: $panel-item-border
  29. border-right: $panel-item-border
  30. &:first-child
  31. border-top: $panel-item-border
  32. .panel-heading
  33. background-color: $panel-heading-background-color
  34. border-radius: $panel-heading-radius $panel-heading-radius 0 0
  35. color: $panel-heading-color
  36. font-size: $panel-heading-size
  37. font-weight: $panel-heading-weight
  38. line-height: $panel-heading-line-height
  39. padding: $panel-heading-padding
  40. .panel-tabs
  41. align-items: flex-end
  42. display: flex
  43. font-size: 0.875em
  44. justify-content: center
  45. a
  46. border-bottom: $panel-tab-border-bottom
  47. margin-bottom: -1px
  48. padding: 0.5em
  49. // Modifiers
  50. &.is-active
  51. border-bottom-color: $panel-tab-active-border-bottom-color
  52. color: $panel-tab-active-color
  53. .panel-list
  54. a
  55. color: $panel-list-item-color
  56. &:hover
  57. color: $panel-list-item-hover-color
  58. .panel-block
  59. align-items: center
  60. color: $panel-block-color
  61. display: flex
  62. justify-content: flex-start
  63. padding: 0.5em 0.75em
  64. input[type="checkbox"]
  65. margin-right: 0.75em
  66. & > .control
  67. flex-grow: 1
  68. flex-shrink: 1
  69. width: 100%
  70. &.is-wrapped
  71. flex-wrap: wrap
  72. &.is-active
  73. border-left-color: $panel-block-active-border-left-color
  74. color: $panel-block-active-color
  75. .panel-icon
  76. color: $panel-block-active-icon-color
  77. a.panel-block,
  78. label.panel-block
  79. cursor: pointer
  80. &:hover
  81. background-color: $panel-block-hover-background-color
  82. .panel-icon
  83. +fa(14px, 1em)
  84. color: $panel-icon-color
  85. margin-right: 0.75em
  86. .fa
  87. font-size: inherit
  88. line-height: inherit