Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yPhil
Pétrolette
Commits
ac0e5d9a
Commit
ac0e5d9a
authored
Mar 05, 2018
by
yPhil
Browse files
Merge branch 'drag-drop' into dev
parents
030feabb
e658c243
Changes
6
Hide whitespace changes
Inline
Side-by-side
package-lock.json
View file @
ac0e5d9a
{
"name"
:
"petrolette"
,
"version"
:
"1.0.1
4
"
,
"version"
:
"1.0.1
5
"
,
"lockfileVersion"
:
1
,
"requires"
:
true
,
"dependencies"
:
{
...
...
package.json
View file @
ac0e5d9a
{
"name"
:
"petrolette"
,
"description"
:
"Fly-by-night news reading webapp."
,
"version"
:
"1.0.1
4
"
,
"version"
:
"1.0.1
5
"
,
"private"
:
true
,
"license"
:
"GPL-3.0-only"
,
"engines"
:
{
...
...
public/css/petrolette.css
View file @
ac0e5d9a
...
...
@@ -1103,7 +1103,7 @@ div.introjs-helperLayer {
position
:
relative
;
z-index
:
20
;
background-color
:
var
(
--ui-color-qua
);
color
:
var
(
--ui-color-sec
);
/*
color: var(--ui-color-sec);
*/
overflow
:
hidden
;
height
:
45px
;
}
...
...
@@ -1131,7 +1131,7 @@ div.introjs-helperLayer {
position
:
absolute
;
top
:
0
;
z-index
:
5
;
transition
:
all
0
.3s
linear
;
transition
:
all
.3s
linear
;
}
.topnav
>
div
.menuBarItem
:hover
.text
{
...
...
@@ -1154,8 +1154,15 @@ div.introjs-helperLayer {
.topnav
i
.icon-petrolette
{
display
:
block
;
cursor
:
pointer
;
font-size
:
24pt
;
margin
:
6px
12px
6px
6px
;
color
:
var
(
--ui-color-pri
);
transition
:
all
.3s
linear
;
}
.topnav
i
.icon-petrolette
:hover
,
.topnav
i
.icon-petrolette.writing
{
color
:
var
(
--ui-color-sec
);
}
...
...
public/lib/js/PTL.prefs.js
View file @
ac0e5d9a
...
...
@@ -129,12 +129,14 @@ PTL.prefs = (function() {
},
writeConfig
:
function
(
key
,
val
)
{
var
$loader
=
$
(
'
#indicatorContainer
'
);
$loader
.
fadeToggle
(
50
);
$
(
'
div#logoTitle i
'
).
addClass
(
'
writing
'
);
localStorage
.
setItem
(
key
,
val
);
$loader
.
fadeToggle
(
'
fast
'
);
setTimeout
(
function
()
{
$
(
'
div#logoTitle i
'
).
delay
(
'
slow
'
).
removeClass
(
'
writing
'
);
},
300
);
},
exportConfig
:
function
(
data
,
fileName
)
{
...
...
public/lib/js/PTL.sync.js
View file @
ac0e5d9a
...
...
@@ -93,10 +93,6 @@ PTL.sync = (function() {
},
writeSync
:
function
(
sources
)
{
var
$loader
=
$
(
'
#indicatorContainer
'
);
$loader
.
fadeToggle
(
50
);
remoteStorage
.
petrolette
.
write
(
sources
)
.
then
(()
=>
{
console
.
info
(
'
Pétrolette | Writing to remote storage OK
'
);
...
...
@@ -105,9 +101,6 @@ PTL.sync = (function() {
console
.
error
(
'
Pétrolette | Remote file validation error:
'
,
err
);
});
// localStorage.setItem(key, val);
$loader
.
fadeToggle
(
'
fast
'
);
}
};
}());
public/lib/js/PTL.tab.js
View file @
ac0e5d9a
...
...
@@ -77,7 +77,6 @@ PTL.tab = {
$
(
'
div#tabs ul li
'
).
remove
();
$
(
'
div#tabs div
'
).
remove
();
$
(
'
#noSourcesButton
'
).
fadeIn
(
'
slow
'
);
$
(
'
#indicatorContainer
'
).
fadeOut
(
'
fast
'
);
PTL
.
tab
.
saveTabs
();
PTL
.
tab
.
makeNewTabButton
(
$
(
'
div#tabs
'
));
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment