tripal_panes.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. @CHARSET "UTF-8";
  2. .tripal-entity-pane {
  3. border: solid 1px #CCC;
  4. margin: 15px 0px;
  5. padding: 15px;
  6. }
  7. .tripal-entity-pane h2 {
  8. margin-top: 0px;
  9. }
  10. .tripal_panes-pane_configure-fieldset .form-type-radio {
  11. display: inline;
  12. margin-right: 15px !important;
  13. }
  14. .tripal_pane-configure_pane_table td {
  15. width:25%;
  16. }
  17. /**
  18. * The Tripal generic pane template (tripal_panes_generic.tpl.php)
  19. * has an outer div box with class 'tripal-panes' and with an inner
  20. * table with an id of 'tripal-panes-table'. The table has a single
  21. * row with two columns. The smaller left column houses the table of
  22. * contents (TOC) for the node data. The larger right column houses the data:
  23. *
  24. * |-----------------------------------------------|
  25. * | .tripal-panes |
  26. * | |-------------------------------------------| |
  27. * | | .tripal-panes-table | |
  28. * | | | | |
  29. * | | | | |
  30. * | | TOC | Data | |
  31. * | | column | Column | |
  32. * | | | | |
  33. * | | | | |
  34. * | | | | |
  35. * | |-------------------------------------------| |
  36. * |-----------------------------------------------|
  37. *
  38. * The tripal-panes box and the inner table are designed to fill the width
  39. * of the contents section of any theme. Customize the CSS below to change
  40. * the look-and-feel.
  41. *
  42. */
  43. .tripal-panes {
  44. width: 100%;
  45. }
  46. .tripal-panes-links {
  47. }
  48. .tripal-panes_table {
  49. padding: 0px !important;
  50. margin: 0px !important;
  51. }
  52. /**
  53. * The table formatting must override the default theme. This is because
  54. * the table is meant for organizing the sidebar and contents so they don't
  55. * slip and slide around as would happen with div boxes that were floated.
  56. * Therefore, we use !important to keep the default theme from overrideing
  57. * the table settings.
  58. */
  59. .tripal-panes-table tbody {
  60. padding: 0px !important;
  61. margin: 0px !important;
  62. border: none !important;
  63. background-color: transparent !important;
  64. }
  65. .tripal-panes-table-tr {
  66. padding: 0px !important;
  67. margin: 0px !important;
  68. border: none !important;
  69. background-color: transparent !important;
  70. }
  71. .tripal-panes-table-td-toc {
  72. border-right: 1px solid #CCCCCC !important;
  73. margin: 0px !important;
  74. padding: 0px !important;
  75. background-color: transparent !important;
  76. text-align: left !important;
  77. vertical-align: top !important;
  78. }
  79. .tripal-panes-table-td-data {
  80. border: none !important;
  81. margin: 0px !important;
  82. padding: 0px 0px 0px 20px !important;
  83. background-color: transparent !important;
  84. text-align: left !important;
  85. vertical-align: top !important;
  86. }
  87. /**
  88. * The table of contents is an unordered list. The following can are used
  89. * to style the list
  90. */
  91. .tripal-panes-toc-list {
  92. }
  93. .tripal-panes-toc-list-item {
  94. padding: 3px 20px 3px 0px !important;
  95. margin: 2px 0 2px 0 !important;
  96. }
  97. .tripal-panes-button {
  98. height: 15px;
  99. width: 15px;
  100. vertical-align: text-top;
  101. }