Changes in ow/static/less/modules/header.less [2a71053:5cbc4a0] in OpenWorkouts-current


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/static/less/modules/header.less

    r2a71053 r5cbc4a0  
    2626        }
    2727    }
    28     a {
    29         @media (max-width: @screen-m){
    30             content: "";
    31             display: inline-block;
    32             width: 34px;
    33             height: 34px;
    34             background-image: url('/static/media/img/logo-openworkouts.png');
    35             background-size: 100%;
    36             background-repeat: no-repeat;
    37             span {
    38                 display: none !important;
    39             }
    40         }
    41     }
    4228}
    4329.logo-open {
     
    6147        flex-direction: row;
    6248        justify-content: space-between;
    63         align-items: center;
    6449    }
    6550    li{
     
    8267    }
    8368}
    84 
    85 .icon-dashboard,
    86 .icon-profile,
    87 .icon-logout {
    88     &::before {
    89         content: "";
    90         display: inline-block;
    91     }
    92     span {
    93         display: none;
    94     }
    95     @media (min-width: @screen-m){
    96         &::before {
    97             display: none;
    98         }
    99         span{
    100             display: inline-block;
    101         }
    102     }
    103     &:hover {
    104         opacity: .5;
    105     }
    106 }
    107 
    108 .icon-dashboard {
    109     &::before {
    110         content: "☰";
    111         .font-size(30);
    112         line-height: 0em;
    113         position: relative;
    114         top: 3px;
    115         margin: 0;
    116     }
    117 }
    118 
    119 .icon-profile {
    120     padding: 1em 1.25em !important;
    121     &::before {
    122         position: relative;
    123         top: 3px;
    124         width: 20px;
    125         height: 20px;
    126         background-image: url('/static/media/img/icon-user.svg');
    127         background-size: 100%;
    128         margin: 0;
    129     }
    130 }
    131 
    132 
    133 .icon-logout {
    134     padding: 1em 1.25em !important;
    135     &::before {
    136         position: relative;
    137         top: 3px;
    138         width: 20px;
    139         height: 20px;
    140         background-image: url('/static/media/img/icon-logout.svg');
    141         background-size: 100%;
    142         margin: 0;
    143     }
    144 }
    145 
    146 
    14769
    14870/* Add workout button with submenu -------------------------------------------*/
Note: See TracChangeset for help on using the changeset viewer.