Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/11/2020 08:18:24 PM (5 years ago)
Author:
mercime
Message:

Hello BuddyPress modal: Update markup.

Raise heading level of the document title and add style support.

See #8270.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/admin/sass/hello.scss

    r12458 r12648  
    235235}
    236236
     237#plugin-information-title h1 {
     238    font-size: 1em;
     239    font-weight: 600;
     240    padding: 0;
     241    margin: 0;
     242    overflow: hidden;
     243    text-overflow: ellipsis;
     244    white-space: nowrap;
     245}
     246
     247#plugin-information-title.with-banner h1 {
     248    position: relative;
     249    font-family: "Helvetica Neue", sans-serif;
     250    display: inline-block;
     251    font-size: 20px;
     252    line-height: 1.68;
     253    box-sizing: border-box;
     254    max-width: 85%;
     255    padding: 0 15px;
     256    margin-top: 30px;
     257    color: #fff;
     258    background: rgba(30, 30, 30, 0.9);
     259    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
     260    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
     261    border-radius: 8px;
     262}
     263
    237264/*
    238265 * 4.3 - Content content
     
    266293 *----------------------------------------------------------------------------*/
    267294
     295@media screen and (min-width: 770px) {
     296
     297    #plugin-information-title.with-banner h1 {
     298        font-size: 30px;
     299        line-height: 2;
     300        margin-top: 174px;
     301        max-width: 100%;
     302    }
     303}
     304
    268305/*
    269306 * 6.1 - Desktop Medium
Note: See TracChangeset for help on using the changeset viewer.