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
d770f32b
Commit
d770f32b
authored
May 17, 2017
by
Hakim El Hattab
Browse files
control layout tweaks
parent
c966672a
Changes
2
Hide whitespace changes
Inline
Side-by-side
css/reveal.css
View file @
d770f32b
...
...
@@ -354,24 +354,27 @@ body {
.reveal
.controls
.enabled.fragmented
:hover
{
opacity
:
1
;
}
.reveal
:not
(
.has-vertical-slides
)
.controls
.navigate-left
,
.reveal
:not
(
.has-vertical-slides
)
.controls
.navigate-right
{
bottom
:
10px
;
}
.reveal
:not
(
.has-vertical-slides
)
.controls
.navigate-left
{
bottom
:
1.2em
;
right
:
5.8em
;
}
.reveal
:not
(
.has-
horizont
al-slides
)
.controls
.navigate-
up
,
.reveal
:not
(
.has-horizontal-slides
)
.controls
.navigate-down
{
right
:
1
0px
;
}
.reveal
:not
(
.has-
vertic
al-slides
)
.controls
.navigate-
right
{
bottom
:
1.2em
;
right
:
1
.2em
;
}
.reveal
:not
(
.has-horizontal-slides
)
.controls
.navigate-up
{
bottom
:
3.9em
;
}
right
:
1.2em
;
bottom
:
5.8em
;
}
.reveal
.has-dark-background
.controls
.pagination-arrow
:after
,
.reveal.has-dark-background
.controls
.pagination-arrow
:before
{
b
ackground-color
:
#fff
;
}
.reveal
:not
(
.has-horizontal-slides
)
.controls
.navigate-down
{
right
:
1.2em
;
b
ottom
:
1.2em
;
}
.reveal.has-light-background
.controls
.pagination-arrow
:after
,
.reveal.has-light-background
.controls
.pagination-arrow
:before
{
background-color
:
#000
;
}
.reveal.has-dark-background
.controls
{
color
:
#fff
;
}
.reveal.has-light-background
.controls
{
color
:
#000
;
}
@media
screen
and
(
min-width
:
500px
)
{
.reveal
.controls
[
data-controls-layout
=
"edges"
]
{
...
...
css/reveal.scss
View file @
d770f32b
...
...
@@ -419,27 +419,31 @@ $controlArrowThickness: 0.5em;
}
// Adjust the layout when there are no vertical slides
.reveal
:not
(
.has-vertical-slides
)
.controls
.navigate-left
,
.reveal
:not
(
.has-vertical-slides
)
.controls
.navigate-right
{
bottom
:
10px
;
.reveal
:not
(
.has-vertical-slides
)
.controls
.navigate-left
{
bottom
:
1
.2em
;
right
:
2
.2em
+
$controlArrowSize
;
}
.reveal
:not
(
.has-
horizont
al-slides
)
.controls
.navigate-
up
,
.reveal
:not
(
.has-horizontal-slides
)
.controls
.navigate-down
{
right
:
1
0px
;
.reveal
:not
(
.has-
vertic
al-slides
)
.controls
.navigate-
right
{
bottom
:
1
.2em
;
right
:
1
.2em
;
}
.reveal
:not
(
.has-horizontal-slides
)
.controls
.navigate-up
{
bottom
:
$controlArrowSpacing
*
1
.5
+
$controlArrowSize
/
2
;
right
:
1
.2em
;
bottom
:
2
.2em
+
$controlArrowSize
;
}
.reveal
:not
(
.has-horizontal-slides
)
.controls
.navigate-down
{
right
:
1
.2em
;
bottom
:
1
.2em
;
}
.reveal.has-dark-background
.controls
.pagination-arrow
:after
,
.reveal.has-dark-background
.controls
.pagination-arrow
:before
{
background-color
:
#fff
;
.reveal.has-dark-background
.controls
{
color
:
#fff
;
}
.reveal.has-light-background
.controls
.pagination-arrow
:after
,
.reveal.has-light-background
.controls
.pagination-arrow
:before
{
background-color
:
#000
;
.reveal.has-light-background
.controls
{
color
:
#000
;
}
// Edge aligned controls layout
...
...
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