123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- /**
- * The Tripal generic node template (node--chado-generc.tpl.php)
- * has an outer div box with class 'tripal-contents' and with an inner
- * table with an id of 'tripal-contents-table'. The table has a single
- * row with two columns. The smaller left column houses the table of
- * contents (TOC) for the node data. The larger right column houses the data:
- *
- * |-----------------------------------------------|
- * | .tripal-contents |
- * | |-------------------------------------------| |
- * | | #tripal-contents-table | |
- * | | | | |
- * | | | | |
- * | | TOC | Data | |
- * | | column | Column | |
- * | | | | |
- * | | | | |
- * | | | | |
- * | |-------------------------------------------| |
- * |-----------------------------------------------|
- *
- * The tripal-contents box and the inner table are designed to fill the width
- * of the contents section of any theme. Customize the CSS below to change
- * the look-and-feel.
- *
- */
- .tripal-contents {
- width: 100%;
- }
- #tripal-contents_table {
- padding: 0px !important;
- margin: 0px !important;
- }
- /**
- * The table formatting must override the default theme. This is because
- * the table is meant for organizing the sidebar and contents so they don't
- * slip and slide around as would happen with div boxes that were floated.
- * Therefore, we use !important to keep the default theme from overrideing
- * the table settings.
- */
-
- #tripal-contents-table tbody {
- padding: 0px !important;
- margin: 0px !important;
- border: none !important;
- background-color: transparent !important;
- }
- .tripal-contents-table-tr {
- padding: 0px !important;
- margin: 0px !important;
- border: none !important;
- background-color: transparent !important;
- }
- .tripal-contents-table-td-toc {
- border: 1px solid #888888 !important;
- margin: 0px !important;
- padding: 10px !important;
- background-color: transparent !important;
- text-align: left !important;
- vertical-align: top !important;
- }
- .tripal-contents-table-td-data {
- border: none !important;
- margin: 0px !important;
- padding: 0px 0px 0px 20px !important;
- background-color: transparent !important;
- text-align: left !important;
- vertical-align: top !important;
- }
- /**
- * The table of contents is an unordered list. The following can are used
- * to style the list
- */
- .tripal_toc_list ul {
- }
- .tripal_toc_list li {
- padding: 3px 20px 3px 10px !important;
- margin: 2px 0 2px 0 !important;
- }
- /******************************************************************************
- * The links that appear in the TOC section are added dynamically by
- * JavaScript code found at the top of the node--chado-generc.tpl.php template.
- * Each link in the TOC cooresponds to a "block" of data added to the Data
- * Column. Initially, the JavaScript hids all "blocks" except for the "Details"
- * block. There will be as many blocks as there are TOC links.
- *
- * By default, all blocks have the following layout that consists of a
- * container div box with the class 'tripal-info-box', a div box to house the
- * block title with the class 'tripal-info-box-title', and a div box to
- * house a brief description about the block with the class
- * 'tripal-info-box-desc'
- *
- * |-----------------------------------------------|
- * | .tripal-info-box |
- * | |-------------------------------------------| |
- * | | .tripal-info-box-title | |
- * | |-------------------------------------------| |
- * | | .tripal-info-box-desc | |
- * | |-------------------------------------------| |
- * | |
- * | (Block data goes here) |
- * | |
- * | |
- * | |
- * | |
- * |-----------------------------------------------|
- */
- .tripal-info-box {
- width: 100%;
- padding-bottom: 10px;
- }
- .tripal-info-box-title {
- font-size: 1.5em;
- padding-bottom: 15px;
- }
- .tripal-info-box-desc {
- }
- /******************************************************************************
- * The teaser appears anywhere that a small snippet of the content is required.
- * When any node in Drupal is published to the home page a teaser is used.
- * Teasers can also be used in views to provide lists of content. The
- * teaser template is similar to the block but with the following sections and
- * classes
- *
- * |-----------------------------------------------|
- * | .tripal-teaser |
- * | |-------------------------------------------| |
- * | | .tripal-teaser-title | |
- * | |-------------------------------------------| |
- * | | .tripal-teaser-text | |
- * | | | |
- * | |-------------------------------------------| |
- * |-----------------------------------------------|
- */
- .tripal-teaser {
- clear_both;
- margin-bottom: 10px;
- }
- .tripal-teaser-title {
- font-weight: bold;
- margin-bottom: 5px;
- }
- .tripal-teaser-text {
- text-align: justify;
- text-justify:inter-word;
- }
- /**
- * some nodes such as the organism node may have images. This class
- * is used to format any image that appears in the teaser
- */
- .tripal-teaser-img {
- width: 100px;
- float: left;
- padding-right: 10px;
- padding-bottom: 5px;
- }
- /******************************************************************************
- * Administrative CSS classes
- *****************************************************************************/
-
- /**
- * This class is used when providing hints or other instructions to the
- * site administrator
- */
-
- .tripal-site-admin-only {
- background-image: url("../images/TripalLogo-sm.png");
- background-repeat: no-repeat;
- background-color: #BBBBFF;
- }
- .tripal-site-admin-message {
- padding: 10px 10px 10px 55px;
- font-style: italic;
- }
|