Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/cdevroe/unmark
Browse files Browse the repository at this point in the history
  • Loading branch information
cdevroe committed Mar 20, 2019
2 parents 8eebdcc + b405dd2 commit fc7f59a
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 25 deletions.
24 changes: 12 additions & 12 deletions assets/css/partials/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@
height: 100%;
position: absolute;
background: $color_white;
padding-top: 80px;
margin-top: 80px;
width: 100%;
@include xs {
//width: 53%;
width: calc(100% - 280px);
padding-top: 60px;
margin-top: 52px;
}
.marks-heading {
color: $color_lightest;
position: fixed;
width: 100%;
z-index: 200;
height: 60px;
height: 52px;
left: 0;
top: 60px;
top: 52px;
background: transparent;
margin: 0;
background: $color_white;
Expand Down Expand Up @@ -86,7 +86,7 @@
font-size: 11px;
line-height: 28px;
background: $color_white;
height: 60px;
height: 52px;
position: relative;
@include sm {
padding: 16px 20px 16px 30px;
Expand All @@ -95,7 +95,7 @@
.search-bar {
height: 100%;
width: 100%;
padding: 14px 100px 16px 18px;
padding: 10px 100px 10px 18px;
background: $color_white;
position: absolute;
display: none;
Expand Down Expand Up @@ -133,20 +133,20 @@
button {
display: block;
height: 26px;
width: 42px;
width: 40px;
background: $color_blue;
border-radius: 4px;
border-radius: 3px;
color: $color_white;
padding: 4px 10px 6px;
text-align: center;
@include title-text;
font-weight: 600;
font-size: 13px;
position: absolute;
right: 48px;
right: 42px;
top: 50%;
margin-top: -13px;
box-shadow: 0 1px 3px 0 transparentize($color_darkest, .93), 0 2px 5px 0 transparentize($color_darkest, .9), 0 12px 40px -20px transparentize(white, .5) inset;
box-shadow: 0 1px 3px 0 transparentize($color_darkest, .96), 0 2px 5px 0 transparentize($color_darkest, .94), 0 12px 40px -20px transparentize(white, .5) inset;
@include sm {
height: 32px;
margin-top: -17px;
Expand All @@ -161,7 +161,7 @@
position: absolute;
top: 50%;
margin-top: -14px;
right: 12px;
right: 9px;
border-radius: 50%;
@include sm {
width: 32px;
Expand Down Expand Up @@ -232,7 +232,7 @@
h2 {
font-size: 13px;
font-weight: 600;
margin: 7px 0;
margin: 3px 0;
@include sm {
font-size: 16px;
margin: 9px 0;
Expand Down
8 changes: 4 additions & 4 deletions assets/css/partials/_mobile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

.mobile-header {
display: block;
height: 60px;
height: 52px;
position: fixed;
background: $color_darker;
width: 100%;
Expand All @@ -19,7 +19,7 @@
margin-top: -10px;
left: 50%;
margin-left: -29px;
width: 58px;
width: 64px;
height: 18px;
text-align: center;
svg {
Expand All @@ -28,8 +28,8 @@
}
}
.menu-activator {
width: 64px;
height: 60px;
width: 52px;
height: 52px;
position: absolute;
left: 0;
top: 0;
Expand Down
4 changes: 2 additions & 2 deletions assets/css/partials/_scaffolding.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ body {
position: absolute;
width: 200%;
height: 100%;
top: 60px;
top: 52px;
left: -20%;
-webkit-transition: all .3s ease-in-out;
transition: all .3s ease-in-out;
Expand All @@ -75,7 +75,7 @@ body {
@include xs {
width: calc(100% + 560px);
left: -280px;
height: calc(100% - 60px);
height: calc(100% - 52px);
}
&.nav-active {
left: 0;
Expand Down
14 changes: 7 additions & 7 deletions assets/css/partials/_stream.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.marks_list {
.mark {
border-bottom: 1px solid $color_lighter;
padding: 16px 52px 18px 52px;
padding: 18px 52px 20px 52px;
position: relative;
-webkit-transition: all .3s;
transition: all .3s;
Expand Down Expand Up @@ -61,15 +61,15 @@
h2 {
margin: 0 0 4px;
font-weight: 400;
font-size: 15px;
font-size: 17px;
line-height: 1.25;
@include sm {
margin:0 0 10px;
font-size: 16px;
line-height: 1.4;
font-size: 18px;
line-height: 1.25;
}
@include md {
font-size: 18px;
font-size: 20px;
}
@include lg {
font-size: 24px;
Expand Down Expand Up @@ -203,8 +203,8 @@
fill: $color_dark_gray;
}
}
&:hover {
@include sm {
@include hoverable {
&:hover {
border-color: transparentize($color_dark_gray, .1);
i {
opacity: .4;
Expand Down
5 changes: 5 additions & 0 deletions assets/css/partials/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ $nav_pane_lg: $nav_lg - $nav_rail_lg;
@content;
}
}
@mixin hoverable {
@media (hover: hover) {
@content;
}
}

@mixin drop-shadow-border() {
box-shadow: 0 2px 3px 0 rgba(0,0,0,0.08), 0 1px 0 0 rgba(0,0,0,0.02);
Expand Down

0 comments on commit fc7f59a

Please sign in to comment.