You are here

blazy.admin--vertical-tabs.css in Blazy 8.2

Same filename and directory in other branches
  1. 8 blazy_ui/css/blazy.admin--vertical-tabs.css

Vertical tabs. Lets face it, VT over-specified selector is for a reason: not easily get broken. And that is not a breeze to override. And we don't want to CSS alter for a partial use case.

File

blazy_ui/css/blazy.admin--vertical-tabs.css
View source
  1. /**
  2. * @file
  3. * Vertical tabs. Lets face it, VT over-specified selector is for a reason:
  4. * not easily get broken. And that is not a breeze to override.
  5. * And we don't want to CSS alter for a partial use case.
  6. */
  7. .form--slick .form-type-vertical-tabs {
  8. margin-bottom: 30px;
  9. padding: 0;
  10. width: 100%;
  11. }
  12. .form--slick .vertical-tabs__menu {
  13. float: left;
  14. margin: 0;
  15. width: 100%;
  16. }
  17. .form--slick .vertical-tabs__panes {
  18. margin: 0;
  19. }
  20. .form--slick .vertical-tabs__menu-item {
  21. border: 0;
  22. text-align: right;
  23. }
  24. .form--slick .vertical-tabs__menu-item a {
  25. background: #f9f9f9;
  26. }
  27. .form--slick .vertical-tabs__menu-item.is-selected {
  28. border-right: 0;
  29. }
  30. .form--slick .vertical-tabs__menu-item.is-selected a {
  31. background: #fff;
  32. }
  33. .form--slick .vertical-tabs details {
  34. border: 0;
  35. }
  36. .form--slick .vertical-tabs .vertical-tabs__panes .vertical-tabs__pane {
  37. padding: 0;
  38. }
  39. .form--slick .vertical-tabs__panes {
  40. background: #f3f3f3;
  41. background: rgba(255, 255, 255, 0.9);
  42. border: 1px solid #dadada;
  43. border-radius: 1px;
  44. padding: 0;
  45. min-height: 240px;
  46. }
  47. .form--slick .vertical-tabs__panes > details,
  48. .form--slick .vertical-tabs__panes > details:first-child {
  49. border: 0;
  50. margin: 0;
  51. }
  52. .form--slick .vertical-tabs .vertical-tabs__panes > details:first-child {
  53. padding-top: 0;
  54. }
  55. @media screen and (min-width: 1280px) {
  56. .form--slick .vertical-tabs__menu {
  57. float: left;
  58. margin: 0 -100% -1px 0;
  59. width: 200px;
  60. }
  61. .form--slick .vertical-tabs__panes {
  62. margin: 0 0 0 200px;
  63. padding: 0;
  64. }
  65. }