Commit 8c7a077f authored by Jean Michel Rouly's avatar Jean Michel Rouly

Updated visual style of inline annotation triggers.

parent 2a44dbd9
......@@ -9,9 +9,17 @@
[rel~="annotation"] {
cursor: pointer;
text-decoration: none;
box-sizing: border-box;
background-color: rgba( 255, 255, 0, 0.2 );
border-radius: 20px;
border-left: 5px solid #EBEBEB;
border-right: 5px solid #EBEBEB;
border-top: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF;
-webkit-transition: all 0.4s ease;
-moz-transition: all 0.4s ease;
-o-transition: all 0.4s ease;
......@@ -23,40 +31,37 @@
[rel~="annotation"].active,
[rel~="annotation"]:hover {
background-color: rgba( 255, 255, 0, 0.6 );
border-top: 1px solid #C9C9C9;
border-bottom: 1px solid #C9C9C9;
border-left: 5px solid #C9C9C9;
border-right: 5px solid #C9C9C9;
}
/* Styles for block display annotations. */
[rel~="annotation"]:not(.inline) {
box-sizing: border-box;
display: block;
margin: 5px 0px;
padding: 10px 0px;
border-radius: 20px;
border-left: 5px solid #EBEBEB;
border-right: 5px solid #EBEBEB;
border-top: 1px solid #FFFFFF;
border-bottom: 1px solid #FFFFFF;
}
/* Active/Hover styles for block display annotations. */
[rel~="annotation"].active:not(.inline),
[rel~="annotation"]:hover:not(.inline) {
border-top: 1px solid #C9C9C9;
border-bottom: 1px solid #C9C9C9;
border-left: 5px solid #C9C9C9;
border-right: 5px solid #C9C9C9;
}
[rel~="annotation"]:hover:not(.inline) { }
/* Styles for inline-only annotations. */
[rel~="annotation"].inline { }
[rel~="annotation"].inline {
display: inline-block;
margin: 3px 3px;
padding: 5px 10px;
}
/* Active/Hover styles for inline-only annotations. */
[rel~="annotation"].inline.active,
......
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