123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249 |
- /**
- * 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-links {
- }
- .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-right: 1px solid #CCCCCC !important;
- margin: 0px !important;
- padding: 0px !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 {
- }
- .tripal_toc_list_item {
- padding: 3px 20px 3px 0px !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 "pane" of data added to the Data
- * Column. Initially, the JavaScript hids all "panes" except for the "Details"
- * pane. There will be as many panes as there are TOC links.
- *
- * By default, all panes have the following layout that consists of a
- * container div box with the class 'tripal-info-box', a div box to house the
- * pane title with the class 'tripal-info-box-title', and a div box to
- * house a brief description about the pane with the class
- * 'tripal-info-box-desc'
- *
- * |-----------------------------------------------|
- * | .tripal-data-pane |
- * | |-------------------------------------------| |
- * | | .tripal-data-pane-title | |
- * | |-------------------------------------------| |
- * | | .tripal-data-pane-desc | |
- * | |-------------------------------------------| |
- * | |
- * | (Block data goes here) |
- * | |
- * | |
- * | |
- * | |
- * |-----------------------------------------------|
- */
- .tripal-data-pane {
- padding: 0;
- margin: 0;
- width: 100%;
- }
- .tripal-data-pane-title {
- font-size: 1.5em;
- padding-bottom: 5px;
- }
- .tripal-info-box-desc {
- margin-bottom: 10px;
- }
- /**
- * Within the pane data
- */
- .tripal-data-table {
- margin-top: 0px;
- margin-bottom: 10px;
- }
- /******************************************************************************
- * 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 pane 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
- */
- div.messages.tripal-site-admin-only{
- background-image: url("../images/TripalLogo-sm.png");
- background-repeat: no-repeat;
- background-color: #cce3ff;
- margin-top: 10px;
- margin-bottom: 10px;
- margin-left: 0px;
- margin-right: 0px;
- border: 1px solid #7DA1D4;
- min-height: 65px;
- clear: both;
- padding: 0px;
- }
- .tripal-code {
- font-family: "Courier New", Courier, monospace;
- word-wrap: break-word;
- display: block;
- padding-top: 10px;
- padding-bottom: 10px;
- }
- .tripal-severity-string {
- font-weight: bold;
- }
- .tripal-severity-string-critical, .tripal-severity-string-error,
- .tripal-severity-string.critical, .tripal-severity-string.error {
- color: #FF0000;
- }
- .tripal-severity-string-warning,
- .tripal-severity-string.warning {
- color: #FF8000;
- }
- .tripal-site-admin-message {
- padding: 15px 10px 10px 70px;
- font-style: italic;
- }
- .tripal-site-admin-only-table-row {
- background-color: #cce3ff;
- /* border: 1px solid #7DA1D4; */
- color: black;
- }
- /******************************************************************************
- * Misc CSS classes
- *****************************************************************************/
- .tripal-dl {
- width: 100%;
- overflow: hidden;
- }
- .tripal-dl dt {
- float: left;
- }
- .tripal-dl dd {
- }
|