You are here

panopoly-widgets-media-browser.css in Panopoly Widgets 7

Styles for the media browser.

File

panopoly-widgets-media-browser.css
View source
  1. /**
  2. * @file
  3. * Styles for the media browser.
  4. */
  5. /**
  6. * Issue #1716040: Remove Corner Radius for Media Browser.
  7. */
  8. #media-browser-page-wrapper .ui-corner-all,
  9. .media-wrapper,
  10. .media-wrapper .ui-corner-all,
  11. .media-wrapper .ui-corner-top,
  12. .media-wrapper .ui-corner-left,
  13. .media-wrapper .ui-corner-tl {
  14. -moz-border-radius-topleft: 0;
  15. -webkit-border-top-left-radius: 0;
  16. -khtml-border-top-left-radius: 0;
  17. border-top-left-radius: 0;
  18. }
  19. #media-browser-page-wrapper .ui-corner-all,
  20. .media-wrapper,
  21. .media-wrapper .ui-corner-all,
  22. .media-wrapper .ui-corner-top,
  23. .media-wrapper .ui-corner-right,
  24. .media-wrapper .ui-corner-tl {
  25. -moz-border-radius-topright: 0;
  26. -webkit-border-top-right-radius: 0;
  27. -khtml-border-top-right-radius: 0;
  28. border-top-right-radius: 0;
  29. }
  30. /**
  31. * Issue #1716040: Restore Corner Radius for Media Tabs
  32. */
  33. #media-browser-tab.ui-corner-all,
  34. #media-browser-tab.ui-corner-top,
  35. #media-browser-tab.ui-corner-left,
  36. #media-browser-tab.ui-corner-tl {
  37. -moz-border-radius-topleft: 5px;
  38. -webkit-border-top-left-radius: 5px;
  39. -khtml-border-top-left-radius: 5px;
  40. border-top-left-radius: 5px;
  41. }
  42. #media-browser-tab.ui-corner-all,
  43. #media-browser-tab.ui-corner-top,
  44. #media-browser-tab.ui-corner-right,
  45. #media-browser-tab.ui-corner-tr {
  46. -moz-border-radius-topright: 5px;
  47. -webkit-border-top-right-radius: 5px;
  48. -khtml-border-top-right-radius: 5px;
  49. border-top-right-radius: 5px;
  50. }
  51. /**
  52. * Fix weirdness with the tabs when combining the CSS from Seven, the jQuery UI
  53. * theme from panopoly_core and the current theme.
  54. *
  55. * @see https://www.drupal.org/node/2458747
  56. */
  57. #media-tabs-wrapper .ui-tabs-nav li,
  58. #media-tabs-wrapper .ui-tabs-nav li.ui-state-active {
  59. border: 0;
  60. background: transparent;
  61. }
  62. #media-tabs-wrapper .ui-tabs-nav .ui-tabs-anchor {
  63. padding: 0 18px 8px 18px;
  64. }
  65. #media-tabs-wrapper .ui-tabs-nav li.ui-state-active a:link,
  66. #media-tabs-wrapper .ui-tabs-nav li.ui-state-active a:visited {
  67. background: white;
  68. }
  69. #media-tabs-wrapper .ui-tabs-nav li.ui-state-active a:hover {
  70. color: inherit;
  71. }