Skip to content

Commit

Permalink
Merge branch 'Fatih20-Icon-Tweaks'
Browse files Browse the repository at this point in the history
  • Loading branch information
ma1onso committed May 17, 2020
2 parents 99df515 + 6a47c98 commit 148feef
Show file tree
Hide file tree
Showing 14 changed files with 262 additions and 5 deletions.
11 changes: 6 additions & 5 deletions data/icons/128/com.github.ma1onso.quotes.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/16/com.github.ma1onso.quotes.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/24/com.github.ma1onso.quotes.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/32/com.github.ma1onso.quotes.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/48/com.github.ma1onso.quotes.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/64/com.github.ma1onso.quotes.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/online-account-facebook.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/online-account-reddit.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/online-account-telegram.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified data/icons/online-account-tumblr.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions data/icons/online-account-twitter-presenter.sozi.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@



<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>elementary Icon Template</title>
<style>
iframe {
border: 1px solid rgb(128, 128, 128);
}

.sozi-frame-preview, .sozi-controls {
text-align: center;
margin: 1rem 0;
}

iframe:first-child, iframe:last-child {
width: 40vh;
height: 30vh;
}

iframe:nth-child(2) {
width: 56vh;
height: 42vh
}

.sozi-notes {
margin: 0 25vw;
}
</style>
</head>
<body>
<div class="sozi-frame-preview">
<iframe src="online-account-twitter.sozi.html"></iframe>
<iframe src="online-account-twitter.sozi.html"></iframe>
<iframe src="online-account-twitter.sozi.html"></iframe>
</div>
<div class="sozi-controls">
<input type="button" id="sozi-previous-btn" value="Prev">
<input type="button" id="sozi-next-btn" value="Next">
</div>
<div class="sozi-notes"></div>

<script>"use strict";var currentFrameIndex=0,previews=[{index:-1},{index:0},{index:1}],mainSozi=void 0;function updatePreview(e){0<=e.index&&e.index<e.sozi.presentation.frames.length?e.sozi.player.jumpToFrame(e.index):e.sozi.player.enableBlankScreen()}function updateNotes(){var e=previews[1].sozi.player.currentFrame.notes;"string"==typeof e&&(document.querySelector(".sozi-notes").innerHTML=e)}function onSoziLoaded(n,o){!function e(){n.sozi?o(n.sozi):setTimeout(e,1)}()}function load(e){var i=document.querySelectorAll("iframe");previews.forEach(function(n,o){onSoziLoaded(i[o].contentWindow,function(e){(n.sozi=e).player.disableMedia(),e.player.pause(),e.presentation.enableMouseTranslation=e.presentation.enableMouseNavigation=e.presentation.enableKeyboardZoom=e.presentation.enableKeyboardRotation=e.presentation.enableKeyboardNavigation=!1,updatePreview(n),1===o&&updateNotes()})});var n=window.open(e,"sozi-presentation","width=600, height=400, scrollbars=yes");try{n.focus(),onSoziLoaded(n,function(e){(mainSozi=e).player.addListener("frameChange",onFrameChange)})}catch(e){alert("Could not open presentation window. Please allow popups for this site and refresh this page.")}}function onFrameChange(){previews[1].index=mainSozi.player.currentFrame.index,previews[0].index=previews[1].index-1,previews[2].index=previews[1].index+1,previews.forEach(updatePreview),updateNotes()}function next(){mainSozi.player.moveToNext()}function previous(){mainSozi.player.moveToPrevious()}window.addEventListener("load",function(){load(document.querySelector("iframe").src),document.getElementById("sozi-previous-btn").addEventListener("click",previous,!1),document.getElementById("sozi-next-btn").addEventListener("click",next,!1)},!1);</script>
</body>
</body>
191 changes: 191 additions & 0 deletions data/icons/online-account-twitter.sozi.html

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions data/icons/online-account-twitter.sozi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"aspectWidth": 4,
"aspectHeight": 3,
"enableKeyboardZoom": true,
"enableKeyboardRotation": true,
"enableKeyboardNavigation": true,
"enableMouseTranslation": true,
"enableMouseZoom": true,
"enableMouseRotation": true,
"enableMouseNavigation": true,
"frames": [],
"elementsToHide": [],
"selectedFrames": [],
"selectedLayers": [],
"editableLayers": []
}
Empty file modified data/icons/online-account-twitter.svg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 148feef

Please sign in to comment.