Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.2.x #720

Open
wants to merge 12 commits into
base: v1.2.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 45 additions & 8 deletions css/annotator.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@
/* Images
-------------------------------------------------------------------- */

/*
.annotator-adder {
background-image: url(../img/annotator-icon-sprite.png);
background-repeat: no-repeat;
}
*/

.annotator-resize,
.annotator-widget::after,
Expand Down Expand Up @@ -61,6 +63,7 @@
/* NB: If you change the list of classes for which z-index is set,
you should update Annotator._setupDynamicStyle() */
.annotator-adder,
.annotator-dict,
.annotator-outer,
.annotator-notice {
z-index: 1020;
Expand All @@ -71,6 +74,7 @@
}

.annotator-adder,
.annotator-dict,
.annotator-outer,
.annotator-widget,
.annotator-notice {
Expand All @@ -89,29 +93,62 @@

.annotator-adder {
margin-top: -48px;
margin-left: -24px;
width: 48px;
margin-left: -64px;
width: 64px;
height: 48px;
background-position: left top;
}

.annotator-adder:hover {
.annotator-adder button {
display: block;
width: 60px;
height: 41px;
margin: 0 auto;
border: none;
background: none;
text-indent: 0em;
cursor: pointer;
background-position: center top;
background-color: #e6e6e6;
}

.annotator-adder:active {
background-position: center right;
.annotator-adder button:hover {
background-color: lightgrey;
}

.annotator-adder button {
.annotator-adder button:active {
background-color: grey;
}

/* Annotator Dict
-------------------------------------------------------------------- */

.annotator-dict {
margin-top: -48px;
margin-left: -0px;
width: 64px;
height: 48px;
}

.annotator-dict button {
display: block;
width: 36px;
width: 60px;
height: 41px;
margin: 0 auto;
border: none;
background: none;
text-indent: -999em;
text-indent: 0em;
cursor: pointer;
background-position: center top;
background-color: #e6e6e6;
}

.annotator-dict button:hover {
background-color: lightgrey;
}

.annotator-dict button:active {
background-color: grey;
}

/* Annotator Widget
Expand Down
Loading