Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
server
team-presentation
Commits
9342d19b
Commit
9342d19b
authored
Jun 12, 2017
by
Hakim El Hattab
Browse files
fix centering of edge-aligned controls
parent
6ae4ad69
Changes
3
Hide whitespace changes
Inline
Side-by-side
css/reveal.css
View file @
9342d19b
...
...
@@ -400,16 +400,20 @@ body {
right
:
auto
;
}
.reveal
.controls
[
data-controls-layout
=
"edges"
]
.navigate-left
{
top
:
50%
;
left
:
8px
;
}
left
:
8px
;
margin-top
:
-1.8em
;
}
.reveal
.controls
[
data-controls-layout
=
"edges"
]
.navigate-right
{
top
:
50%
;
right
:
8px
;
}
right
:
8px
;
margin-top
:
-1.8em
;
}
.reveal
.controls
[
data-controls-layout
=
"edges"
]
.navigate-up
{
top
:
8px
;
left
:
50%
;
}
left
:
50%
;
margin-left
:
-1.8em
;
}
.reveal
.controls
[
data-controls-layout
=
"edges"
]
.navigate-down
{
bottom
:
8px
;
left
:
50%
;
}
}
left
:
50%
;
margin-left
:
-1.8em
;
}
}
/*********************************************
* PROGRESS BAR
...
...
css/reveal.scss
View file @
9342d19b
...
...
@@ -477,21 +477,25 @@ $controlsArrowAngleActive: 36deg;
.navigate-left
{
top
:
50%
;
left
:
$spacing
;
margin-top
:
-
$controlArrowSize
/
2
;
}
.navigate-right
{
top
:
50%
;
right
:
$spacing
;
margin-top
:
-
$controlArrowSize
/
2
;
}
.navigate-up
{
top
:
$spacing
;
left
:
50%
;
margin-left
:
-
$controlArrowSize
/
2
;
}
.navigate-down
{
bottom
:
$spacing
;
left
:
50%
;
margin-left
:
-
$controlArrowSize
/
2
;
}
}
...
...
js/reveal.js
View file @
9342d19b
...
...
@@ -4965,7 +4965,7 @@
this
.
context
.
beginPath
();
this
.
context
.
arc
(
x
,
y
,
radius
,
0
,
Math
.
PI
*
2
,
false
);
this
.
context
.
lineWidth
=
this
.
thickness
;
this
.
context
.
strokeStyle
=
'
#666
'
;
this
.
context
.
strokeStyle
=
'
rgba( 255, 255, 255, 0.2 )
'
;
this
.
context
.
stroke
();
if
(
this
.
playing
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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