Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • Synzvato/decentraleyes
  • gkrishnaks/decentraleyes
  • ExE-Boss/decentraleyes
  • whtsky/decentraleyes
  • grtgarrett/decentraleyes
  • An_dz/decentraleyes
  • Alaska/decentraleyes
  • finn/decentraleyes
  • klippy/decentraleyes
9 results
Show changes
Showing
with 667 additions and 17 deletions
/**
* Sections
*/
body {
background-color: #edf2e1;
font-family: 'Noto Sans', Arial, sans-serif;
font-size: 14px;
margin: 0 auto;
max-width: 982px;
min-width: 256px;
padding: 33px 18px;
}
#wrapper {
display: grid;
}
header {
align-items: center;
display: flex;
gap: 15px;
grid-row: 1;
justify-content: center;
margin-bottom: 15px;
margin-top: 15px;
}
.content {
display: flex;
flex-direction: column;
gap: 45px;
grid-row: 2;
margin-top: 15px;
padding: 20px;
}
.content .item:nth-child(odd) {
align-self: flex-start;
}
.content .item:nth-child(even) {
align-self: flex-end;
}
footer {
display: flex;
gap: 20px;
grid-row: 3;
justify-content: flex-end;
margin: 30px 0 15px;
padding: 10px;
text-align: center;
}
/**
* Fonts
*/
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 400;
src: url('../shared/resources/fonts/noto-sans/regular.woff2')
format('woff2');
}
@font-face {
font-family: 'Noto Sans';
font-style: normal;
font-weight: 600;
src: url('../shared/resources/fonts/noto-sans/bold.woff2')
format('woff2');
}
@font-face {
font-family: 'Noto Sans';
font-style: italic;
font-weight: 400;
src: url('../shared/resources/fonts/noto-sans/italic.woff2')
format('woff2');
}
/**
* Headings
*/
.heading {
align-items: flex-start;
color: #575757;
display: flex;
flex-direction: column;
font-size: 30px;
font-style: italic;
gap: 3px;
padding: 5px 0;
}
/**
* Titles
*/
.title-item {
color: #2d2f27;
font-size: 18px;
font-style: italic;
font-weight: bold;
padding: 3px 0;
}
/**
* Items
*/
.item {
background: linear-gradient(145deg, #fefefe, #edf2e1);
border-radius: 24px;
box-shadow: -5px -5px #dce2cd inset;
color: #2d2f27;
padding: 20px 35px;
text-align: left;
width: 75%;
}
.header-item {
align-items: center;
display: flex;
gap: 15px;
}
.body-item {
font-size: 16px;
}
/**
* Icons
*/
.wrapper-icon {
align-items: center;
display: flex;
height: 112px;
justify-content: center;
position: relative;
width: 112px;
}
.icon {
margin-left: 5px;
margin-top: 5px;
max-height: calc(100% - 10px);
max-width: calc(100% - 10px);
min-height: calc(100% - 10px);
min-width: calc(100% - 10px);
}
.icon-item {
background: #141415;
border-radius: 50px;
box-shadow: -3px -3px rgba(0, 0, 0, .2) inset;
color: #fefefe;
display: flex;
padding: 7px 14px;
}
.icon-item-gray {
background: linear-gradient(145deg, #3f5469, #304050);
}
.icon-item-green {
background: linear-gradient(145deg, #00bd7f, #00885e);
}
.icon-item svg {
rotate: 22.5deg;
}
/**
* Buttons
*/
.button {
align-items: center;
background: rgba(255, 255, 255, 0.75);
border-radius: 15px;
border: 2px solid #b6bfa2;
box-shadow: -3px -3px rgba(0, 0, 0, .1) inset;
color: #2d2f27;
display: flex;
flex-wrap: wrap;
font-weight: bold;
gap: 10px;
justify-content: center;
overflow: hidden;
padding: 15px 23px;
text-decoration: none;
user-select: none;
}
.button:hover {
border: 2px solid transparent;
color: #fefefe;
cursor: pointer;
opacity: 1;
}
.button-website:hover {
background: linear-gradient(145deg, #007bbd, #005e8f) padding-box;
}
.button-gitlab:hover {
background: linear-gradient(145deg, #3f5469, #304050) padding-box;
}
.button-donate:hover {
background: linear-gradient(145deg, #f58700, #c36c00) padding-box;
}
.button-author:hover {
background: linear-gradient(145deg, #00bd7f, #00885e) padding-box;
}
.button:active {
background: transparent !important;
border: 2px solid #b6bfa2;
box-shadow: 3px 3px rgba(0, 0, 0, .2) inset;
color: #121212;
opacity: .5;
}
/**
* Miscellaneous
*/
.accent-icon {
border-radius: 500px;
height: 100%;
max-height: 112px;
max-width: 112px;
overflow: hidden;
position: absolute;
width: 100%;
z-index: 0;
}
.accent-icon:before {
background-image: conic-gradient(rgba(0, 0, 0, 0), #69aa8f, rgba(0, 0, 0, 0) 25%);
background-position: 0 0;
background-repeat: no-repeat;
content: '';
height: 100000px;
left: 50%;
position: absolute;
top: 50%;
transform: translate(-50%, -50%) rotate(0deg);
width: 100000px;
z-index: -2;
}
.accent-icon:after {
background-color: #edf2e1;
background-size: 100%;
border-radius: 500px;
content: '';
left: 5px;
min-height: calc(100% - 10px);
min-width: calc(100% - 10px);
position: absolute;
top: 5px;
z-index: -1;
}
.logotype {
display: flex;
width: 250px;
}
.label-version {
align-items: center;
background: linear-gradient(135deg, #2f5948, #4a856d);
color: #fefefe;
display: flex;
font-size: 20px;
height: 34px;
justify-content: center;
opacity: 0;
text-shadow: 2px 2px #27483a;
width: 60px;
}
/**
* Keyframes
*/
@keyframes appear {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes appear-and-skew {
0% {
opacity: 0;
}
100% {
opacity: 1;
transform: skew(-12deg, 0);
}
}
@keyframes appear-and-turn {
0% {
opacity: 0;
rotate: 12deg;
}
70% {
rotate: 0deg;
}
100% {
opacity: 1;
}
}
@keyframes disappear {
0% {
display: flex;
opacity: 1;
}
100% {
display: none;
opacity: 0;
}
}
@keyframes rotate {
100% {
transform: translate(-50%, -50%) rotate(1turn);
}
}
/**
* Animations
*/
#icon.animated {
animation: appear-and-turn 1s 1s both;
}
#logotype.animated {
animation: appear 1s 1.5s both;
}
#version-label.animated {
animation: appear-and-skew 2s 2s both;
}
#first-item.animated {
animation: appear 1s 3.25s both;
}
#second-item.animated {
animation: appear 1s 3.5s both;
}
#footer.animated {
animation: appear 1s 4s both;
}
#icon-accent.animated:before {
animation: rotate 1.25s linear infinite, disappear 2.25s .25s both;
}
/**
* Compatibility
*/
@media (prefers-color-scheme: dark) {
body {
background-color: #1d1e22;
}
.title-item {
color: #fefefe;
}
.item {
background: #121212 linear-gradient(145deg, #1d1e22, #101010);
box-shadow: -5px -5px rgba(0, 0, 0, .1) inset;
color: #dcdcdc;
}
.button {
background: transparent;
border: 2px solid #0f0f12;
box-shadow: -3px -3px rgba(0, 0, 0, .2) inset;
color: #fefefe;
}
.button:hover {
border: 2px solid #0f0f12;
}
.button:active {
border: 2px solid #0f0f12;
box-shadow: 3px 3px rgba(0, 0, 0, .2) inset;
color: #fefefe;
opacity: .5;
}
.accent-icon:after {
background-color: #2a2c32;
}
.logotype {
filter: brightness(1%) invert(100%);
}
}
@media screen and (max-width: 700px) {
body {
padding: 33px 11px;
}
header {
flex-direction: column;
gap: 10px;
}
.content {
gap: 40px;
padding: 15px 10px;
}
.content .item:nth-child(odd) {
align-self: unset;
}
.content .item:nth-child(even) {
align-self: unset;
}
footer {
flex-direction: column;
gap: 15px;
margin-bottom: 10px;
}
.heading {
align-items: center;
gap: 5px;
}
.item {
width: auto;
}
}
<!DOCTYPE html>
<html lang="en">
<head>
<title>Decentraleyes v3.0 - What's New?</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<link rel="shortcut icon" href="../shared/resources/images/icons/extension/favicon.ico" type="image/x-icon">
<link rel="icon" href="../shared/resources/images/icons/extension/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="welcome.css">
<script defer type="module" src="../shared/resources/images/icons/default.js"></script>
<script defer src="../shared/resources/scripts/fontawesome.min.js"></script>
</head>
<body>
<script type="module" src="welcome.js"></script>
<div id="wrapper">
<header>
<div class="wrapper-icon">
<div id="icon-accent" class="accent-icon">
<img id="icon" class="icon hidden" src="../shared/resources/images/icons/extension/regular.svg" alt="">
</div>
</div>
<div class="heading">
<img id="logotype" class="logotype hidden" src="../shared/resources/images/logotype.svg" alt="Decentraleyes">
<div id="version-label" class="label-version hidden">v3.0</div>
</div>
</header>
<section class="content">
<div id="first-item" class="item">
<div class="header-item">
<div class="icon-item icon-item-gray">
<i class="fa fa-lg fa-cube"></i>
</div>
<div class="title-item">A Fully Fresh Foundation</div>
</div>
<div class="body-item">
<p>The extension has been completely overhauled to allow it to take advantage of the latest web technologies, as well as to ensure continued compatibility with modern web browsers.</p>
</div>
</div>
<div id="second-item" class="item">
<div class="header-item">
<div class="icon-item icon-item-green">
<i class="fa fa-lg fa-battery-three-quarters"></i>
</div>
<div class="title-item">Easier on Your Battery</div>
</div>
<div class="body-item">
<p>Supported web browsers can now pause and resume the extension's background activity, at any given moment, in order to conserve system resources and reduce battery usage.</p>
</div>
</div>
</section>
<footer id="footer">
<a class="button button-website" href="https://decentraleyes.org/" target="_blank">
<i class="fa fa-globe" data-fa-transform="grow-2 down-.5"></i>
<span>Website</span>
</a>
<a class="button button-gitlab" href="https://git.synz.io/Synzvato/decentraleyes" target="_blank">
<i class="fa fa-gitlab" data-fa-transform="grow-2 down-.5"></i>
<span>GitLab</span>
</a>
<a class="button button-donate" href="https://decentraleyes.org/donate/" target="_blank">
<i class="fa fa-donate" data-fa-transform="grow-2 down-.5"></i>
<span>Donate</span>
</a>
<a class="button button-author" href="https://synz.io/" target="_blank">
<i class="fa fa-user-circle" data-fa-transform="grow-2 down-.5"></i>
<span>Author</span>
</a>
</footer>
</div>
</body>
</html>
/**
* Welcome Page
* Belongs to Decentraleyes.
*
* @author Thomas Rientjes
* @since 2024-11-11
* @license MPL 2.0
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/**
* Private Functions
*/
const _animateHeaderElements = () => {
document.querySelector('#icon').classList.add('animated');
document.querySelector('#icon-accent').classList.add('animated');
document.querySelector('#logotype').classList.add('animated');
document.querySelector('#version-label').classList.add('animated');
};
const _animateContentElements = () => {
document.querySelector('#first-item').classList.add('animated');
document.querySelector('#second-item').classList.add('animated');
};
const _animateFooterElement = () => {
document.querySelector('#footer').classList.add('animated');
};
/**
* Event Handlers
*/
const _onDocumentVisible = () => {
window.scrollTo(0, 0);
_animateHeaderElements();
_animateContentElements();
_animateFooterElement();
};
/**
* Initializations
*/
document.addEventListener('DOMContentLoaded', () => {
if (document.visibilityState === 'visible') {
_onDocumentVisible();
} else {
document.addEventListener('visibilitychange', () => {
if (document.visibilityState === 'visible') {
_onDocumentVisible();
}
});
}
});
@/*
/*
AngularJS v1.0.1
(c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT
......
@/*
/*
AngularJS v1.0.2
(c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT
......
@/*
/*
AngularJS v1.0.3
(c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT
......
@/*
/*
AngularJS v1.0.4
(c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT
......
@/*
/*
AngularJS v1.0.5
(c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT
......
@/*
/*
AngularJS v1.0.6
(c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT
......
@/*
/*
AngularJS v1.0.8
(c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT
......
@/*
/*
AngularJS v1.2.0
(c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT
......
@/*
/*
AngularJS v1.2.1
(c) 2010-2012 Google, Inc. http://angularjs.org
License: MIT
......
@/*
/*
AngularJS v1.2.10
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
......
@/*
/*
AngularJS v1.2.15
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
......
@/*
/*
AngularJS v1.2.16
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
......
@/*
/*
AngularJS v1.2.20
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
......
@/*
/*
AngularJS v1.2.23
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
......
@/*
/*
AngularJS v1.2.26
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
......
@/*
/*
AngularJS v1.2.28
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
......
@/*
/*
AngularJS v1.2.29
(c) 2010-2014 Google, Inc. http://angularjs.org
License: MIT
......