Commit 947a4ee7 by Frances Botsford Committed by David Baumgold

adding some finesse to the PDF textbooks page

parent 0673c79f
...@@ -21,7 +21,7 @@ body.course.textbooks { ...@@ -21,7 +21,7 @@ body.course.textbooks {
color: $gray; color: $gray;
.button { .button {
margin-left: 20px; margin-left: $baseline;
} }
} }
...@@ -47,7 +47,7 @@ body.course.textbooks { ...@@ -47,7 +47,7 @@ body.course.textbooks {
@include transition(rotate .15s ease-in-out .25s); @include transition(rotate .15s ease-in-out .25s);
@include font-size(21); @include font-size(21);
display: inline-block; display: inline-block;
width: 15px; width: ($baseline*.75);
vertical-align: text-bottom; vertical-align: text-bottom;
} }
...@@ -90,9 +90,22 @@ body.course.textbooks { ...@@ -90,9 +90,22 @@ body.course.textbooks {
} }
.actions { .actions {
@include transition(opacity .15s .25s ease-in-out);
@include clearfix();
display: inline-block;
vertical-align: middle;
float: right;
width: flex-grid(2,9);
margin: ($baseline/2) 0 0 flex-gutter();
opacity: 0.0;
pointer-events: none;
text-align: right;
/*
position: absolute; position: absolute;
top: $baseline; top: $baseline;
right: $baseline; right: $baseline;
*/
.action { .action {
display: inline-block; display: inline-block;
...@@ -117,11 +130,13 @@ body.course.textbooks { ...@@ -117,11 +130,13 @@ body.course.textbooks {
} }
} }
} }
} }
&:hover .actions {
opacity: 1.0;
}
.edit-textbook { .edit-textbook {
@include box-sizing(border-box); @include box-sizing(border-box);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment