diff options
author | ManeraKai <manerakai@protonmail.com> | 2022-02-27 16:18:21 +0300 |
---|---|---|
committer | ManeraKai <manerakai@protonmail.com> | 2022-02-27 16:18:21 +0300 |
commit | 795c760d8ee2d3217c0fd8e27942aa161a900973 (patch) | |
tree | 21e9312b51e65086d17ff389ff3b828978d9cd77 /src/pages | |
parent | Merge branch 'master' of https://github.com/libredirect/libredirect (diff) | |
download | libredirect-795c760d8ee2d3217c0fd8e27942aa161a900973.zip |
Improving the design #60
Diffstat (limited to 'src/pages')
57 files changed, 432 insertions, 83 deletions
diff --git a/src/pages/options/general/general.html b/src/pages/options/general/general.html index 6860264a..79b8dfb9 100644 --- a/src/pages/options/general/general.html +++ b/src/pages/options/general/general.html @@ -12,9 +12,10 @@ <body class="option"> <section class="links"> <div class="title"> - <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> - <path d="M0 0h24v24H0V0z" fill="none" /> - <path d="M12 5.69l5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z" /> + <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="26px" viewBox="0 0 24 24" + width="26px" fill="currentColor"> + <path + d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z" /> </svg> <a href="../general/general.html" class="selected">General</a> </div> @@ -125,19 +126,41 @@ <div class="buttons buttons-inline"> <a class="button button-inline" id="update-instances"> + <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> + <path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" /> + </svg> Update Instances </a> <label for="import-settings" class="button button-inline"> + <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> + <path + d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" /> + </svg> Import Settings <input type="file" class="button button-inline" style="display:none;" id="import-settings"> </label> <a class="button button-inline" id="export-settings"> + <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> + <path + d="M10.09 15.59L11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" /> + </svg> Export Settings </a> <a class="button button-inline" id="reset-settings"> + <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" + width="24px" fill="currentColor"> + <g> + <g> + <path + d="M12,5V2L8,6l4,4V7c3.31,0,6,2.69,6,6c0,2.97-2.17,5.43-5,5.91v2.02c3.95-0.49,7-3.85,7-7.93C20,8.58,16.42,5,12,5z" /> + <path + d="M6,13c0-1.65,0.67-3.15,1.76-4.24L6.34,7.34C4.9,8.79,4,10.79,4,13c0,4.08,3.05,7.44,7,7.93v-2.02 C8.17,18.43,6,15.97,6,13z" /> + </g> + </g> + </svg> Reset Settings </a> </div> diff --git a/src/pages/options/general/general.js b/src/pages/options/general/general.js index f8a6e46a..08b356e1 100644 --- a/src/pages/options/general/general.js +++ b/src/pages/options/general/general.js @@ -21,11 +21,12 @@ themeElement.addEventListener("change", (event) => { }); document.getElementById("update-instances").addEventListener("click", () => { + let oldHtml = document.getElementById("update-instances").innerHTML document.getElementById("update-instances").innerHTML = '...'; if (commonHelper.updateInstances()) { document.getElementById("update-instances").innerHTML = 'Done!'; new Promise(resolve => setTimeout(resolve, 1500)).then( // sleep 1500ms - () => document.getElementById("update-instances").innerHTML = 'Update Instances' + () => document.getElementById("update-instances").innerHTML = oldHtml ) } else diff --git a/src/pages/options/imgur/imgur.html b/src/pages/options/imgur/imgur.html index 65c35b64..49fb6d42 100644 --- a/src/pages/options/imgur/imgur.html +++ b/src/pages/options/imgur/imgur.html @@ -13,9 +13,10 @@ <body class="option"> <section class="links"> <div class="title"> - <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> - <path d="M0 0h24v24H0V0z" fill="none" /> - <path d="M12 5.69l5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z" /> + <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="26px" viewBox="0 0 24 24" + width="26px" fill="currentColor"> + <path + d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z" /> </svg> <a href="../general/general.html">General</a> </div> diff --git a/src/pages/options/instagram/instagram.html b/src/pages/options/instagram/instagram.html index a4f33a7c..edb87ee5 100644 --- a/src/pages/options/instagram/instagram.html +++ b/src/pages/options/instagram/instagram.html @@ -14,9 +14,10 @@ <section class="links"> <div class="title"> - <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> - <path d="M0 0h24v24H0V0z" fill="none" /> - <path d="M12 5.69l5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z" /> + <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="26px" viewBox="0 0 24 24" + width="26px" fill="currentColor"> + <path + d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z" /> </svg> <a href="../general/general.html">General</a> </div> diff --git a/src/pages/options/maps/maps.html b/src/pages/options/maps/maps.html index 8a07b50f..76541425 100644 --- a/src/pages/options/maps/maps.html +++ b/src/pages/options/maps/maps.html @@ -14,9 +14,10 @@ <section class="links"> <div class="title"> - <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> - <path d="M0 0h24v24H0V0z" fill="none" /> - <path d="M12 5.69l5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z" /> + <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="26px" viewBox="0 0 24 24" + width="26px" fill="currentColor"> + <path + d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z" /> </svg> <a href="../general/general.html">General</a> </div> diff --git a/src/pages/options/medium/medium.html b/src/pages/options/medium/medium.html index 69fff984..a86027ea 100644 --- a/src/pages/options/medium/medium.html +++ b/src/pages/options/medium/medium.html @@ -13,9 +13,10 @@ <body class="option"> <section class="links"> <div class="title"> - <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> - <path d="M0 0h24v24H0V0z" fill="none" /> - <path d="M12 5.69l5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z" /> + <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="26px" viewBox="0 0 24 24" + width="26px" fill="currentColor"> + <path + d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z" /> </svg> <a href="../general/general.html">General</a> </div> diff --git a/src/pages/options/reddit/reddit.html b/src/pages/options/reddit/reddit.html index 63d7647d..9fcddf6b 100644 --- a/src/pages/options/reddit/reddit.html +++ b/src/pages/options/reddit/reddit.html @@ -13,9 +13,10 @@ <body class="option"> <section class="links"> <div class="title"> - <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> - <path d="M0 0h24v24H0V0z" fill="none" /> - <path d="M12 5.69l5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z" /> + <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="26px" viewBox="0 0 24 24" + width="26px" fill="currentColor"> + <path + d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z" /> </svg> <a href="../general/general.html">General</a> </div> diff --git a/src/pages/options/search/search.html b/src/pages/options/search/search.html index 91f1069f..149afdac 100644 --- a/src/pages/options/search/search.html +++ b/src/pages/options/search/search.html @@ -13,9 +13,10 @@ <body class="option"> <section class="links"> <div class="title"> - <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> - <path d="M0 0h24v24H0V0z" fill="none" /> - <path d="M12 5.69l5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z" /> + <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="26px" viewBox="0 0 24 24" + width="26px" fill="currentColor"> + <path + d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z" /> </svg> <a href="../general/general.html">General</a> </div> diff --git a/src/pages/options/tiktok/tiktok.html b/src/pages/options/tiktok/tiktok.html index 42b99330..e91dcdde 100644 --- a/src/pages/options/tiktok/tiktok.html +++ b/src/pages/options/tiktok/tiktok.html @@ -13,9 +13,10 @@ <body class="option"> <section class="links"> <div class="title"> - <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> - <path d="M0 0h24v24H0V0z" fill="none" /> - <path d="M12 5.69l5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z" /> + <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="26px" viewBox="0 0 24 24" + width="26px" fill="currentColor"> + <path + d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z" /> </svg> <a href="../general/general.html">General</a> </div> diff --git a/src/pages/options/translate/translate.html b/src/pages/options/translate/translate.html index 04380981..880a08bb 100644 --- a/src/pages/options/translate/translate.html +++ b/src/pages/options/translate/translate.html @@ -13,9 +13,10 @@ <body class="option"> <section class="links"> <div class="title"> - <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> - <path d="M0 0h24v24H0V0z" fill="none" /> - <path d="M12 5.69l5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z" /> + <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="26px" viewBox="0 0 24 24" + width="26px" fill="currentColor"> + <path + d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z" /> </svg> <a href="../general/general.html">General</a> </div> diff --git a/src/pages/options/twitter/twitter.html b/src/pages/options/twitter/twitter.html index b5ff73ce..2ec59522 100644 --- a/src/pages/options/twitter/twitter.html +++ b/src/pages/options/twitter/twitter.html @@ -14,9 +14,10 @@ <section class="links"> <div class="title"> - <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> - <path d="M0 0h24v24H0V0z" fill="none" /> - <path d="M12 5.69l5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z" /> + <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="26px" viewBox="0 0 24 24" + width="26px" fill="currentColor"> + <path + d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z" /> </svg> <a href="../general/general.html">General</a> </div> diff --git a/src/pages/options/wikipedia/wikipedia.html b/src/pages/options/wikipedia/wikipedia.html index d76480ef..3ae2dbb2 100644 --- a/src/pages/options/wikipedia/wikipedia.html +++ b/src/pages/options/wikipedia/wikipedia.html @@ -13,13 +13,14 @@ <body class="option"> <section class="links"> <div class="title"> - <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> - <path d="M0 0h24v24H0V0z" fill="none" /> - <path d="M12 5.69l5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z" /> + <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="26px" viewBox="0 0 24 24" + width="26px" fill="currentColor"> + <path + d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z" /> </svg> <a href="../general/general.html">General</a> </div> - <div class="title"> + <div class="title"> <img src="../../../assets/images/youtube-icon.png" /> <a href="../youtube/youtube.html">YouTube</a> </div> diff --git a/src/pages/options/youtube/youtube.html b/src/pages/options/youtube/youtube.html index 1cd41b41..ebb117c3 100644 --- a/src/pages/options/youtube/youtube.html +++ b/src/pages/options/youtube/youtube.html @@ -14,9 +14,10 @@ <section class="links"> <div class="title"> - <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> - <path d="M0 0h24v24H0V0z" fill="none" /> - <path d="M12 5.69l5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z" /> + <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="26px" viewBox="0 0 24 24" + width="26px" fill="currentColor"> + <path + d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z" /> </svg> <a href="../general/general.html">General</a> </div> diff --git a/src/pages/options/youtubeMusic/youtubeMusic.html b/src/pages/options/youtubeMusic/youtubeMusic.html index d9b8b89b..ecd70f32 100644 --- a/src/pages/options/youtubeMusic/youtubeMusic.html +++ b/src/pages/options/youtubeMusic/youtubeMusic.html @@ -14,9 +14,10 @@ <section class="links"> <div class="title"> - <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> - <path d="M0 0h24v24H0V0z" fill="none" /> - <path d="M12 5.69l5 4.5V18h-2v-6H9v6H7v-7.81l5-4.5M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z" /> + <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="26px" viewBox="0 0 24 24" + width="26px" fill="currentColor"> + <path + d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z" /> </svg> <a href="../general/general.html">General</a> </div> diff --git a/src/pages/popup/popup.html b/src/pages/popup/popup.html index 93d9d19c..6e0da99e 100644 --- a/src/pages/popup/popup.html +++ b/src/pages/popup/popup.html @@ -152,23 +152,21 @@ <input id="disable-medium" type="checkbox" checked /> </div> - - - <div class="buttons"> + <div class="buttons-popup"> <a class="button" id="change-instance"> - Change Instance <svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> <path d="M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4v3z" /> </svg> + Instance </a> <a class="button" id="more-options"> - Settings <svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="currentColor"> <path d="M19.14,12.94c0.04-0.3,0.06-0.61,0.06-0.94c0-0.32-0.02-0.64-0.07-0.94l2.03-1.58c0.18-0.14,0.23-0.41,0.12-0.61 l-1.92-3.32c-0.12-0.22-0.37-0.29-0.59-0.22l-2.39,0.96c-0.5-0.38-1.03-0.7-1.62-0.94L14.4,2.81c-0.04-0.24-0.24-0.41-0.48-0.41 h-3.84c-0.24,0-0.43,0.17-0.47,0.41L9.25,5.35C8.66,5.59,8.12,5.92,7.63,6.29L5.24,5.33c-0.22-0.08-0.47,0-0.59,0.22L2.74,8.87 C2.62,9.08,2.66,9.34,2.86,9.48l2.03,1.58C4.84,11.36,4.8,11.69,4.8,12s0.02,0.64,0.07,0.94l-2.03,1.58 c-0.18,0.14-0.23,0.41-0.12,0.61l1.92,3.32c0.12,0.22,0.37,0.29,0.59,0.22l2.39-0.96c0.5,0.38,1.03,0.7,1.62,0.94l0.36,2.54 c0.05,0.24,0.24,0.41,0.48,0.41h3.84c0.24,0,0.44-0.17,0.47-0.41l0.36-2.54c0.59-0.24,1.13-0.56,1.62-0.94l2.39,0.96 c0.22,0.08,0.47,0,0.59-0.22l1.92-3.32c0.12-0.22,0.07-0.47-0.12-0.61L19.14,12.94z M12,15.6c-1.98,0-3.6-1.62-3.6-3.6 s1.62-3.6,3.6-3.6s3.6,1.62,3.6,3.6S13.98,15.6,12,15.6z" /> </svg> + Settings </a> </div> diff --git a/src/pages/stylesheets/Open_Sans.zip b/src/pages/stylesheets/Open_Sans.zip new file mode 100644 index 00000000..82645e94 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans.zip Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/LICENSE.txt b/src/pages/stylesheets/Open_Sans/LICENSE.txt new file mode 100644 index 00000000..75b52484 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/src/pages/stylesheets/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf b/src/pages/stylesheets/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf new file mode 100644 index 00000000..0fea34ba --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf b/src/pages/stylesheets/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf new file mode 100644 index 00000000..51dd3c3b --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/README.txt b/src/pages/stylesheets/Open_Sans/README.txt new file mode 100644 index 00000000..6a21f11c --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/README.txt @@ -0,0 +1,100 @@ +Open Sans Variable Font +======================= + +This download contains Open Sans as both variable fonts and static fonts. + +Open Sans is a variable font with these axes: + wdth + wght + +This means all the styles are contained in these files: + OpenSans-VariableFont_wdth,wght.ttf + OpenSans-Italic-VariableFont_wdth,wght.ttf + +If your app fully supports variable fonts, you can now pick intermediate styles +that aren’t available as static fonts. Not all apps support variable fonts, and +in those cases you can use the static font files for Open Sans: + static/OpenSans_Condensed/OpenSans_Condensed-Light.ttf + static/OpenSans_Condensed/OpenSans_Condensed-Regular.ttf + static/OpenSans_Condensed/OpenSans_Condensed-Medium.ttf + static/OpenSans_Condensed/OpenSans_Condensed-SemiBold.ttf + static/OpenSans_Condensed/OpenSans_Condensed-Bold.ttf + static/OpenSans_Condensed/OpenSans_Condensed-ExtraBold.ttf + static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Light.ttf + static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Regular.ttf + static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Medium.ttf + static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-SemiBold.ttf + static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Bold.ttf + static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-ExtraBold.ttf + static/OpenSans/OpenSans-Light.ttf + static/OpenSans/OpenSans-Regular.ttf + static/OpenSans/OpenSans-Medium.ttf + static/OpenSans/OpenSans-SemiBold.ttf + static/OpenSans/OpenSans-Bold.ttf + static/OpenSans/OpenSans-ExtraBold.ttf + static/OpenSans_Condensed/OpenSans_Condensed-LightItalic.ttf + static/OpenSans_Condensed/OpenSans_Condensed-Italic.ttf + static/OpenSans_Condensed/OpenSans_Condensed-MediumItalic.ttf + static/OpenSans_Condensed/OpenSans_Condensed-SemiBoldItalic.ttf + static/OpenSans_Condensed/OpenSans_Condensed-BoldItalic.ttf + static/OpenSans_Condensed/OpenSans_Condensed-ExtraBoldItalic.ttf + static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-LightItalic.ttf + static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Italic.ttf + static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-MediumItalic.ttf + static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-SemiBoldItalic.ttf + static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-BoldItalic.ttf + static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-ExtraBoldItalic.ttf + static/OpenSans/OpenSans-LightItalic.ttf + static/OpenSans/OpenSans-Italic.ttf + static/OpenSans/OpenSans-MediumItalic.ttf + static/OpenSans/OpenSans-SemiBoldItalic.ttf + static/OpenSans/OpenSans-BoldItalic.ttf + static/OpenSans/OpenSans-ExtraBoldItalic.ttf + +Get started +----------- + +1. Install the font files you want to use + +2. Use your app's font picker to view the font family and all the +available styles + +Learn more about variable fonts +------------------------------- + + https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts + https://variablefonts.typenetwork.com + https://medium.com/variable-fonts + +In desktop apps + + https://theblog.adobe.com/can-variable-fonts-illustrator-cc + https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts + +Online + + https://developers.google.com/fonts/docs/getting_started + https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide + https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts + +Installing fonts + + MacOS: https://support.apple.com/en-us/HT201749 + Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux + Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows + +Android Apps + + https://developers.google.com/fonts/docs/android + https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts + +License +------- +Please read the full license text (LICENSE.txt) to understand the permissions, +restrictions and requirements for usage, redistribution, and modification. + +You can use them freely in your products & projects - print or digital, +commercial or otherwise. + +This isn't legal advice, please consider consulting a lawyer and see the full +license for all details. diff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-Bold.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-Bold.ttf new file mode 100644 index 00000000..4d8f3e5b --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-Bold.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-BoldItalic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-BoldItalic.ttf new file mode 100644 index 00000000..eba75d74 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-BoldItalic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-ExtraBold.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-ExtraBold.ttf new file mode 100644 index 00000000..db66f6a8 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-ExtraBold.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-ExtraBoldItalic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-ExtraBoldItalic.ttf new file mode 100644 index 00000000..b7611bb2 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-ExtraBoldItalic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-Italic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-Italic.ttf new file mode 100644 index 00000000..b0884744 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-Italic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-Light.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-Light.ttf new file mode 100644 index 00000000..d01b20cf --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-Light.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-LightItalic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-LightItalic.ttf new file mode 100644 index 00000000..0441a599 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-LightItalic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-Medium.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-Medium.ttf new file mode 100644 index 00000000..6b419185 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-Medium.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-MediumItalic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-MediumItalic.ttf new file mode 100644 index 00000000..c84fe4ff --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-MediumItalic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-Regular.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-Regular.ttf new file mode 100644 index 00000000..3a29f264 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-Regular.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-SemiBold.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-SemiBold.ttf new file mode 100644 index 00000000..219f6e8f --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-SemiBold.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-SemiBoldItalic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-SemiBoldItalic.ttf new file mode 100644 index 00000000..259ac50c --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans/OpenSans-SemiBoldItalic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Bold.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Bold.ttf new file mode 100644 index 00000000..6f8c31a9 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Bold.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-BoldItalic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-BoldItalic.ttf new file mode 100644 index 00000000..f0065c02 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-BoldItalic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-ExtraBold.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-ExtraBold.ttf new file mode 100644 index 00000000..55fe6aad --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-ExtraBold.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-ExtraBoldItalic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-ExtraBoldItalic.ttf new file mode 100644 index 00000000..21d51d52 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-ExtraBoldItalic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Italic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Italic.ttf new file mode 100644 index 00000000..d7366472 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Italic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Light.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Light.ttf new file mode 100644 index 00000000..705c97fe --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Light.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-LightItalic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-LightItalic.ttf new file mode 100644 index 00000000..94880f8a --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-LightItalic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Medium.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Medium.ttf new file mode 100644 index 00000000..89b65e9b --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Medium.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-MediumItalic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-MediumItalic.ttf new file mode 100644 index 00000000..4b13f60f --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-MediumItalic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Regular.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Regular.ttf new file mode 100644 index 00000000..e4074588 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-Regular.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-SemiBold.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-SemiBold.ttf new file mode 100644 index 00000000..9dc78a3f --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-SemiBold.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-SemiBoldItalic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-SemiBoldItalic.ttf new file mode 100644 index 00000000..b29fc090 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_Condensed/OpenSans_Condensed-SemiBoldItalic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Bold.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Bold.ttf new file mode 100644 index 00000000..b9a2b06e --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Bold.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-BoldItalic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-BoldItalic.ttf new file mode 100644 index 00000000..28469ff0 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-BoldItalic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-ExtraBold.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-ExtraBold.ttf new file mode 100644 index 00000000..25d32e8b --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-ExtraBold.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-ExtraBoldItalic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-ExtraBoldItalic.ttf new file mode 100644 index 00000000..8e20baa6 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-ExtraBoldItalic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Italic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Italic.ttf new file mode 100644 index 00000000..45ccdc32 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Italic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Light.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Light.ttf new file mode 100644 index 00000000..96fc7270 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Light.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-LightItalic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-LightItalic.ttf new file mode 100644 index 00000000..21ff0c47 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-LightItalic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Medium.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Medium.ttf new file mode 100644 index 00000000..84c62dc7 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Medium.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-MediumItalic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-MediumItalic.ttf new file mode 100644 index 00000000..d4f99f55 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-MediumItalic.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Regular.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Regular.ttf new file mode 100644 index 00000000..0878f1ce --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-Regular.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-SemiBold.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-SemiBold.ttf new file mode 100644 index 00000000..6d7c3b17 --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-SemiBold.ttf Binary files differdiff --git a/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-SemiBoldItalic.ttf b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-SemiBoldItalic.ttf new file mode 100644 index 00000000..1b70128e --- /dev/null +++ b/src/pages/stylesheets/Open_Sans/static/OpenSans_SemiCondensed/OpenSans_SemiCondensed-SemiBoldItalic.ttf Binary files differdiff --git a/src/pages/stylesheets/styles.css b/src/pages/stylesheets/styles.css index 593661af..ae99730c 100644 --- a/src/pages/stylesheets/styles.css +++ b/src/pages/stylesheets/styles.css @@ -10,11 +10,17 @@ body { --light-grey: #c3c3c3; } +@font-face { + font-family: 'OpenSans'; + src: url('Open_Sans/OpenSans-VariableFont_wdth,wght.ttf'); + font-weight: normal; + font-style: normal; +} body { margin: auto; padding: 0; - font-family: Sans-Serif; + font-family: 'OpenSans'; background-color: var(--bg-main); color: var(--text); overflow-x: hidden @@ -52,7 +58,6 @@ select { select { font-size: 16px; - font-weight: bold; padding: 8px; background-color: var(--bg-secondary); border: none; @@ -61,19 +66,6 @@ select { border-radius: 3px; } - -.button:hover { - background-color: var(--active); - color: var(--text); - stroke: var(--text); -} - -.button:active { - background-color: var(--active); - box-shadow: 0 var(--space) var(--bg-main); - transform: translateY(4px); -} - input:invalid { color: var(--danger); border-color: var(--danger); @@ -102,11 +94,9 @@ section.links div { section.links a { display: flex; align-items: center; - font-size: 30px; + font-size: 24px; text-decoration: none; color: white; - /* margin: 20px 0; */ - font-weight: bold; transition: 0.1s; } @@ -206,48 +196,72 @@ div.some-block input[type="checkbox"]:checked::before { } div.buttons { + display: flex; + margin: 0 15px; margin-bottom: 15px; margin-top: 15px; + flex-wrap: wrap; + align-items: center; +} + +div.buttons-popup { + border: 2px solid var(--bg-secondary); + border-radius: 5px; + display: flex; + margin: 0 15px; + margin-bottom: 15px; + margin-top: 5px; + flex-wrap: wrap; + justify-content: center; + align-items: center; } .button { - stroke: var(--text); display: flex; text-align: center; - justify-content: center; + justify-content: space-between; align-items: center; - border-radius: 5px; - border: var(--active) solid 1px; color: var(--text); - font-size: 12px; + font-size: 16px; font-weight: bold; - margin: 8px 20px; - padding: 10px; + margin: 5px 0px; + padding: 5px 5px; text-decoration: none; cursor: pointer; transition-duration: 0.1s; } +.button:hover { + color: var(--active); +} + +.button svg { + width: 26px; + height: 26px; + padding: 0; + margin-right: 0; +} + +.button:hover svg { + color: var(--active); +} + div.buttons-inline { display: flex; - justify-content: end; + justify-content: space-between; padding: 0 15px; } .button-inline { - display: inline-block; + display: inline-flex; + align-items: center; margin: 7.5px 0; + background-color: var(--bg-secondary); + border-radius: 5px; + padding: 10px; } -.button:hover { - background-color: var(--active); - color: var(--text); - stroke: var(--text); -} - -.button:active { - background-color: var(--active); - box-shadow: 0 var(--space) var(--bg-main); +.button:active{ transform: translateY(1px); } @@ -288,7 +302,6 @@ button.add { cursor: pointer; } - .light-theme.popup, .light-theme .popup { background-color: var(--bg-secondary); |