views_ui.contextual.css

Same filename in this branch
  1. 10 core/modules/views_ui/css/views_ui.contextual.css
Same filename in other branches
  1. 9 core/themes/stable9/css/views_ui/views_ui.contextual.css
  2. 9 core/themes/stable/css/views_ui/views_ui.contextual.css
  3. 9 core/modules/views_ui/css/views_ui.contextual.css
  4. 8.9.x core/themes/stable/css/views_ui/views_ui.contextual.css
  5. 8.9.x core/modules/views_ui/css/views_ui.contextual.css
  6. 11.x core/themes/stable9/css/views_ui/views_ui.contextual.css
  7. 11.x core/modules/views_ui/css/views_ui.contextual.css

The .contextual.css file is intended to contain styles that override declarations in the Contextual module.

File

core/themes/stable9/css/views_ui/views_ui.contextual.css

View source
  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. top: auto;
  11. right: auto; /* LTR */
  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. right: auto; /* LTR */
  24. min-width: 10em;
  25. padding: 6px 6px 9px 6px;
  26. border-radius: 0 4px 4px 4px; /* LTR */
  27. }
  28. [dir="rtl"] .contextual .contextual-links {
  29. left: auto;
  30. border-radius: 4px 0 4px 4px;
  31. }
  32. .contextual-links li a,
  33. .contextual-links li span {
  34. padding-top: 0.25em;
  35. padding-right: 0.1667em; /* LTR */
  36. padding-bottom: 0.25em;
  37. }
  38. [dir="rtl"] .contextual-links li a,
  39. [dir="rtl"] .contextual-links li span {
  40. padding-right: 0;
  41. padding-left: 0.1667em;
  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-right: 1em;
  52. padding-left: 0.1667em;
  53. }
  54. .contextual-links li a:hover {
  55. background-color: #badbec;
  56. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.