Commit 6c31cb14 authored by Randall Leeds's avatar Randall Leeds

clean up shadow and hover effect transitions

parent ff476117
...@@ -131,7 +131,7 @@ $iconset: iconset_wireframe; ...@@ -131,7 +131,7 @@ $iconset: iconset_wireframe;
// Styles for the sidebar // Styles for the sidebar
.hyp-sidebar { .hyp-sidebar {
@include single-transition(all, 0.6s, ease-in-out); @include single-transition('margin-left,width', 0.6s, ease-in-out);
background: url('../images/noise_1.png'); background: url('../images/noise_1.png');
background-attachment: fixed; background-attachment: fixed;
color: #666666; color: #666666;
...@@ -455,7 +455,7 @@ $threadexp-width: 1em; ...@@ -455,7 +455,7 @@ $threadexp-width: 1em;
//ANNOTATION DETAIL //ANNOTATION DETAIL
.hyp-detail { .hyp-detail {
@include single-transition(all, 0.1s, ease-in-out); background-color: white;
margin-left: -$thread-padding / 2; margin-left: -$thread-padding / 2;
& > .hyp-reply > .hyp-meta > .annotator-controls { & > .hyp-reply > .hyp-meta > .annotator-controls {
...@@ -472,15 +472,23 @@ $threadexp-width: 1em; ...@@ -472,15 +472,23 @@ $threadexp-width: 1em;
//ANNOTATION REPLY //ANNOTATION REPLY
.hyp-reply { .hyp-reply {
background: white;
border-left: 1px dotted #999999; border-left: 1px dotted #999999;
padding-left: $thread-padding; padding-left: $thread-padding;
padding-top: .5em; padding-top: .5em;
margin-left: $thread-padding / 2; margin-left: $thread-padding / 2;
.hyp-detail {
@include single-transition(
"box-shadow,-moz-box-shadow,-webkit-box-shadow,-o-box-shadow,left,z-index",
.25s, ease-in-out, .125s);
}
.hyp-detail.hyp-hover { .hyp-detail.hyp-hover {
@include box-shadow(-.1em 0 .5em #999); @include smallshadow(2px, 2px, .2);
outline-left: thin solid $gray-lighter; outline-left: thin solid $gray-lighter;
left: 3px; left: 2px;
z-index: 10;
} }
.hyp-body { .hyp-body {
...@@ -571,11 +579,17 @@ $threadexp-width: 1em; ...@@ -571,11 +579,17 @@ $threadexp-width: 1em;
& > .hyp-threadexp { & > .hyp-threadexp {
display: none; display: none;
} }
& .annotator-listing > .hyp-detail {
padding-right: 1em;
margin-right: -1em;
}
} }
//EDITOR //EDITOR
.hyp-writer { .hyp-writer {
@include tinyshadow(0, 2px, 0.2); @include smallshadow(0, 2px, 0.2);
background-color: white;
textarea { textarea {
width: 100%; width: 100%;
max-width: 100%; max-width: 100%;
...@@ -595,6 +609,9 @@ $threadexp-width: 1em; ...@@ -595,6 +609,9 @@ $threadexp-width: 1em;
//BUCKET VIEW REPLY SUMMARIES //BUCKET VIEW REPLY SUMMARIES
.hyp-summary { .hyp-summary {
@include single-transition(
"box-shadow,-moz-box-shadow,-webkit-box-shadow,bottom",
.1s, ease-in-out);
line-height: 1.25em; line-height: 1.25em;
background: hsla(0, 0%, 100%, 1); background: hsla(0, 0%, 100%, 1);
@include smallshadow(2px, 3px, 0.2); @include smallshadow(2px, 3px, 0.2);
......
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