WordPress.org

Making WordPress.org

Changeset 9617


Ignore:
Timestamp:
03/22/2020 12:54:18 PM (21 months ago)
Author:
ocean90
Message:

Translate: Improve responsiveness of translation set tables.

Fixes #5103.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/style.css

    r9615 r9617  
    259259    font-family: 'Open Sans', sans-serif !important;
    260260    margin: 2px 0 .6em;
    261 }
    262 
     261    overflow: hidden;
     262}
    263263
    264264.gp-content h3 {
     
    297297    margin-top: 1em;
    298298    margin-bottom: 1em;
     299}
     300
     301
     302@media screen and (max-width: 960px) {
     303    .with-sub-projects {
     304        margin-left: 0;
     305    }
     306
     307    #sub-projects,
     308    .with-sub-projects #translation-sets {
     309        float: none;
     310        margin: 0;
     311        width: 100%;
     312    }
     313
     314    #translation-sets {
     315        overflow-x: auto;
     316    }
    299317}
    300318
     
    543561.invisibles {
    544562    -webkit-user-select: none;
    545     -moz-user-select: none;
    546563    -ms-user-select: none;
    547564    user-select: none;
     
    20362053
    20372054.consistency-table tr.new-translation th {
     2055    position: -webkit-sticky;
    20382056    position: sticky;
    20392057    top: 0;
     
    22682286    border-bottom: 1px solid #e2e4e7;
    22692287    background-color: #f3f4f5;
    2270     height: 40px;
     2288    min-height: 40px;
     2289}
     2290
     2291@media screen and (min-width: 700px) {
     2292    .panel-header {
     2293        height: 40px;
     2294    }
    22712295}
    22722296
     
    22982322    margin: 0 0 0 10px;
    22992323    font-size: 13px;
    2300     line-height: 1;
     2324    line-height: 20px;
    23012325    font-weight: 400;
    23022326    letter-spacing: 1px;
     
    23062330
    23072331.panel-header__bubble {
     2332    display: inline-block;
     2333    padding: 2px 4px;
     2334    margin: 2px 0;
     2335    white-space: nowrap;
    23082336    font-size: 12px;
    2309     padding: 2px 4px;
     2337    font-weight: 600;
    23102338    text-transform: none;
    2311     font-weight: 600;
    23122339    border: 1px solid #666;
    23132340}
     
    23362363    color: #826EB4;
    23372364    border-color: #826EB4;
     2365}
     2366
     2367.panel-header-actions {
     2368    align-self: flex-start;
    23382369}
    23392370
     
    27512782    justify-content: space-between;
    27522783    margin-bottom: 15px;
     2784    position: -webkit-sticky;
    27532785    position: sticky;
    27542786    top: -15px;
Note: See TracChangeset for help on using the changeset viewer.