Making WordPress.org


Ignore:
Timestamp:
09/03/2017 04:09:23 PM (9 years ago)
Author:
ocean90
Message:

Plugin Directory: Move available languages from development tab to meta section.

Fixes #3093.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/client/components/widget-area/widgets/meta/style.scss

    r5410 r5864  
    1515        padding: 0.5rem 0;
    1616        width: 100%;
     17        position: relative;
    1718
    1819        strong {
    1920            float: right;
    2021        }
    21        
     22
    2223        &:first-child {
    2324            border-top: 0;
     
    2526    }
    2627
     28    .languages,
    2729    .tags {
    2830        float: right;
    2931        text-align: right;
     32    }
     33
     34    .tags {
    3035        width: 60%;
     36    }
     37
     38    .languages .popover {
     39        margin-top: 8px;
     40    }
     41
     42    .languages .popover-trigger {
     43        color: $color__link;
     44        font-weight: 600;
     45
     46        &:hover {
     47            text-decoration: underline;
     48        }
    3149    }
    3250
     
    5371        }
    5472    }
     73}
    5574
     75.popover {
     76    display: none;
     77    position: absolute;
     78    width: 100%;
     79    max-width: 300px;
     80    left: 0;
     81    z-index: 100;
     82    padding: 1em 1em 2em;
     83    margin-top: 10px;
     84    background-color: #fff;
     85    border: 1px solid #ccc;
     86    border-radius: 2px;
     87    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     88
     89    &.is-top-right {
     90        left: auto;
     91        right: 0;
     92    }
     93
     94    &.is-visible {
     95        display: block;
     96    }
     97
     98    .popover-close {
     99        position: absolute;
     100        bottom: .5em;
     101        right: .6em;
     102        font-size: small;
     103        color: $color__link;
     104
     105        &:hover,
     106        &:focus,
     107        &:active {
     108            text-decoration: underline;
     109        }
     110    }
     111
     112    .popover-arrow {
     113        position: absolute;
     114        height: 0;
     115        width: 0;
     116        top: -10px;
     117        right: 20px;
     118        z-index: -1;
     119        border: 10px solid #ccc;
     120        border-top: none;
     121        border-left-color: transparent;
     122        border-right-color: transparent;
     123
     124        &:after {
     125            content: '';
     126            position: absolute;
     127            top: 2px;
     128            left: -10px;
     129            border: 10px solid #fff;
     130            border-top: none;
     131            border-left-color: transparent;
     132            border-right-color: transparent;
     133        }
     134    }
     135
     136    .popover-inner {
     137        text-align: left;
     138    }
    56139}
Note: See TracChangeset for help on using the changeset viewer.