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.

grid.scss 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // Variables defined in runo.scss
  2. @mixin runo-grid($primaryStyleName: v-grid) {
  3. .#{$primaryStyleName}-header,
  4. .#{$primaryStyleName}-footer {
  5. .#{$primaryStyleName}-cell {
  6. background-image: url(img/header-bg.png);
  7. color: #393a3c;
  8. text-shadow: #fff 0 1px 0;
  9. @include box-shadow(inset 1px 0 0 #fff);
  10. }
  11. }
  12. .#{$primaryStyleName}-header-deco,
  13. .#{$primaryStyleName}-footer-deco,
  14. .#{$primaryStyleName}-horizontal-scrollbar-deco {
  15. background-image: url(img/header-bg.png);
  16. }
  17. // Selected row
  18. .#{$primaryStyleName}-row-selected {
  19. color: #fff;
  20. // Selected and focused
  21. > .#{$primaryStyleName}-cell-focused:before {
  22. border-color: lighten($v-grid-row-selected-background-color, 20%);
  23. }
  24. }
  25. // Sidebar
  26. .#{$primaryStyleName}-sidebar.v-contextmenu {
  27. .#{$primaryStyleName}-sidebar-content {
  28. background-color: transparent;
  29. .gwt-MenuBar {
  30. border: none;
  31. }
  32. }
  33. .v-on:before, .v-off:before {
  34. content: none;
  35. font-size: 0;
  36. margin-right: 0;
  37. }
  38. }
  39. // Sort indicators
  40. .#{$primaryStyleName} th.sort-asc,
  41. .#{$primaryStyleName} th.sort-desc {
  42. padding-right: 30px + $v-grid-cell-padding-horizontal;
  43. &:after {
  44. content: attr(sort-order);
  45. background: transparent no-repeat right 50%;
  46. width: 30px;
  47. height: 36px;
  48. top: 0;
  49. }
  50. }
  51. .#{$primaryStyleName} th.sort-asc:after {
  52. background-image: url(img/sort-asc.png);
  53. }
  54. .#{$primaryStyleName} th.sort-desc:after {
  55. background-image: url(img/sort-desc.png);
  56. }
  57. .#{$primaryStyleName}-editor-footer {
  58. background: #e7e9ea;
  59. }
  60. }