Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved main action buttons to the top (just below header)
Added tooltips for the buttons
- Loading branch information
Showing
8 changed files
with
287 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
ul.actions{ | ||
width: 100%; | ||
margin: 0; | ||
padding: 0; | ||
text-align: center; | ||
background: $primary-color; | ||
clear: both; | ||
|
||
li{ | ||
display: block; margin: 0; padding: 2px 0; | ||
position: relative; | ||
background: $primary-color; | ||
color: $secondary-color; | ||
border-top: dotted 1px $secondary-color; | ||
&:first-child{border-top: none;} | ||
|
||
@media screen and (min-width: 640px){ | ||
display: inline-block; | ||
border-right: dotted 1px $secondary-color; | ||
border-bottom: none; | ||
border-top: none; | ||
&:first-child{border-left: dotted 1px $secondary-color;} | ||
} | ||
&:hover{background: #000;} | ||
} | ||
li a{margin: 0 20px;} | ||
} | ||
|
||
ul.actions li a, a.button{ | ||
display: block; | ||
margin: 0; | ||
padding: 8px 12px 4px 12px; | ||
font-size: 14px; | ||
line-height: 20px; | ||
font-family: 'brandon-grotesque'; | ||
font-weight: 400; | ||
text-decoration: none; | ||
color: $white; | ||
text-align: center; | ||
border: none; | ||
color: $secondary-color; | ||
|
||
span{ | ||
display: block; | ||
font-size: 24px; | ||
color: $white; | ||
text-align: center; | ||
} | ||
} | ||
|
||
.tooltip{ | ||
position: absolute; | ||
display: block; | ||
left: -1000em; | ||
margin-left: -130px; | ||
margin-top: 8px; | ||
width: 240px; | ||
padding: 8px 10px; | ||
display: block; | ||
background: $secondary-color; | ||
color: $primary-color; | ||
border: solid 1px rgba($black, 0.1); | ||
box-shadow: 0 0 3px rgba($black, 0.1); | ||
z-index: 100; | ||
|
||
&:before, &:after{ | ||
content: ""; | ||
display: block; | ||
position: absolute; | ||
top: -20px; | ||
left: 50%; | ||
margin-left: -10px; | ||
|
||
border: solid 10px transparent; | ||
border-bottom-color: rgba($black, 0.3); | ||
} | ||
|
||
&:after{ | ||
top: -18px; | ||
margin-left: -9px; | ||
border-width: 9px; | ||
border-bottom-color: $secondary-color; | ||
} | ||
} | ||
|
||
*:hover>.tooltip, *.hover>.tooltip{left: 50%;} |
Oops, something went wrong.