_gpm.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. .gpm {
  2. td {
  3. border: 0;
  4. }
  5. .gpm-search {
  6. position: relative;
  7. padding: 0 3rem 0.5rem $padding-default;
  8. text-indent: 2.5rem;
  9. &:after {
  10. position: absolute;
  11. right: 60px;
  12. top: 10px;
  13. content: '\f002';
  14. font-family: 'FontAwesome';
  15. }
  16. @include breakpoint(mobile-only) {
  17. padding-left: 1rem;
  18. }
  19. }
  20. .sort-actions {
  21. float: right;
  22. margin: 0 24px;
  23. @include breakpoint(mobile-only) {
  24. float: none;
  25. }
  26. > * {
  27. font-size: 1rem;
  28. display: inline-block;
  29. vertical-align: middle;
  30. }
  31. .sort-icon {
  32. cursor: pointer;
  33. }
  34. select {
  35. margin: 0;
  36. display: none;
  37. }
  38. .selectize-input {
  39. width: 9rem;
  40. vertical-align: middle;
  41. line-height: 21px;
  42. input {
  43. line-height: 21px;
  44. }
  45. }
  46. }
  47. .gpm-name {
  48. white-space: nowrap;
  49. @include breakpoint(mobile-only) {
  50. white-space: normal;
  51. }
  52. }
  53. .gpm-version {
  54. padding-left:0.5rem;
  55. font-size: 0.9rem;
  56. }
  57. .gpm-testing {
  58. @extend .badge;
  59. border-radius: 3px;
  60. padding: 0 4px;
  61. font-size: 0.75rem;
  62. }
  63. .theme .gpm-testing {
  64. line-height: 1rem;
  65. position: absolute;
  66. top: 0;
  67. right: 0;
  68. border-radius: 0 0 0 3px;
  69. line-height: 1.3;
  70. }
  71. .gpm-actions {
  72. .enabled, .disabled {
  73. font-size: 1.6rem;
  74. }
  75. }
  76. .gpm-item-info {
  77. position: relative;
  78. padding-bottom: 1rem;
  79. margin-bottom: 3rem;
  80. overflow: hidden;
  81. .gpm-item-icon {
  82. position: absolute;
  83. right: $padding-default;
  84. font-size: 20rem;
  85. }
  86. table {
  87. position: relative;
  88. }
  89. td {
  90. border: 0;
  91. text-align: left !important;
  92. &.double {
  93. padding-left: 2rem;
  94. }
  95. &:first-child {
  96. white-space: nowrap;
  97. }
  98. @include breakpoint(mobile-only) {
  99. word-wrap: break-word;
  100. word-break: break-word;
  101. @include hyphens(auto);
  102. }
  103. }
  104. tr:hover {
  105. background: inherit;
  106. }
  107. }
  108. .badge.update {
  109. display: inline-block;
  110. border-radius: 4px;
  111. padding: 2px 10px;
  112. margin-left: 1rem;
  113. }
  114. .gpm-ribbon {
  115. overflow: hidden;
  116. white-space: nowrap;
  117. position: absolute;
  118. top: 1rem;
  119. right: -2rem;
  120. @include transform(rotate(45deg));
  121. a {
  122. display: block;
  123. font-weight: bold;
  124. font-size: 0.9rem;
  125. padding: 5px 40px;
  126. text-align: center;
  127. }
  128. }
  129. .themes {
  130. padding: $padding-default;
  131. .card-item {
  132. padding: 1rem 1rem 4rem;
  133. }
  134. .gpm-screenshot {
  135. text-align: center;
  136. img {
  137. margin: 0 auto;
  138. max-height: 300px;
  139. }
  140. }
  141. .gpm-name {
  142. margin-bottom: 0.5rem;
  143. white-space: inherit;
  144. }
  145. .gpm-actions {
  146. margin: 1rem -1rem -1rem -1rem;
  147. height: 4rem;
  148. text-align: center;
  149. padding: 1rem;
  150. font-size: 1rem;
  151. font-weight: bold;
  152. position: absolute;
  153. left: 0;
  154. right: 0;
  155. bottom: 1rem;
  156. }
  157. .active-theme .gpm-actions, &.inactive-theme .gpm-actions {
  158. line-height: 2rem;
  159. }
  160. .inactive-theme .gpm-actions {
  161. display: block;
  162. font-weight: normal;
  163. }
  164. }
  165. #gpm-release-toggle {
  166. float: right;
  167. margin-right: 3rem;
  168. }
  169. }