Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
LINAGORA
L
LGS
Labs
voice-web
Commits
86be923f
Commit
86be923f
authored
Sep 23, 2017
by
Michael Henretty
Browse files
cleaning up cssnext errors and warnings, disabling custom property warning
parent
2c7e6dd6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
12 deletions
+25
-12
gulpfile.js
gulpfile.js
+8
-1
web/css/index.css
web/css/index.css
+17
-11
No files found.
gulpfile.js
View file @
86be923f
...
...
@@ -68,7 +68,14 @@ function compileCSS() {
var
cssnext
=
require
(
'
postcss-cssnext
'
);
var
cssnano
=
require
(
'
cssnano
'
);
var
plugins
=
[
cssnext
({
browsers
:
[
'
last 2 versions
'
]}),
cssnext
({
browsers
:
[
'
last 2 versions
'
],
features
:
{
customProperties
:
{
warnings
:
false
}
},
}),
cssnano
({
autoprefixer
:
false
})
];
return
gulp
.
src
(
PATH_CSS
)
...
...
web/css/index.css
View file @
86be923f
...
...
@@ -23,13 +23,14 @@
--record-background-image
:
url("/img/wave-red-large.png")
;
--record-background-image-mobile
:
url("/img/wave-red-mobile.png")
;
--page-margin
:
1rem
;
--standard-margin
:
0.3rem
;
--hamburger
:
calc
(
var
(
--header-height
)
*
0.7
);
--transition-default
:
0.3s
;
--desktop-width
:
50rem
;
--hero-height
:
15.3rem
;
--hero-height-mobile
:
12.5rem
;
--robot-height
:
19rem
;
--robot-height-mobile
:
1
0
rem
;
--robot-height-mobile
:
1
6
rem
;
--spinner-height
:
10rem
;
--bounce-curve
:
cubic-bezier
(
0.000
,
1.430
,
0.700
,
0.940
);
--shadow-overhang
:
0
1px
0
rgba
(
12
,
13
,
14
,
0.1
),
...
...
@@ -61,12 +62,6 @@
--bottom-z-index
:
0
;
}
@media
(
max-width
:
600px
)
{
:root
{
--robot-height
:
16rem
;
}
}
html
{
font-family
:
var
(
--base-font-family
);
font-size
:
var
(
--base-font-size
);
...
...
@@ -243,9 +238,8 @@ input:invalid {
/* Listen Box Component */
.listen-box
{
--space-between
:
0.3rem
;
display
:
flex
;
margin-bottom
:
var
(
--s
pace-betwee
n
);
margin-bottom
:
var
(
--s
tandard-margi
n
);
opacity
:
0.3
;
pointer-events
:
none
;
}
...
...
@@ -305,7 +299,7 @@ input:invalid {
flex
:
1
1
auto
;
display
:
flex
;
align-items
:
center
;
margin-right
:
var
(
--s
pace-betwee
n
);
margin-right
:
var
(
--s
tandard-margi
n
);
}
@media
(
max-width
:
600px
)
{
...
...
@@ -331,7 +325,7 @@ input:invalid {
}
.delete-box
{
margin-left
:
var
(
--s
pace-betwee
n
);
margin-left
:
var
(
--s
tandard-margi
n
);
}
.vote-box
{
...
...
@@ -977,6 +971,12 @@ body:not(.ios) .recording #background-container {
transform
:
translate
(
0
,
0
)
scale
(
0
);
}
@media
(
max-width
:
600px
)
{
.robot
{
height
:
var
(
--robot-height-mobile
);
}
}
.robot
>
img
{
height
:
100%
}
...
...
@@ -1083,6 +1083,12 @@ body:not(.ios) .recording #background-container {
transition
:
transform
0.2s
var
(
--bounce-curve
);
}
@media
(
max-width
:
600px
)
{
.robot
.bubble
{
top
:
calc
(
var
(
--robot-height-mobile
)
/
4
);
}
}
.robot
.bubble
:hover
{
transform
:
scale
(
1.05
);
}
...
...
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