فهرست منبع

Website: mobile view adjustments & navbar ui tweaks

Nikita Krupin 3 سال پیش
والد
کامیت
ffa79fa9a4

+ 17 - 21
Website/layouts/default.vue

@@ -1,30 +1,27 @@
 <template>
   <v-app id="inspire" dark>
-    <v-app-bar app color="lighten-2" flat>
-
-      <v-tabs centered class="ml-n9" color="primary" router>
+    <v-app-bar app color="ma-4 glassy" flat style="border-radius: 1rem; overflow: hidden">
+      <v-tabs centered center-active color="primary" router show-arrows>
         <v-tab v-for="link in links" :key="link.path" :to="link.path">
           {{ link.name }}
         </v-tab>
       </v-tabs>
     </v-app-bar>
+    
+    <v-img src="/ui/abstract.svg" style="position: absolute; left: 0; right: 0; width: 100%; height: 100%;" />
 
-    <v-main>
+    <v-main class="pt-4">
 
-      <v-img src="/ui/abstract.svg" style="position: absolute; top: 0; right: 0; width: 100%; height: 100%;" />
-      
+      <section style="height: calc(100vh - 1rem); padding-top: 5rem; padding-bottom: 5rem; overflow-y: auto;">
+          <center
+            class="mx-auto d-flex flex-column justify-center items-center"
+            style="width: 90vw; min-height: 100%; overflow-y: scroll;">
 
-      <section style="position: relative; height: 100%; overflow-y: auto;">
-        <div class="center" style="width: 90vw;">
-          <center style="width: 90vw">
-            
             <nuxt />
 
           </center>
-        </div>
       </section>
 
-
     </v-main>
   </v-app>
 </template>
@@ -34,18 +31,17 @@ html, body {
   overflow: hidden;
 }
 
-section {
-  height: 90vh;
-  width: 100vw;
-}
 .mainAltButton {
   margin: 0.25em;
 }
-.center {
-  position: absolute;
-  top: 50%;
-  left: 50%;
-  transform: translate(-50%, -50%);
+
+/* Glassmorphism effect */
+.glassy {
+  backdrop-filter: blur(16px) saturate(180%);
+  -webkit-backdrop-filter: blur(16px) saturate(180%);
+  background-color: rgba(42, 42, 42, 0.75) !important;
+  border-radius: 12px;
+  /* border: 1px solid rgba(255, 255, 255, 0.125); */
 }
 </style>
 

+ 2 - 2
Website/pages/donate.vue

@@ -1,8 +1,8 @@
 <template>
   <div>
     
-    <h1 style="font-size: 3em; margin-bottom: 0em;">Donate</h1>
-    <p style="color: #999; margin-bottom: 3em;">You can support our efforts to keep the internet free with a donation!</p>
+    <h1 :style="$vuetify.breakpoint.xs ? 'font-size: 2rem;' : 'font-size: 3rem;'" >Donate</h1>
+    <p style="color: #999; margin-top: .5rem; margin-bottom: 2rem;">You can support our efforts to keep the internet free with a donation!</p>
     <v-btn class="mainAltButton" :href="patreonLink" target="_blank">
       <v-icon style="margin-right: 0.5em;">mdi-patreon</v-icon>
       Patreon

+ 2 - 2
Website/pages/faq.vue

@@ -2,8 +2,8 @@
   <div>
     
 
-    <h1 style="font-size: 3em; margin-bottom: 0em;">Frequently Asked Questions</h1>
-    <p style="color: #999; margin-bottom: 3em;">Still have questions? Feel free to join our Discord!</p>
+    <h1 :style="$vuetify.breakpoint.xs ? 'font-size: 2rem;' : 'font-size: 3rem;'" >Frequently Asked Questions</h1>
+    <p style="color: #999; margin-top: .5rem; margin-bottom: 2rem;">Still have questions? Feel free to join our Discord!</p>
 
     <v-expansion-panels focusable>
       <v-expansion-panel v-for="(item, i) in items" :key="i" style="width: 50vw; min-width: 300px;">

+ 5 - 6
Website/pages/index.vue

@@ -1,16 +1,16 @@
 <template>
   <div>
 
-    <svg id="thumbslogo" width="150" height="150" viewBox="0 0 240 240" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path d="M139.113,65.266l-57.339,-0c-5.288,-0 -9.812,3.185 -11.723,7.772l-19.241,44.916c-0.573,1.466 -0.892,2.995 -0.892,4.651l0,12.742c0,7.009 5.734,12.743 12.742,12.743l40.202,-0l-6.053,29.115l-0.191,2.039c0,2.612 1.083,5.033 2.803,6.754l6.754,6.689l41.985,-41.985c2.294,-2.294 3.695,-5.479 3.695,-8.984l0,-63.71c0,-7.009 -5.734,-12.742 -12.742,-12.742Zm25.485,-0l-0,76.452l25.484,0l-0,-76.452l-25.484,-0Z" style="fill:url(#_Linear1);fill-rule:nonzero;"/><g id="Thumb-Down--m.io-" serif:id="Thumb Down (m.io)"></g><defs><linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(152.906,153.295,-153.295,152.906,43.6442,45.958)"><stop offset="0" style="stop-color:#ff4444;stop-opacity:1"/><stop offset="0.56" style="stop-color:#4c0000;stop-opacity:1"/><stop offset="1" style="stop-color:#000;stop-opacity:1"/></linearGradient></defs></svg>
+    <svg id="thumbslogo" width="150" height="150" viewBox="0 0 240 240" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><path d="M139.113,65.266l-57.339,-0c-5.288,-0 -9.812,3.185 -11.723,7.772l-19.241,44.916c-0.573,1.466 -0.892,2.995 -0.892,4.651l0,12.742c0,7.009 5.734,12.743 12.742,12.743l40.202,-0l-6.053,29.115l-0.191,2.039c0,2.612 1.083,5.033 2.803,6.754l6.754,6.689l41.985,-41.985c2.294,-2.294 3.695,-5.479 3.695,-8.984l0,-63.71c0,-7.009 -5.734,-12.742 -12.742,-12.742Zm25.485,-0l-0,76.452l25.484,0l-0,-76.452l-25.484,-0Z" style="fill:url(#_Linear1);fill-rule:nonzero;"/><g id="Thumb-Down--m.io-" serif:id="Thumb Down (m.io)"></g><defs><linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(152.906,153.295,-153.295,152.906,43.6442,45.958)"><stop offset="0" style="stop-color:#ff4444;stop-opacity:1"/><stop offset="0.56" style="stop-color:#440000;stop-opacity:1"/><stop offset="1" style="stop-color:#000;stop-opacity:1"/></linearGradient></defs></svg>
 
-    <h1 style="font-size: 3em; margin-bottom:0;">Return YouTube Dislike</h1>
-    <div style="color: #999">
+    <h1 :style="$vuetify.breakpoint.xs ? 'font-size: 2rem;' : 'font-size: 3rem;'" >Return YouTube Dislike</h1>
+    <div class="mb-10" style="color: #999">
       <p style="margin-top: 0">Browser extension and an API that show you dislikes on youtube</p>
     </div>
 
-    <v-btn :to="installLink" color="primary lighten-1" style="font-size: 1.5em; padding: 1em; margin-bottom: 0.5em;">
-      <v-icon large style="margin-right: 0.5em;">mdi-tray-arrow-down</v-icon>
+    <v-btn :to="installLink" color="primary lighten-1 px-3" class="black--text" style="font-size: 1.5em; padding: 1em; margin-bottom: 0.5em;">
       Install
+      <v-icon large class="ml-16 pl-9">mdi-tray-arrow-down</v-icon>
     </v-btn>
 
     <br>
@@ -32,7 +32,6 @@
 #thumbslogo {
   opacity: 0;
   transform: scale(0) rotate(180deg);
-  margin-top: -150px;
   animation: popin 1s 1s ease-in-out 1 forwards, thumbsflip 2s 3s ease-in-out infinite alternate;
 }
 @keyframes popin {

+ 7 - 7
Website/pages/install.vue

@@ -1,11 +1,11 @@
 <template>
   <div>
 
-    <h1 style="font-size: 3em; margin-bottom: 0;">Select Your Platform</h1>
+    <h1 :style="$vuetify.breakpoint.xs ? 'font-size: 2rem;' : 'font-size: 3rem;'" >Select Your Platform</h1>
 
-    <div style="color: #999">
-      <p style="margin-bottom: 0;"> This is an <b>ALPHA version!</b> It may be slow. It may be buggy.</p>
-      <p style="margin-bottom: 1em;">Available for Firefox and all Chromium browsers (Chrome/Edge/Opera/Brave).</p>
+    <div style="color: #999;">
+      <p style=" margin-top: .5rem; margin-bottom: 0;"> This is an <b>ALPHA version!</b> It may be slow. It may be buggy.</p>
+      <p style="margin-bottom: 1rem;">Available for Firefox and all Chromium browsers (Chrome/Edge/Opera/Brave).</p>
     </div>
 
     <v-btn class="mainAltButton" :href="firefoxLink" target="_blank">
@@ -30,7 +30,7 @@
 
     <h3 style="margin-top: 3em; margin-bottom:0">Other Platforms</h3>
     <div style="color: #999">
-      <p style="margin-top: 0em; margin-bottom:0;">If your browser is not yet supported, try this UserScript.</p>
+      <p style="margin-top: .5rem; margin-bottom:.5rem;">If your browser is not yet supported, try this UserScript.</p>
     </div>
 
     <v-btn class="mainAltButton" :href="scriptLink" target="_blank">
@@ -39,8 +39,8 @@
     </v-btn>
 
     <h3 style="margin-top: 3em;">Third Party Implementations</h3>
-    <div style="color: #999">
-      <p style="margin-bottom: 0;">No liability on our side, use at your own risk.</p>
+    <div style="color: #999;">
+      <p style="margin-top: .5rem; margin-bottom: .5rem;">No liability on our side, use at your own risk.</p>
     </div>
     <v-btn class="mainAltButton" :href="iosJailbreakLink" target="_blank">
       <v-icon style="margin-right: 0.5em;">mdi-apple</v-icon>

+ 2 - 2
Website/pages/links.vue

@@ -1,10 +1,10 @@
 <template>
   <div style="height: 100%">
     
-    <h1 style="font-size: 3em; margin-bottom: 0;">Project Links</h1>
+    <h1 :style="$vuetify.breakpoint.xs ? 'font-size: 2rem;' : 'font-size: 3rem;'" >Project Links</h1>
           
     <div style="color: #999">
-      <p style="margin-bottom: 1em;">Links to the project and it's developers</p>
+      <p style="margin-top: .5rem; margin-bottom: .5em;">Links to the project and it's developers</p>
     </div>
 
     <v-btn class="mainAltButton" :href="githubLink" target="_blank">

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
Website/static/ui/abstract.svg


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است