header.styl 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. @import 'nib'
  2. .board-header {
  3. height: auto;
  4. overflow: hidden;
  5. padding: 10px 30px 10px 8px;
  6. position: relative;
  7. transition: padding .15s ease-in;
  8. }
  9. .board-header-btns {
  10. position: relative;
  11. display: block;
  12. }
  13. .board-header-btn {
  14. border-radius: 3px;
  15. color: #f6f6f6;
  16. cursor: default;
  17. float: left;
  18. font-size: 12px;
  19. height: 30px;
  20. line-height: 32px;
  21. margin: 2px 4px 0 0;
  22. overflow: hidden;
  23. padding-left: 30px;
  24. position: relative;
  25. text-decoration: none;
  26. }
  27. .board-header-btn:empty {
  28. display: none;
  29. }
  30. .board-header-btn-without-icon {
  31. padding-left: 8px;
  32. }
  33. .board-header-btn-icon {
  34. background-clip: content-box;
  35. background-origin: content-box;
  36. color: #f6f6f6 !important;
  37. padding: 6px;
  38. position: absolute;
  39. top: 0;
  40. left: 0;
  41. }
  42. .board-header-btn-text {
  43. padding-right: 8px;
  44. }
  45. .board-header-btn:not(.no-edit) .text {
  46. text-decoration: underline;
  47. }
  48. .board-header-btn:not(.no-edit):hover {
  49. background: rgba(0, 0, 0, .12);
  50. cursor: pointer;
  51. }
  52. .board-header-btn:hover {
  53. color: #f6f6f6;
  54. }
  55. .board-header-btn.board-header-btn-enabled {
  56. background-color: rgba(0, 0, 0, .1);
  57. &:hover {
  58. background-color: rgba(0, 0, 0, .3);
  59. }
  60. .board-header-btn-icon.icon-star {
  61. color: #e6bf00 !important;
  62. }
  63. }
  64. .board-header-btn-name {
  65. cursor: default;
  66. font-size: 18px;
  67. font-weight: 700;
  68. line-height: 30px;
  69. padding-left: 4px;
  70. text-decoration: none;
  71. .board-header-btn-text {
  72. padding-left: 6px;
  73. }
  74. }
  75. .board-header-btn-name-org-logo {
  76. border-radius: 3px;
  77. height: 30px;
  78. left: 0;
  79. position: absolute;
  80. top: 0;
  81. width: 30px;
  82. .board-header-btn-text {
  83. padding-left: 32px;
  84. }
  85. }
  86. .board-header-btn-org-name {
  87. overflow: hidden;
  88. text-overflow: ellipsis;
  89. white-space: nowrap;
  90. max-width: 400px;
  91. }
  92. .board-header-btn-filter-indicator {
  93. background: #3d990f;
  94. padding-right: 30px;
  95. color: #fff;
  96. text-shadow: 0;
  97. &:hover {
  98. background: #43a711 !important;
  99. }
  100. .board-header-btn-icon-close {
  101. background: #43a711;
  102. border-top-left-radius: 0;
  103. border-top-right-radius: 3px;
  104. border-bottom-right-radius: 3px;
  105. border-bottom-left-radius: 0;
  106. color: #fff;
  107. padding: 6px;
  108. position: absolute;
  109. right: 0;
  110. top: 0;
  111. &:hover {
  112. background: #48b512;
  113. }
  114. }
  115. }