views_ui.contextual.css 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /**
  2. * @file
  3. * The .contextual.css file is intended to contain styles that override declarations
  4. * in the Contextual module.
  5. */
  6. .views-live-preview .contextual-region-active {
  7. outline: medium none;
  8. }
  9. .views-live-preview .contextual {
  10. right: auto; /* LTR */
  11. top: auto;
  12. }
  13. [dir="rtl"] .views-live-preview .contextual {
  14. left: auto;
  15. }
  16. .js .views-live-preview .contextual {
  17. display: inline;
  18. }
  19. .views-live-preview .contextual-links-trigger {
  20. display: block;
  21. }
  22. .contextual .contextual-links {
  23. border-radius: 0 4px 4px 4px; /* LTR */
  24. min-width: 10em;
  25. padding: 6px 6px 9px 6px;
  26. right: auto; /* LTR */
  27. }
  28. [dir="rtl"] .contextual .contextual-links {
  29. border-radius: 4px 0 4px 4px;
  30. left: auto;
  31. }
  32. .contextual-links li a,
  33. .contextual-links li span {
  34. padding-bottom: 0.25em;
  35. padding-right: 0.1667em; /* LTR */
  36. padding-top: 0.25em;
  37. }
  38. [dir="rtl"] .contextual-links li a,
  39. [dir="rtl"] .contextual-links li span {
  40. padding-left: 0.1667em;
  41. padding-right: 0;
  42. }
  43. .contextual-links li span {
  44. font-weight: bold;
  45. }
  46. .contextual-links li a {
  47. margin: 0.25em 0;
  48. padding-left: 1em; /* LTR */
  49. }
  50. [dir="rtl"] .contextual-links li a {
  51. padding-left: 0.1667em;
  52. padding-right: 1em;
  53. }
  54. .contextual-links li a:hover {
  55. background-color: #badbec;
  56. }