Making WordPress.org

Changeset 11733


Ignore:
Timestamp:
04/01/2022 01:25:45 PM (3 years ago)
Author:
ocean90
Message:

Translate: Override some default styling for form tables.

See #6246.

File:
1 edited

Legend:

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

    r11732 r11733  
    3232.gp-content table tbody tr:nth-child(2n):not(:hover) {
    3333    background-color: unset;
     34}
     35
     36.gp-content .form-table {
     37    width: auto;
     38    border: 0;
     39}
     40
     41.gp-content .form-table * {
     42    border: inherit;
     43}
     44
     45.gp-content .form-table tr {
     46    background: none !important;
     47}
     48
     49.gp-content .form-table th {
     50    padding-right: 1rem;
     51}
     52
     53.gp-content dt {
     54    margin-bottom: 2px;
     55}
     56
     57.gp-content dd {
     58    margin: 0;
     59}
     60
     61.gp-content dd + dt {
     62    margin-top: 10px;
    3463}
    3564
     
    451480}
    452481
    453 .gp-content h2 a.glossary-link {
    454     margin-top: .25em;
    455     color: #006799;
    456 }
    457 
    458482.gp-content h3 {
    459     padding: 0;
     483    font-size: 1.25rem;
    460484    margin: 2px 0 .6em;
    461485}
     
    470494p.description {
    471495    margin: 1em;
     496}
     497
     498a.project-actions {
     499    display: inline-block;
     500    margin-bottom: 1rem;
     501}
     502
     503a.project-actions:not(:hover):not(:focus) {
     504    text-decoration: none;
     505}
     506
     507a.project-actions.open {
     508    display: inline-block;
     509    margin-bottom: .5rem;
     510}
     511
     512small code {
     513    font-size: 1em;
    472514}
    473515
     
    580622    width: 100%;
    581623    float: none;
    582 }
    583 
    584 table.glossary .editor .strings dt {
    585     margin-bottom: 2px;
    586 }
    587 
    588 table.glossary .editor .strings dd {
    589     margin: 0 0 10px;
    590624}
    591625
     
    22052239}
    22062240
    2207 table.translations tr.preview > td.priority + td.original {
     2241table.translations tr.preview:not(.has-warnings) > td.priority + td.original {
    22082242    border-left: none;
    22092243}
Note: See TracChangeset for help on using the changeset viewer.