Skip to content

Commit 69b991b

Browse files
Vineeth T RVineeth T R
authored andcommitted
spin 297, brand update
1 parent fad3e22 commit 69b991b

File tree

4 files changed

+16
-68
lines changed

4 files changed

+16
-68
lines changed

css/styles.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.

index.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,15 @@
5555
</head>
5656
<body>
5757
<header>
58-
<span class="brand"> L &nbsp; ader </span>
58+
<span class="brand">CSS L &nbsp; aders</span>
5959

6060
<nav>
6161
<a class="nav-btn codepen" target="_blank" href="https://codepen.io/vineethtrv/pen/NWxZqMM"></a>
6262
<a class="nav-btn git" target="_blank" href="https://github.com/vineethtrv/css-loader"></a>
6363
</nav>
6464
</header>
6565

66-
<main id="main">
67-
<div class="section" id="demo">
68-
<span class="loader"></span>
69-
</div>
70-
</main>
66+
<main id="main"></main>
7167

7268

7369
<footer>

js/loaders/graph.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,15 +497,18 @@ export const GRAPH = [
497497

498498
{
499499
id: "pprDltFlp",
500-
html: `<span class="loader"></span>`,
500+
html: `<span class="loader">Deleting</span>`,
501+
content: 'Deleting',
501502
css: `.loader {
502503
position: relative;
503504
background: #ff3d00;
504505
width: 80px;
505506
height: 30px;
506507
line-height: 18px;
507508
text-align: center;
508-
color: #000000;
509+
color: #931010;
510+
font-weight: 700;
511+
letter-spacing: 0.5px;
509512
font-size: 14px;
510513
box-sizing: border-box;
511514
border: 5px groove #de3500;

scss/styles.scss

Lines changed: 8 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,23 @@ header {
8787
&::after{
8888
content: '';
8989
position: absolute;
90-
left: 20px;
90+
left: 95px;
9191
bottom: 7px;
9292
border: 3px solid $lite;
9393
border-bottom-color: $brand;
9494
width: 20px;
9595
height: 20px;
9696
border-radius: 50%;
97-
animation: rotation 0.6s linear infinite;
97+
animation: brandRotation 0.6s linear infinite;
9898
}
9999
}
100100

101+
@keyframes brandRotation{
102+
0% { transform: rotate(0deg)}
103+
100% { transform: rotate(360deg)}
104+
}
105+
106+
101107
#main {
102108
min-height: 100vh;
103109
width: 100%;
@@ -279,64 +285,7 @@ code {
279285

280286

281287

282-
#demo {
283-
// Start
284-
display: none !important;
285-
286-
287-
288-
289-
.loader {
290-
width: 32px;
291-
height: 32px;
292-
position: relative;
293-
}
294-
.loader:before {
295-
content: "";
296-
position: absolute;
297-
}
298-
.loader:after {
299-
animation: moveX 0.5s infinite linear alternate;
300-
}
301-
302-
@keyframes moveX {
303-
100% {
304-
transform: translateX(-50%) scale(1.5);
305-
}
306-
307-
308-
}
309-
310-
311-
312-
313-
314-
315-
316-
317-
318-
319-
320-
321-
322-
323-
324-
325-
326-
// End
327-
328-
329-
}
330-
331-
332-
333-
334-
335-
336-
337-
338288
// overwrite
339-
340289
div[data-id="prog-crak-erh"]{
341290
justify-content: flex-start !important;
342291
}

0 commit comments

Comments
 (0)