-
Notifications
You must be signed in to change notification settings - Fork 290
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added popup message, when user opens draw annotation tool [Enhancemen…
…t] (#299) * Added popup message, when user opens draw annotation tool The popup message display : 'For more options, right click anywhere on image' Co-Authored-By: Chirag Jain <chirag.18je0254@cse.iitism.ac.in>
- Loading branch information
Showing
3 changed files
with
79 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
#popup-container { | ||
z-index: 700; | ||
} | ||
#popup-container .popup-msg { | ||
background-color: #111; | ||
color: #fff; | ||
border: 1px solid #ddd; | ||
bottom: 25px; | ||
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1); | ||
left: 25px; | ||
padding: 15px; | ||
position: absolute; | ||
z-index: 7500; | ||
font-size: medium; | ||
} | ||
|
||
@media only screen and (max-width: 720px) { | ||
#popup-container .popup-msg { | ||
bottom: 0px; | ||
left: 0px; | ||
} | ||
} | ||
|
||
.slide-in { | ||
animation-name: slideIn; | ||
animation-duration: 0.8s; | ||
} | ||
|
||
@keyframes slideIn { | ||
from { | ||
transform: translateX(-400px); | ||
} | ||
to { | ||
transform: translateX(0); | ||
} | ||
} | ||
.slide-out { | ||
animation-name: slideOut; | ||
animation-duration: 0.8s; | ||
} | ||
|
||
@keyframes slideOut { | ||
from { | ||
transform: translateY(0); | ||
opacity: 1; | ||
} | ||
to { | ||
transform: translateY(80px); | ||
opacity: 0; | ||
} | ||
} |
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