Skip to:
Content

BuddyPress.org

Changeset 11282


Ignore:
Timestamp:
12/09/2016 02:27:33 PM (5 years ago)
Author:
hnla
Message:

twentyseventeen scss formatting

Commit corrects a few formatting issues.

Fixes #7384
Props netweb

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/css/twentyseventeen.scss

    r11275 r11282  
    1313
    1414// 2017 Media Queries / Breakpoints.
    15 $small-up-2017:      'min-width: 30em';
    16 $med-small-up-2017:  'min-width: 48em';
    17 $medium-up-2017:     'min-width: 55em';
    18 $large-up-2017:      'min-width: 67em';
    19 $x-large-up-2017:    'min-width: 79em';
     15$small-up-2017:      "min-width: 30em";
     16$med-small-up-2017:  "min-width: 48em";
     17$medium-up-2017:     "min-width: 55em";
     18$large-up-2017:      "min-width: 67em";
     19$x-large-up-2017:    "min-width: 79em";
    2020
    2121
     
    2525// to manage granular elements in loops etc.
    2626
    27 $x-small-only-bp: 'max-width: 22em'; // for xtra small mobile only
    28 $small-only-bp:   'max-width: 38.75em'; //  small only
    29 $small-up-bp:     'min-width: 38.75em'; //  small only
    30 $med-only-bp:     'max-width: 46.25em'; // med small only
     27$x-small-only-bp: "max-width: 22em"; // for xtra small mobile only
     28$small-only-bp:   "max-width: 38.75em"; //  small only
     29$small-up-bp:     "min-width: 38.75em"; //  small only
     30$med-only-bp:     "max-width: 46.25em"; // med small only
    3131
    3232// Mixins and Variables
     
    4040
    4141@mixin x-small-only {
    42     @media screen and ( $x-small-only-bp ){
     42    @media screen and ($x-small-only-bp){
    4343        @content;
    4444    }
     
    4646
    4747@mixin small-only {
    48     @media screen and ( $small-only-bp ){
     48    @media screen and ($small-only-bp){
    4949        @content;
    5050    }
     
    5252
    5353@mixin medium-only-bp {
    54     @media screen and ( $med-only-bp ){
     54    @media screen and ($med-only-bp){
    5555        @content;
    5656    }
     
    5858
    5959@mixin small-up-bp {
    60     @media screen and ( $small-up-bp ){
     60    @media screen and ($small-up-bp){
    6161        @content;
    6262    }
     
    6464
    6565@mixin small-up {
    66     @media screen and ( $small-up-2017 ){
     66    @media screen and ($small-up-2017){
    6767        @content;
    6868    }
     
    7070
    7171@mixin med-small-up {
    72     @media screen and ( $med-small-up-2017 ) {
     72    @media screen and ($med-small-up-2017) {
    7373        @content;
    7474    }
     
    7676
    7777@mixin medium-up {
    78     @media screen and ( $medium-up-2017 ) {
     78    @media screen and ($medium-up-2017) {
    7979        @content;
    8080    }
     
    8282
    8383@mixin large-up {
    84     @media screen and ( $large-up-2017 ) {
     84    @media screen and ($large-up-2017) {
    8585        @content;
    8686    }
     
    8888
    8989@mixin x-large-up {
    90     @media screen and ( $x-large-up-2017 ) {
     90    @media screen and ($x-large-up-2017) {
    9191        @content;
    9292    }
     
    347347    }
    348348
    349 body.buddypress:not(.has-sidebar),
    350 body.buddypress:not(.page-two-column) {
     349    body.buddypress:not(.has-sidebar),
     350    body.buddypress:not(.page-two-column) {
    351351
    352352        #primary.content-area {
     
    20322032                    height: 3em;
    20332033
    2034                 @include small-only {
     2034                    @include small-only {
    20352035                        height: 5.2em;
    20362036                    }
     
    25762576} // close  #buddypress
    25772577
    2578 // Without direct classes on our mesages ( 'warning' )
     2578// Without direct classes on our mesages ( 'warning')
    25792579// we need to use the body classes
    25802580// todo: If this is class .warning is included in main BP styles remove from here
Note: See TracChangeset for help on using the changeset viewer.