Skip to content

Commit d9a13f6

Browse files
committed
Add the smartphone loader
1 parent 10bd5f8 commit d9a13f6

File tree

6 files changed

+51
-5
lines changed

6 files changed

+51
-5
lines changed

assets/css/main.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ body {
118118
padding: 15px;
119119
background-color: #f5f5f5;
120120
border: solid 1px #dedede;
121-
width: 25%;
122121
margin: 10px 10px 10px 0;
123122
}
124123

assets/js/main.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,34 @@
118118
{
119119
button: document.getElementById('loader-ball'),
120120
className: 'loader-ball'
121+
},
122+
{
123+
button: document.getElementById('loader-ball-shadow'),
124+
className: 'loader-ball',
125+
attributes: [
126+
{ attribute: 'shadow' }
127+
]
128+
},
129+
{
130+
button: document.getElementById('loader-smartphone'),
131+
className: 'loader-smartphone'
132+
},
133+
{
134+
button: document.getElementById('loader-smartphone-text'),
135+
className: 'loader-smartphone',
136+
attributes: [
137+
{ attribute: 'data-screen' }
138+
]
139+
},
140+
{
141+
button: document.getElementById('loader-smartphone-custom-text'),
142+
className: 'loader-smartphone',
143+
attributes: [
144+
{
145+
attribute: 'data-screen',
146+
value: document.getElementById('smartphone-custom-text')
147+
}
148+
]
121149
}
122150
];
123151

dist/css-loader.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/main.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)