Changeset 4226ce0 in OpenWorkouts-current for ow/static/less/modules/header.less


Ignore:
Timestamp:
Feb 9, 2019, 9:53:03 PM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current, feature/docs, master
Children:
bddf042
Parents:
56caf3d (diff), 6edc367 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'feature/ui'

File:
1 edited

Legend:

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

    r56caf3d r4226ce0  
    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    }
    2842}
    2943.logo-open {
     
    4761        flex-direction: row;
    4862        justify-content: space-between;
     63        align-items: center;
    4964    }
    5065    li{
     
    6782    }
    6883}
     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
    69147
    70148/* Add workout button with submenu -------------------------------------------*/
Note: See TracChangeset for help on using the changeset viewer.