pedalboards.less 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. #pedalboards-library {
  2. background: #2c2c2c;
  3. bottom: 45px;
  4. left: 0;
  5. overflow-x: hidden;
  6. overflow-y: auto;
  7. position: absolute;
  8. right: 0;
  9. top: 0;
  10. z-index: 2;
  11. h1 {
  12. color: #fff;
  13. display: inline-block;
  14. font-size: 24px;
  15. line-height: 35px;
  16. margin: 0 0 18px 0;
  17. padding: 0;
  18. }
  19. header {
  20. .form-group {
  21. display: inline-block;
  22. float: right;
  23. margin-top: 5px;
  24. margin-right: 5px;
  25. .form-control {
  26. width: 200px !important;
  27. }
  28. .input-clean {
  29. line-height: 20px;
  30. margin-right: 12px !important;
  31. }
  32. }
  33. .view-modes {
  34. float: right;
  35. margin-right: 12px;
  36. cursor: pointer;
  37. .view-mode {
  38. font-size: 130%;
  39. &.selected {
  40. color: #fff;
  41. }
  42. }
  43. }
  44. }
  45. .filter {
  46. border-color: #111;
  47. border-style: dotted;
  48. border-width: 0 1px 0 0;
  49. bottom: 45px;
  50. left: 0;
  51. position: fixed;
  52. right: 0;
  53. top: 45px;
  54. width: 240px;
  55. .control-group {
  56. float: left;
  57. margin-right: 9px;
  58. }
  59. .control-group label {
  60. color: #fff;
  61. display: inline-block;
  62. font-size: 12px;
  63. font-weight: bold;
  64. width: 165px;
  65. }
  66. .control-group select {
  67. width: 50px;
  68. }
  69. }
  70. .pedalboards {
  71. left: 0px;
  72. position: fixed;
  73. right: 0px;
  74. top: 45px;
  75. bottom: 45px;
  76. overflow: auto;
  77. background: #111 url(../img/watermark.png) 100% 100% no-repeat;
  78. padding-top: 1%;
  79. .pedalboard {
  80. color: #fff;
  81. float: left;
  82. margin: 0 0 1% 1%;
  83. width: 18.8%;
  84. position: relative;
  85. background-color: transparent;
  86. background-image: url(../img/background.jpg);
  87. background-position: center center;
  88. background-repeat: repeat;
  89. background-size: auto 100%;
  90. transition: all 0.33s;
  91. cursor: pointer;
  92. &:hover {
  93. .info {
  94. background-color: @brand-primary;
  95. }
  96. }
  97. .img {
  98. box-shadow: inset 0 3px 6px black;
  99. border: 1px solid #000;
  100. display: block;
  101. width: 100%;
  102. height: 10vw;
  103. overflow: hidden;
  104. text-align: center;
  105. background-image: url(../img/loading-pedalboard.gif);
  106. background-position: center center;
  107. background-repeat: no-repeat;
  108. background-size: auto;
  109. position: relative;
  110. &.loaded {
  111. background-size: contain;
  112. }
  113. &.broken {
  114. background-image: url(../img/icons/broken_image.svg);
  115. background-size: auto 50%;
  116. }
  117. }
  118. &.broken {
  119. .img::after {
  120. content: "";
  121. position: absolute;
  122. top: 0;
  123. left: 0;
  124. right: 0;
  125. bottom: 0;
  126. z-index: 10;
  127. background-color: rgba(17, 17, 17, 0.5);
  128. background-image: url(../img/icons/broken_pedal.svg);
  129. background-size: auto 50%;
  130. background-repeat: no-repeat;
  131. background-position: center;
  132. }
  133. }
  134. .info {
  135. background-color: #2c2c2c;
  136. transition: background-color 0.33s;
  137. }
  138. .title {
  139. display: block;
  140. line-height: 32px;
  141. font-weight: bold;
  142. overflow: hidden;
  143. position: relative;
  144. height: 32px;
  145. left: 5px;
  146. width: calc(~'100% - 32px');
  147. text-overflow: ellipsis;
  148. white-space: nowrap;
  149. }
  150. .description {
  151. display: block;
  152. font-size: 12px;
  153. height: 36px;
  154. line-height: 1.5;
  155. overflow: hidden;
  156. }
  157. .actions {
  158. font-weight: bold;
  159. text-transform: uppercase;
  160. position: absolute;
  161. top: 0;
  162. right: 0;
  163. .js-remove {
  164. width: 32px;
  165. height: 32px;
  166. background-image: url(../img/icons/25/delete.png);
  167. background-repeat: no-repeat;
  168. background-position: 50% 50%;
  169. transition: background-color 0.33s;
  170. &:hover {
  171. background-color: @brand-warning;
  172. }
  173. }
  174. }
  175. .actions > span {
  176. cursor: pointer;
  177. &:hover {
  178. text-decoration: underline;
  179. }
  180. &.duplicate {
  181. margin: 0 6px;
  182. }
  183. }
  184. }
  185. &.list-selected {
  186. .pedalboard {
  187. // width: 98%;
  188. }
  189. .img {
  190. display: none;
  191. }
  192. }
  193. }
  194. }