Spaces:
Running
Running
| <html> | |
| <head> | |
| <title>My Extension</title> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> | |
| <link href="https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap" rel="stylesheet"> | |
| <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet"> | |
| <style> | |
| body { | |
| width: 100%; | |
| font-family: 'Poppins', sans-serif; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| background: linear-gradient(135deg, #f5f7fa, #ffffff); | |
| margin: 0; | |
| padding: 0; | |
| border-radius: 10px; | |
| } | |
| nav { | |
| width: 100%; | |
| text-align: center; | |
| background-color: #3571ff; | |
| color: #ffffff; | |
| font-size: 24px; | |
| padding: 15px 0; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| z-index: 1000; | |
| position: fixed; | |
| top: 0; | |
| } | |
| .cont { | |
| margin-top: 80px; /* Adjusted to give space for the fixed nav */ | |
| flex-grow: 1; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| width: 100%; | |
| padding: 20px; | |
| box-sizing: border-box; | |
| } | |
| .output { | |
| font-size: 28px; | |
| background: #ffffff; | |
| padding: 15px; | |
| border-radius: 5px; | |
| width: 100%; | |
| text-align: center; | |
| margin-bottom: 40px; | |
| margin-top: 20px; | |
| height: 100%; | |
| font-weight: 700; | |
| } | |
| #output p { | |
| margin: 0; | |
| } | |
| .bar-1 { | |
| justify-content: space-between; | |
| align-items: center; | |
| width: 100%; | |
| margin-bottom: 20px; | |
| text-align: center; | |
| } | |
| .button, .copybtn { | |
| padding: 20px; | |
| font-size: 18px; | |
| font-weight: 700; | |
| cursor: pointer; | |
| border: none; | |
| border-radius: 5px; | |
| background-color: #4caf50; | |
| color: #ffffff; | |
| transition: background-color 0.3s ease-in-out, transform 0.3s; | |
| } | |
| .button:hover, .copybtn:hover { | |
| background-color: #45a049; | |
| transform: translateY(-2px); | |
| } | |
| .button:active, .copybtn:active { | |
| background-color: #3e8e41; | |
| transform: translateY(0); | |
| } | |
| .copybtn[disabled] { | |
| background-color: #ccc; | |
| cursor: not-allowed; | |
| } | |
| .copied-message { | |
| width: 100px; | |
| position: fixed; | |
| bottom: 50%; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| background-color: #4caf50; | |
| color: white; | |
| padding: 10px 20px; | |
| border-radius: 5px; | |
| font-size: 16px; | |
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| } | |
| .footer { | |
| width: 100%; | |
| background-color: #333; | |
| color: #fff; | |
| text-align: center; | |
| padding: 10px 0; | |
| position: fixed; | |
| bottom: 0; | |
| } | |
| .modal { | |
| display: none; | |
| position: fixed; | |
| z-index: 1000; | |
| left: 0; | |
| top: 0; | |
| width: 100%; | |
| height: 100%; | |
| overflow: auto; | |
| background-color: rgba(0, 0, 0, 0.5); | |
| } | |
| .modal-content { | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| background-color: #fff; | |
| padding: 20px; | |
| border-radius: 10px; | |
| text-align: center; | |
| font-size: 20px; | |
| color: #4caf50; | |
| } | |
| .signin-modal-content { | |
| font-size: 20px; | |
| color: #000; | |
| } | |
| .sidebar { | |
| position: fixed; | |
| width: 150px; | |
| left: -150px; | |
| height: 100%; | |
| background-color: #ebf5ff; | |
| box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); | |
| transition: all 0.5s ease; | |
| z-index: 1000; | |
| } | |
| .sidebar header { | |
| font-size: 17px; | |
| color: #DBE2EF; | |
| line-height: 52px; | |
| text-align: center; | |
| background-color: #3571ff; | |
| user-select: none; | |
| font-weight: 700; | |
| } | |
| .sidebar a { | |
| font-size: 15px; | |
| display: block; | |
| height: 60px; | |
| width: 140px; | |
| color: #000000; | |
| line-height: 60px; | |
| padding-left: 10px; | |
| padding-bottom: 10px; | |
| box-sizing: border-box; | |
| border-left: 5px solid transparent; | |
| text-decoration: none; | |
| transition: all 0.3s ease; | |
| } | |
| .sidebar a:hover, .sidebar a.active { | |
| border-left: 5px solid #3571ff; | |
| background-color: #8cadfa; | |
| color: #fff; | |
| } | |
| .sidebar a i { | |
| font-size: 17px; | |
| margin-right: 10px; | |
| } | |
| .sidebar a span { | |
| letter-spacing: 1px; | |
| text-transform: uppercase; | |
| } | |
| #check { | |
| display: none; | |
| position: fixed; | |
| top: 15px; | |
| left: 15px; | |
| } | |
| label #btn, label #cancel { | |
| position: fixed; | |
| left: 10px; | |
| cursor: pointer; | |
| color: #fff; | |
| border-radius: 5px; | |
| margin-bottom: 2px; | |
| margin-left: 2px; | |
| margin-right: 2px; | |
| font-size: 20px; | |
| background-color: #3571ff; | |
| padding: 10px; | |
| transition: all 0.5s ease; | |
| z-index: 1100; | |
| } | |
| label #cancel { | |
| opacity: 0; | |
| visibility: hidden; | |
| } | |
| #check:checked ~ .sidebar { | |
| left: 0; | |
| } | |
| #check:checked ~ label #btn { | |
| opacity: 0; | |
| visibility: hidden; | |
| } | |
| #check:checked ~ label #cancel { | |
| opacity: 1; | |
| visibility: visible; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <nav> | |
| <input type="checkbox" id="check"> | |
| <label for="check"> | |
| <i class="fas fa-times" id="cancel" style="font-size: 15px;"></i> | |
| </label> | |
| TabOverviewAI | |
| </nav> | |
| <div class="cont"> | |
| <div id="output" class="output">Unlocking the power of current tab summarization—transforming browsing experiences with seamless, AI-driven content distillation.</div> | |
| <div class="bar-1"> | |
| <button id="sendUrlButton" class="button">Add Now</button> | |
| </div> | |
| </div> | |
| <div class="footer"> | |
| TabOverviewAI. | |
| </div> | |
| </body> | |
| </html> | |