Delete smartwebsite directory

This commit is contained in:
smartfridge 2021-06-21 16:20:04 +02:00 committed by GitHub
parent d95cff1f5d
commit 7a58a5f920
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 0 additions and 730 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

View file

@ -1,334 +0,0 @@
.desktop {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
.window-area,
.task-bar {
position: relative;
display: block;
}
.window-area {
height: 100%;
position: relative;
}
.task-bar {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
height: 42px;
background-color: #053046;
}
.task-bar .task-bar-section {
height: 100%;
width: auto;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
}
.task-bar .task-bar-item {
position: relative;
display: block;
width: 48px;
height: 40px;
margin: 0;
padding: 0;
background-color: transparent;
border: none;
cursor: default;
color: #ffffff;
vertical-align: middle;
text-align: center;
min-width: 0;
outline: none;
}
.task-bar .task-bar-item * {
display: block;
margin: 8px 12px;
height: 24px;
width: 24px;
font-size: 18px;
line-height: 24px;
vertical-align: middle;
}
.task-bar .task-bar-item:hover {
background-color: rgba(255, 255, 255, 0.1);
}
.task-bar .task-bar-item.active {
background-color: rgba(255, 255, 255, 0.3);
}
.task-bar .task-bar-item.started::after {
display: block;
content: "";
position: absolute;
bottom: 0;
left: 5px;
right: 5px;
height: 3px;
background-color: #5ebdec;
-webkit-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.task-bar .task-bar-item.started:hover::after {
left: 1px;
right: 1px;
-webkit-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.task-bar .task-bar-item:active,
.task-bar .task-bar-item.focus,
.task-bar .task-bar-item:focus {
-webkit-box-shadow: none!important;
box-shadow: none!important;
}
.task-bar.icons-small {
height: 30px;
padding: 0;
}
.task-bar.icons-small .task-bar-item {
width: 16px;
height: 16px;
margin: 0 8px;
}
.task-bar a.task-bar-item {
color: #ffffff;
}
.task-bar a.task-bar-item:hover {
color: #ffffff;
}
.start-menu {
padding: 1px;
border-top: 1px rgba(255, 255, 204, 0.1) solid;
border-right: 1px rgba(255, 255, 204, 0.1) solid;
bottom: 100%;
background-color: #004d6f;
color: #ffffff;
display: block;
position: absolute;
float: left;
width: auto;
margin: 0;
list-style: none inside none;
z-index: 1000;
-webkit-box-shadow: 2px -2px 5px 0px rgba(0, 0, 0, 0.75);
box-shadow: 2px -2px 5px 0px rgba(0, 0, 0, 0.75);
}
.start-menu-inner {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
}
.start-menu .sys-buttons {
width: 48px;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-flow: column nowrap;
flex-flow: column nowrap;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
}
.start-menu .explorer {
width: 220px;
}
.ani-swoopInTop {
-webkit-animation-name: swoopInTop;
animation-name: swoopInTop;
-webkit-animation-duration: 0.5s;
animation-duration: 0.5s;
}
.ani-swoopOutTop {
-webkit-animation-name: swoopOutTop;
animation-name: swoopOutTop;
-webkit-animation-duration: 0.5s;
animation-duration: 0.5s;
}
@-webkit-keyframes swoopInTop {
0% {
opacity: 0;
-webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
-webkit-transform: scaleY(1.5) translate3d(0, -400px, 0);
transform: scaleY(1.5) translate3d(0, -400px, 0);
}
40% {
opacity: 1;
-webkit-animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
-webkit-transform: scaleY(1.2) translate3d(0, 0, 0);
transform: scaleY(1.2) translate3d(0, 0, 0);
}
65% {
-webkit-transform: scaleY(1) translate3d(0, 20px, 0);
transform: scaleY(1) translate3d(0, 20px, 0);
}
100% {
-webkit-animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
-webkit-transform: scaleY(1) translate3d(0, 0, 0);
transform: scaleY(1) translate3d(0, 0, 0);
}
}
@keyframes swoopInTop {
0% {
opacity: 0;
-webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
-webkit-transform: scaleY(1.5) translate3d(0, -400px, 0);
transform: scaleY(1.5) translate3d(0, -400px, 0);
}
40% {
opacity: 1;
-webkit-animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
-webkit-transform: scaleY(1.2) translate3d(0, 0, 0);
transform: scaleY(1.2) translate3d(0, 0, 0);
}
65% {
-webkit-transform: scaleY(1) translate3d(0, 20px, 0);
transform: scaleY(1) translate3d(0, 20px, 0);
}
100% {
-webkit-animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
-webkit-transform: scaleY(1) translate3d(0, 0, 0);
transform: scaleY(1) translate3d(0, 0, 0);
}
}
@-webkit-keyframes swoopOutTop {
0% {
-webkit-animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
-webkit-transform: scaleY(1) translate3d(0, 0, 0);
transform: scaleY(1) translate3d(0, 0, 0);
}
40% {
opacity: 1;
-webkit-transform: scaleY(1) translate3d(0, 20px, 0);
transform: scaleY(1) translate3d(0, 20px, 0);
}
60% {
-webkit-animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
-webkit-transform: scaleY(1.2) translate3d(0, 0, 0);
transform: scaleY(1.2) translate3d(0, 0, 0);
}
100% {
opacity: 0;
-webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
-webkit-transform: scaleY(1.5) translate3d(0, -400px, 0);
transform: scaleY(1.5) translate3d(0, -400px, 0);
}
}
@keyframes swoopOutTop {
0% {
-webkit-animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
-webkit-transform: scaleY(1) translate3d(0, 0, 0);
transform: scaleY(1) translate3d(0, 0, 0);
}
40% {
opacity: 1;
-webkit-transform: scaleY(1) translate3d(0, 20px, 0);
transform: scaleY(1) translate3d(0, 20px, 0);
}
60% {
-webkit-animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
-webkit-transform: scaleY(1.2) translate3d(0, 0, 0);
transform: scaleY(1.2) translate3d(0, 0, 0);
}
100% {
opacity: 0;
-webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
-webkit-transform: scaleY(1.5) translate3d(0, -400px, 0);
transform: scaleY(1.5) translate3d(0, -400px, 0);
}
}
@font-face {
font-family: 'Discordinated';
src: url('https://kckarnige.github.io/femboi_owo/DISCORDINATED.woff2') format('woff2'),
url('https://kckarnige.github.io/femboi_owo/DISCORDINATED.woff') format('woff');
font-weight: normal;
font-style: normal;
}
:root {
--window-buttons: var(--header-secondary);
--cord-color: var(--header-primary);
--armcord-color: #7289da;
--titlebar-color: var(--background-tertiary);
}
.base-3dtUhz, .sidebar-2K8pFh {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
overflow: hidden;
border-top-left-radius: 8px;
}
div.menubar[role="menubar"] {
width: 0px;
}
.window-title:after {
content: "Cord";
color: var(--cord-color) !important;
font-weight: normal;
font-size: 14px;
font-family: Discordinated;
}
.window-title:before {
content: "ARM";
color: var(--armcord-color);
font-weight: normal;
font-size: 14px;
font-family: Helvetica, sans-serif;
}
.window-title {
font-size: 0px !important;
margin-left: initial !important;
transform: translate(10px, 2px);
}
.titlebar {
background: var(--titlebar-color) !important;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.titlebar .window-controls-container .window-icon {
background: var(--window-buttons) !important;
}
.notice-3bPHh-.colorDefault-22HBa0 {
display: none;
}
.window-caption {
background:#2c2f33
}

View file

@ -1,145 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta property="og:url" content="https://smartfrigde.github.io/">
<meta property="og:title" content="smartfridge website!">
<meta property="og:description" content="Interactive Smart Destkop.">
<meta property="og:type" content="website">
<meta name="author" content="smartfridge">
<meta name="description" content="Interactive Smart Destkop.">
<meta name="keywords" content="smartfridge, smartfrigde, github, discord, modding">
<link href="https://cdn.metroui.org.ua/v4/css/metro-all.min.css" rel="stylesheet">
<link href="descktop.css" rel="stylesheet">
<title>smartfridge website!</title>
<style>
.window-area {
background: url("pine.jpg") center center no-repeat;
background-size: cover;
}
#charm {
height: calc(100vh - 40px);
width: 396px;
background-color: #1F4F5D;
}
</style>
</head>
<body class="m4-cloak">
<div data-role="charms" data-position="right" id="charm" class="p-4">
<div class="h-100 d-flex flex-column">
<div class="charm-top">
<div class="text-center m-4">
<span>Github</span>
</div>
<div class="charm-notify">
<img class="icon" src="https://avatars.githubusercontent.com/u/37928912?v=4">
<div class="title">ArmCord</div>
<div class="content">ArmCord is a custom alternative Discord client made for people on lower-end devices and ARM architecture that want custom Discord experience.</div>
<div class="secondary">14:17 &bull; github.com</div>
</div>
<div class="charm-notify">
<img class="icon" src="https://avatars.githubusercontent.com/u/65690058?s=200&v=4">
<div class="title">Lightcord Rewrite (private)</div>
<div class="content">Lightcord is a simple and customizable client for Discord. It includes Glasstron and a Discord.js-like api.</div>
<div class="secondary">14:17 &bull; github.com</div>
</div>
<div class="charm-notify">
<img class="icon" src="https://avatars.githubusercontent.com/u/37928912?v=4">
<div class="title">GooseUpdate-Desktop</div>
<div class="content">GooseUpdate Desktop is alternative "installer" for GooseUpdate Mods (GooseMod, BetterDiscord, SmartCord).</div>
<div class="secondary">14:17 &bull; github.com</div>
</div>
<div class="text-center m-4">
<span>Information</span>
</div>
<div class="charm-notify">
<span class="icon mif-info"></span>
<div class="title">Daily Information</div>
<div class="content">GooseNest is an organisation developing modern tools and tech for Discord modding, alongside GooseMod to showcase them.</div>
</div>
<div class="clear mt-4 reduce-1">
<span class="place-left c-pointer">Collapse</span>
<span class="place-right c-pointer">Clear notifies</span>
</div>
</div>
<div class="charm-bottom mt-auto">
<div class="d-flex">
<div class="charm-tile">
<span class="icon mif-tablet-landscape"></span>
<span class="caption">Tablet mode</span>
</div>
<div class="charm-tile">
<span class="icon mif-wifi-full"></span>
<span class="caption">Network</span>
</div>
<div class="charm-tile">
<span class="icon mif-cog"></span>
<span class="caption">Preferences</span>
</div>
<div class="charm-tile active">
<span class="icon mif-rocket"></span>
<span class="caption">Fly mode</span>
</div>
</div>
<div class="d-flex">
<div class="charm-tile active">
<span class="icon mif-target"></span>
<span class="caption">Position</span>
</div>
<div class="charm-tile">
<span class="icon mif-bluetooth"></span>
<span class="caption">Not connected</span>
</div>
</div>
</div>
</div>
</div>
<div class="desktop">
<div class="window-area"></div>
<div class="task-bar">
<div class="task-bar-section">
<button class="task-bar-item" id="start-menu-toggle"><span class="mif-windows"></span></button>
<div class="start-menu" data-role="dropdown" data-toggle-element="#start-menu-toggle">
<div class="start-menu-inner">
<div class="explorer">
<ul class="v-menu w-100 bg-brandColor2 fg-white">
<li><a onclick="armcord()">ArmCord Showcase</a></li>
<li><a onclick="aboutMe()">About Me</a></li>
<li><a onclick="createTetrisWindow()">Tetris</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="task-bar-section tasks"></div>
<div class="task-bar-section system-tray ml-auto">
<button class="task-bar-item" id="open-charm" onclick="openCharm()"><span class="mif-comment"></span></button>
<span style="line-height: 40px;" class="pr-4">
<span data-role="clock" class="w-auto fg-white reduce-1" data-show-date="false"></span>
</span>
</div>
</div>
</div>
<script src="https://cdn.metroui.org.ua/v4/js/metro.min.js"></script>
<script src="desktop.js"></script>
<script>
</script>
<!-- ads-script -->
</body>
</html>

View file

@ -1,251 +0,0 @@
var Desktop = {
options: {
windowArea: ".window-area",
windowAreaClass: "",
taskBar: ".task-bar > .tasks",
taskBarClass: ""
},
wins: {},
setup: function(options){
this.options = $.extend( {}, this.options, options );
return this;
},
addToTaskBar: function(wnd){
var icon = wnd.getIcon();
var wID = wnd.win.attr("id");
var item = $("<span>").addClass("task-bar-item started").html(icon);
item.data("wID", wID);
item.appendTo($(this.options.taskBar));
},
removeFromTaskBar: function(wnd){
var wID = wnd.attr("id");
var items = $(".task-bar-item");
var that = this;
$.each(items, function(){
var item = $(this);
if (item.data("wID") === wID) {
delete that.wins[wID];
item.remove();
}
})
},
createWindow: function(o){
o.onDragStart = function(){
win = $(this);
$(".window").css("z-index", 1);
if (!win.hasClass("modal")) {
win.css("z-index", 3);
}
};
o.onDragStop = function(){
win = $(this);
if (!win.hasClass("modal"))
win.css("z-index", 2);
};
o.onWindowDestroy = function(win){
Desktop.removeFromTaskBar($(win));
};
var w = $("<div>").appendTo($(this.options.windowArea));
var wnd = w.window(o).data("window");
var win = wnd.win;
var shift = Metro.utils.objectLength(this.wins) * 16;
if (wnd.options.place === "auto" && wnd.options.top === "auto" && wnd.options.left === "auto") {
win.css({
top: shift,
left: shift
});
}
this.wins[win.attr("id")] = wnd;
this.addToTaskBar(wnd);
return wnd;
},
createArmCordWindow: function(o){
o.onDragStart = function(){
win = $(this);
$(".armwindow").css("z-index", 1);
if (!win.hasClass("modal")) {
win.css("z-index", 3);
}
};
o.onDragStop = function(){
win = $(this);
if (!win.hasClass("modal"))
win.css("z-index", 2);
};
o.onWindowDestroy = function(win){
Desktop.removeFromTaskBar($(win));
};
var w = $("<div>").appendTo($(this.options.windowArea));
var wnd = w.window(o).data("window");
var win = wnd.win;
var shift = Metro.utils.objectLength(this.wins) * 16;
if (wnd.options.place === "auto" && wnd.options.top === "auto" && wnd.options.left === "auto") {
win.css({
top: shift,
left: shift
});
}
this.wins[win.attr("id")] = wnd;
this.addToTaskBar(wnd);
return wnd;
}
};
Desktop.setup();
var w_icons = [
'rocket', 'apps', 'cog', 'anchor'
];
var w_titles = [
'rocket', 'apps', 'cog', 'anchor'
];
function createWindow(){
var index = $.random(0, 3);
var w = Desktop.createWindow({
resizeable: true,
draggable: true,
width: 300,
icon: "<span class='mif-"+w_icons[index]+"'></span>",
title: w_titles[index],
content: "<div class='p-2'>This is desktop demo created with Metro 4 Components Library</div>"
});
}
function aboutMe() {
var index = $.random(0, 3);
var w = Desktop.createWindow({
resizeable: true,
draggable: true,
width: 300,
icon: "<span class='mif-" + w_icons[index] + "'></span>",
title: "About Me",
content:
"<div class='p-2'>An enthusiastic programmer. Likes to tweak Electron apps to his liking. Loves to experiment with new ideas and such.</div>",
});
}
function createWindowWithCustomButtons(){
var index = $.random(0, 3);
var customButtons = [
{
html: "<span class='mif-rocket'></span>",
cls: "sys-button",
onclick: "alert('You press rocket button')"
},
{
html: "<span class='mif-user'></span>",
cls: "alert",
onclick: "alert('You press user button')"
},
{
html: "<span class='mif-cog'></span>",
cls: "warning",
onclick: "alert('You press cog button')"
}
];
Desktop.createWindow({
resizeable: true,
draggable: true,
customButtons: customButtons,
width: 360,
icon: "<span class='mif-"+w_icons[index]+"'></span>",
title: w_titles[index],
content: "<div class='p-2'>This is desktop demo created with Metro 4 Components Library.<br><br>This window has a custom buttons in caption.</div>"
});
}
function createWindowModal(){
Desktop.createWindow({
resizeable: false,
draggable: true,
width: 300,
icon: "<span class='mif-cogs'></span>",
title: "Modal window",
content: "<div class='p-2'>This is desktop demo created with Metro 4 Components Library</div>",
overlay: true,
//overlayColor: "transparent",
modal: true,
place: "center",
onShow: function(win){
win = $(win);
win.addClass("ani-swoopInTop");
setTimeout(function(){
$(win).removeClass("ani-swoopInTop");
}, 1000);
},
onClose: function(win){
win = $(win);
win.addClass("ani-swoopOutTop");
}
});
}
function armcord() {
Desktop.createArmCordWindow({
resizeable: false,
draggable: true,
width: 600,
//icon: "<span class='mif-" + w_icons[index] + "'></span>",
title: "<div class='window-title'></div>",
//content: `<img src="armcord-preview.png" alt="ArmCord">`,
content: "https://discord.com/app",
clsContent: "bg-dark",
});
}
function createWindowYoutube(){
Desktop.createWindow({
resizeable: true,
draggable: true,
width: 500,
icon: "<span class='mif-youtube'></span>",
title: "Meme of a week (Polish)",
content: "https://youtu.be/PFUQ-Fj1sSI",
clsContent: "bg-dark",
});
}
function createTetrisWindow() {
Desktop.createWindow({
resizeable: true,
draggable: true,
width: 500,
icon: "<span class='mif-youtube'></span>",
title: "Tetris",
content:
'<iframe src="https://www.neilb.net/tetrisjs/" title="Tetris" height="200" width="500" ></iframe>',
clsContent: "bg-dark",
});
}
function openCharm() {
var charm = $("#charm").data("charms");
charm.toggle();
}
$(".window-area").on("click", function(){
Metro.charms.close("#charm");
});
$(".charm-tile").on("click", function(){
$(this).toggleClass("active");
});

Binary file not shown.

Before

Width:  |  Height:  |  Size: 984 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB