vertical-tabs.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /**
  2. * Override of misc/vertical-tabs.css.
  3. */
  4. div.vertical-tabs {
  5. background: #fff url(images/fc.png) repeat-y 0 0; /* LTR */
  6. border: 1px solid #ccc;
  7. margin: 10px 0;
  8. position: relative;
  9. }
  10. fieldset.vertical-tabs-pane {
  11. border: 0;
  12. padding: 0;
  13. margin: 0;
  14. }
  15. div.vertical-tabs .vertical-tabs-list {
  16. border-bottom: 1px solid #ccc;
  17. float: left; /* LTR */
  18. font-size: 1em;
  19. line-height: 1;
  20. margin: 0 -100% -1px 0; /* LTR */
  21. padding: 0;
  22. width: 240px;
  23. }
  24. div.vertical-tabs ul li.vertical-tab-button {
  25. list-style: none;
  26. list-style-image: none;
  27. margin: 0;
  28. }
  29. div.vertical-tabs ul li.vertical-tab-button a {
  30. border-top: 1px solid #ccc;
  31. display: block;
  32. padding: 10px;
  33. }
  34. div.vertical-tabs ul li.first a {
  35. border-top: 0;
  36. }
  37. div.vertical-tabs ul li.vertical-tab-button strong {
  38. font-size: 0.923em;
  39. }
  40. div.vertical-tabs ul li.vertical-tab-button .summary {
  41. color: #666;
  42. display: block;
  43. font-size: 0.846em;
  44. padding-top: 0.4em;
  45. }
  46. div.vertical-tabs ul li.vertical-tab-button a:hover,
  47. div.vertical-tabs ul li.vertical-tab-button a:focus {
  48. background: #d5d5d5;
  49. text-decoration: none;
  50. outline: 0;
  51. }
  52. div.vertical-tabs ul li.selected a,
  53. div.vertical-tabs ul li.selected a:hover,
  54. div.vertical-tabs ul li.selected a:focus,
  55. div.vertical-tabs ul li.selected a:active {
  56. background: #fff;
  57. border-right-color: #fff; /* LTR */
  58. border-top: 1px solid #ccc;
  59. }
  60. div.vertical-tabs ul li.first.selected a,
  61. div.vertical-tabs ul li.first.selected a:hover {
  62. border-top: 0;
  63. }
  64. div.vertical-tabs ul li.selected a:focus strong {
  65. text-decoration: underline;
  66. }
  67. div.vertical-tabs .vertical-tabs-panes {
  68. margin: 0 0 0 265px; /* LTR */
  69. padding: 10px 15px 10px 0; /* LTR */
  70. }
  71. fieldset.vertical-tabs-pane legend {
  72. display: none;
  73. }
  74. fieldset.vertical-tabs-pane fieldset legend {
  75. display: block;
  76. }
  77. .vertical-tabs-pane .fieldset-wrapper > div:first-child {
  78. padding-top: 5px;
  79. }
  80. /**
  81. * Prevent text inputs from overflowing when container is too narrow. "width" is
  82. * applied to override hardcoded cols or size attributes and used in conjunction
  83. * with "box-sizing" to prevent box model issues from occurring in most browsers.
  84. */
  85. .vertical-tabs .form-type-textfield input {
  86. width: 100%;
  87. -moz-box-sizing: border-box;
  88. -webkit-box-sizing: border-box;
  89. box-sizing: border-box;
  90. }
  91. * html .vertical-tabs .form-type-textfield,
  92. * html .vertical-tabs .form-textarea-wrapper {
  93. width: 95%; /* IE6 */
  94. }