Ignore:
Timestamp:
Jun 23, 2013, 4:11:29 PM (11 years ago)
Author:
mistic100
Message:

allow multiple language files in a plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/plugin_lang_analysis/template/style.css

    r23449 r23467  
    66}
    77   
    8 .type-button {
     8.switch-button {
    99  display:inline-block;
    10   white-space:no-wrap;
    1110
    12   .type-button span {
    13     display:inline-block;
     11  .switch-button span {
     12    float:left;
    1413    padding:5px 8px;
    15     margin:1px;
    1614    background:#e6e6e6;
    1715    color:#555;
    1816    cursor:pointer;
    1917  }
    20     .type-button span.active {
     18    .switch-button span.active {
    2119      color:#212121;
    2220    }
    23     .type-button span.common.active {
     21    .switch-button span.common.active {
    2422      background:#BAFF3F;
    2523    }
    26     .type-button span.admin.active {
     24    .switch-button span.admin.active {
    2725      background:#FF5E5B;
    2826    }
    29     .type-button span:first-of-type {
     27    .switch-button span.other.active {
     28      background:#4CC6FF;
     29    }
     30    .switch-button span:first-of-type {
    3031      border-radius:5px 0 0 5px;
    3132    }
    32     .type-button span:last-of-type {
     33    .switch-button span:last-of-type {
    3334      border-radius:0 5px 5px 0;
    3435    }
    35    
     36    .switch-button span:only-of-type {
     37      border-radius:5px;
     38    }
     39
     40.files {
     41  border-collapse:separate;
     42  border-spacing:10px 0;
     43  text-align:left !important;
     44  margin:0;
     45}
     46
    3647.strings {
    3748  border-collapse:collapse;
     
    6374  .strings td {
    6475    background:#e7e7e7;
    65     border-bottom:1px solid #ccc;
     76    border-top:1px solid #ccc;
    6677    padding:2px 3px;
    6778    vertical-align:top;
     
    7485      background:#DBEACC;
    7586    }
    76     .strings tr:hover td {
     87    .strings tr.hover td {
    7788      background:#D9E2EB;
    7889    }
    7990 
    80   .strings tr td:first-child {
     91  .strings tr td.toggler {
    8192    cursor:pointer;
    8293    color:#666;
    8394  }
    8495    .strings tr td:first-child:hover:before {
    85       color:#222;;
     96      color:#222;
    8697    }
    8798  .strings tr td:nth-child(2) {
     
    89100    max-width:700px;
    90101  }
    91   .strings tr td:nth-last-child(-n+3) {
    92     text-align:center;
    93   }
    94   .strings tr td:nth-last-child(4) {
     102  .strings tr td:nth-child(3) {
    95103    text-align:right;
    96104  }
    97105 
    98   .strings ul {
    99     border-top:1px solid #ccc;
     106  .strings tr.file {
    100107    display:none;
    101     margin:3px 0 3px -3px !important;
    102     padding:3px 0 0 20px !important;
    103     font-family:monospace;
    104     font-size:13px;
     108    font-size:0.8em;
    105109  }
    106     .strings ul li {
    107       margin:0 !important;
    108       line-height:1.5em !important;
    109       list-style:disc;
     110    .strings tr.file td {
     111      border-color:#ddd;
    110112    }
    111113   
Note: See TracChangeset for help on using the changeset viewer.