repeater.less 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. .repeater {
  2. border: 1px solid #ddd;
  3. border-radius: 4px;
  4. &-canvas {
  5. &.scrolling{
  6. bottom: 0;
  7. left: 0;
  8. overflow-y: auto;
  9. position: absolute;
  10. right: 0;
  11. top: 0;
  12. }
  13. }
  14. &-header,
  15. &-footer
  16. {
  17. background: #f9f9f9;
  18. min-height: 50px;
  19. padding: 8px;
  20. .clearfix;
  21. &-left {
  22. float: left;
  23. }
  24. &-right {
  25. float: right;
  26. }
  27. @media (max-width: 625px) {
  28. &-left,
  29. &-right {
  30. float: none;
  31. .clearfix;
  32. }
  33. &-left {
  34. margin-bottom: 8px;
  35. }
  36. }
  37. }
  38. &-header {
  39. border-bottom: 1px solid #ddd;
  40. .border-top-radius(4px);
  41. }
  42. &-footer {
  43. border-top: 1px solid #ddd;
  44. .border-bottom-radius(4px);
  45. }
  46. &-loader {
  47. display: none;
  48. left: 50%;
  49. position: absolute;
  50. margin: -32px 0 0 -32px;
  51. top: 50%;
  52. }
  53. &-viewport {
  54. min-height: 80px;
  55. position: relative;
  56. }
  57. &-pagination {
  58. label {
  59. font-weight: normal;
  60. }
  61. .repeater-primaryPaging {
  62. display: none;
  63. vertical-align: middle;
  64. width: 116px;
  65. &.active {
  66. display: inline-block;
  67. }
  68. ul.dropdown-menu {
  69. min-width: 116px;
  70. }
  71. }
  72. .repeater-secondaryPaging {
  73. display: none;
  74. width: 82px;
  75. &.active {
  76. display: inline-block;
  77. }
  78. }
  79. }
  80. &-search {
  81. float: left;
  82. width: 200px;
  83. }
  84. &-title {
  85. display: block;
  86. float: left;
  87. line-height: 34px;
  88. margin-right: 10px;
  89. }
  90. /*
  91. * reinforce spacing around control buttons
  92. */
  93. &-itemization .selectlist, // TODO add specfic class for page size dropdown
  94. &-filters,
  95. &-secondaryPaging,
  96. &-primaryPaging,
  97. &-next,
  98. &-prev
  99. {
  100. margin: auto 0.3em;
  101. }
  102. }