Making WordPress.org

Changeset 4217


Ignore:
Timestamp:
10/11/2016 07:11:10 PM (8 years ago)
Author:
ocean90
Message:

Breathe: Add styling for a <select> element which will be used for the editor on make/polyglots.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css

    r4166 r4217  
    334334}
    335335
     336.o2-post-form-options {
     337    margin-top: .8em; /* Same as .o2-editor .o2-editor-footer > a */
     338}
     339
     340.o2-editor-select {
     341    background: white url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+YXJyb3ctZG93bjwvdGl0bGU+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iI2JiYiIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+) no-repeat right 10px center;
     342    border-radius: 3px;
     343    border: 1px solid #bbb;
     344    color: #3498db;
     345    cursor: pointer;
     346    display: inline-block;
     347    margin: 0;
     348    outline: 0;
     349    overflow: hidden !important;
     350    font-size: 13px !important;
     351    font-weight: 600;
     352    text-overflow: ellipsis;
     353    text-decoration: none;
     354    vertical-align: top;
     355    white-space: nowrap;
     356    box-sizing: border-box;
     357    padding: 7px 32px 7px 14px;
     358    -webkit-appearance: none;
     359    -moz-appearance: none;
     360    appearance: none;
     361}
     362
     363.o2-editor-select:focus,
     364.o2-editor-select:hover {
     365    color: #000;
     366    border-color: #888;
     367    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+YXJyb3ctZG93bjwvdGl0bGU+PHBhdGggZD0iTTE1LjUgNkwxNyA3LjVsLTYuNzUgNi43NUwzLjUgNy41IDUgNmw1LjI1IDUuMjVMMTUuNSA2eiIgZmlsbD0iIzg4OCIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+);
     368}
     369
     370.o2-editor-select:focus {
     371    outline: 0;
     372    -moz-outline: none;
     373    -moz-user-focus: ignore;
     374}
     375
     376.o2-editor-select::-ms-expand {
     377    display: none;
     378}
     379
     380.o2-editor-select::-ms-value {
     381    background: none;
     382    color: #3498db;
     383}
     384
     385.o2-editor-select:-moz-focusring {
     386    color: transparent;
     387    text-shadow: 0 0 0 #3498db;
     388}
     389
     390.polyglots-post-type-selector {
     391    margin: 0 0 1em;
     392    text-align: right;
     393}
     394
     395.polyglots-post-type-selector .o2-editor-select {
     396    min-width: 180px;
     397}
     398
    336399@media screen and (min-width: 769px) {
    337400    #wporg-header ul li.current-menu-item:after,
Note: See TracChangeset for help on using the changeset viewer.