aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes
diff options
context:
space:
mode:
Diffstat (limited to 'app/Resources/static/themes')
-rw-r--r--app/Resources/static/themes/material/css/various.scss27
-rwxr-xr-xapp/Resources/static/themes/material/index.js6
2 files changed, 33 insertions, 0 deletions
diff --git a/app/Resources/static/themes/material/css/various.scss b/app/Resources/static/themes/material/css/various.scss
index 7daf40ec..5ff18038 100644
--- a/app/Resources/static/themes/material/css/various.scss
+++ b/app/Resources/static/themes/material/css/various.scss
@@ -30,3 +30,30 @@ nav .input-field input {
30.tab { 30.tab {
31 flex: 1; 31 flex: 1;
32} 32}
33
34.slider .slides {
35 background: #00acc1;
36
37 li {
38 img {
39 background: no-repeat;
40 background-size: contain;
41 background-position: unset;
42 }
43
44 .icon {
45 width: auto;
46 height: 180px;
47 }
48
49 .icon.browser {
50 width: auto;
51 height: 100px;
52 }
53
54 .caption {
55 width: 85%;
56 left: 10%;
57 }
58 }
59}
diff --git a/app/Resources/static/themes/material/index.js b/app/Resources/static/themes/material/index.js
index d6afbb8a..74f64f9e 100755
--- a/app/Resources/static/themes/material/index.js
+++ b/app/Resources/static/themes/material/index.js
@@ -75,4 +75,10 @@ $(document).ready(() => {
75 const scrollPercent = (s / (d - c)) * 100; 75 const scrollPercent = (s / (d - c)) * 100;
76 $('.progress .determinate').css('width', `${scrollPercent}%`); 76 $('.progress .determinate').css('width', `${scrollPercent}%`);
77 }); 77 });
78
79 if ($('.slider')) {
80 $('.slider').slider({
81 height: 500,
82 });
83 }
78}); 84});