Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ $background-modifier-accent: hsla(0, 0%, 100%, 0.06);
$elevation-low: 0 1px 0 rgba(4, 4, 5, 0.2), 0 1.5px 0 rgba(6, 6, 7, 0.05), 0 2px 0 rgba(4, 4, 5, 0.05);
$elevation-high: 0 8px 16px rgba(0, 0, 0, 0.24);

$style-primary: #19bd9c;
$style-primary: #8B5CF6;
$style-error: #d32f2f;

$menu-height: 40px;
Expand Down
37 changes: 11 additions & 26 deletions images/chromium-headful/client/src/components/about.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
<div class="window">
<div class="loading" v-if="loading">
<div class="loader">
<div class="bounce1"></div>
<div class="bounce2"></div>
<img src="../assets/images/logo.svg" alt="Kernel" class="kernel-logo" />
</div>
</div>

Expand Down Expand Up @@ -85,25 +84,14 @@
height: 90px;
position: relative;
margin: 0 auto 20px auto;
display: flex;
justify-content: center;
align-items: center;

.bounce1,
.bounce2 {
.kernel-logo {
width: 100%;
height: 100%;
border-radius: 50%;
background-color: $style-primary;
opacity: 0.6;
position: absolute;
top: 0;
left: 0;

-webkit-animation: bounce 2s infinite ease-in-out;
animation: bounce 2s infinite ease-in-out;
}

.bounce2 {
-webkit-animation-delay: -1s;
animation-delay: -1s;
animation: spin 1s linear infinite;
}
}
}
Expand All @@ -114,15 +102,12 @@
}
}

@keyframes bounce {
0%,
100% {
transform: scale(0);
-webkit-transform: scale(0);
@keyframes spin {
from {
transform: rotate(0deg);
}
50% {
transform: scale(1);
-webkit-transform: scale(1);
to {
transform: rotate(360deg);
}
}
</style>
Expand Down
37 changes: 11 additions & 26 deletions images/chromium-headful/client/src/components/connect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
</button>
</form>
<div class="loader" v-if="connecting">
<div class="bounce1"></div>
<div class="bounce2"></div>
<img src="../assets/images/logo.svg" alt="Kernel" class="kernel-logo" />
</div>
</div>
</div>
Expand Down Expand Up @@ -105,38 +104,24 @@
height: 90px;
position: relative;
margin: 0 auto;
display: flex;
justify-content: center;
align-items: center;

.bounce1,
.bounce2 {
.kernel-logo {
width: 100%;
height: 100%;
border-radius: 50%;
background-color: $style-primary;
opacity: 0.6;
position: absolute;
top: 0;
left: 0;

-webkit-animation: bounce 2s infinite ease-in-out;
animation: bounce 2s infinite ease-in-out;
}

.bounce2 {
-webkit-animation-delay: -1s;
animation-delay: -1s;
animation: spin 1s linear infinite;
}
}
}

@keyframes bounce {
0%,
100% {
transform: scale(0);
-webkit-transform: scale(0);
@keyframes spin {
from {
transform: rotate(0deg);
}
50% {
transform: scale(1);
-webkit-transform: scale(1);
to {
transform: rotate(360deg);
}
}
}
Expand Down
Loading