diff --git a/pr-preview/pr-14/assets/arrow-down 1.svg b/pr-preview/pr-14/assets/arrow-down.svg similarity index 100% rename from pr-preview/pr-14/assets/arrow-down 1.svg rename to pr-preview/pr-14/assets/arrow-down.svg diff --git a/pr-preview/pr-14/assets/arrow-up 1.svg b/pr-preview/pr-14/assets/arrow-up.svg similarity index 100% rename from pr-preview/pr-14/assets/arrow-up 1.svg rename to pr-preview/pr-14/assets/arrow-up.svg diff --git a/pr-preview/pr-14/assets/external-link.svg b/pr-preview/pr-14/assets/external-link.svg new file mode 100644 index 0000000..55c5f58 --- /dev/null +++ b/pr-preview/pr-14/assets/external-link.svg @@ -0,0 +1,17 @@ + diff --git a/pr-preview/pr-14/assets/photo-camera.svg b/pr-preview/pr-14/assets/photo-camera.svg new file mode 100644 index 0000000..f603bed --- /dev/null +++ b/pr-preview/pr-14/assets/photo-camera.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pr-preview/pr-14/assets/upload-image.svg b/pr-preview/pr-14/assets/upload-menu.svg similarity index 100% rename from pr-preview/pr-14/assets/upload-image.svg rename to pr-preview/pr-14/assets/upload-menu.svg diff --git a/pr-preview/pr-14/assets/upload.svg b/pr-preview/pr-14/assets/upload.svg new file mode 100644 index 0000000..7a89991 --- /dev/null +++ b/pr-preview/pr-14/assets/upload.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pr-preview/pr-14/assets/video-camera.svg b/pr-preview/pr-14/assets/video-camera.svg new file mode 100644 index 0000000..d68e94c --- /dev/null +++ b/pr-preview/pr-14/assets/video-camera.svg @@ -0,0 +1,28 @@ + \ No newline at end of file diff --git a/pr-preview/pr-14/css/index.css b/pr-preview/pr-14/css/index.css index a4205e2..724a327 100644 --- a/pr-preview/pr-14/css/index.css +++ b/pr-preview/pr-14/css/index.css @@ -238,7 +238,7 @@ img { display: none; } -.scanner-container .header .upload-image-btn { +.scanner-container .header .upload-menu-btn { width: 30px; height: 30px; cursor: pointer; @@ -247,15 +247,59 @@ img { cursor: pointer; } -.scanner-container .header .upload-image-icon { +.scanner-container .header .upload-menu-icon { width: 24px; height: 24px; } -.scanner-container .header .upload-image-icon:hover { +.scanner-container .header .upload-menu-list { + position: absolute; + top: 54px; /* Header height 46px + triangle 8px*/ + left: 70px; + background-color: #000000; + z-index: 3; + display: none; + border-right: #aaaaaa; +} + +/* Tooltip Triangle */ +.scanner-container .header .upload-menu-list::after { + content: ""; + position: absolute; + top: -16px; /* At the top of the information list */ + left: 1rem; /* 1rem margin */ + /* margin-left: -5px; */ + border-width: 8px; + border-style: solid; + border-color: transparent transparent #2b2b2b transparent; /* triangle */ +} + +.scanner-container .header .upload-menu-list .menu-item { + width: 100%; + border-bottom: 1px solid rgb(55, 55, 55); + padding: 10px; + cursor: pointer; + background-color: #2b2b2b; + display: flex; + align-items: center; + justify-content: space-between; + gap: 5px; + overflow: hidden; + user-select: none; + color: #aaaaaa; + font-size: 12px; + font-family: OpenSans-Regular; + text-decoration: none; +} + +.scanner-container .header .upload-menu-list .menu-item:hover { opacity: 0.8; } +.scanner-container .header .upload-menu-list .menu-item:last-child { + border: unset; +} + .result-container { position: absolute; width: 100%; diff --git a/pr-preview/pr-14/index.html b/pr-preview/pr-14/index.html index 81638c7..7185249 100644 --- a/pr-preview/pr-14/index.html +++ b/pr-preview/pr-14/index.html @@ -47,45 +47,24 @@