Skip to content

Commit

Permalink
Remove new/old styling. Reverting back to bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
MKodde authored and phavekes committed Mar 4, 2024
1 parent 888a743 commit 08d085e
Show file tree
Hide file tree
Showing 34 changed files with 159 additions and 2,647 deletions.
120 changes: 100 additions & 20 deletions assets/scss/application.scss
Original file line number Diff line number Diff line change
@@ -1,23 +1,103 @@
@charset "utf-8";
@import "../../node_modules/compass-mixins";
@include global-reset ;

$fa-font-path: "../../fonts";
@import "fonts/font-awesome";
@import "fonts/roboto";

@import "bootstrap";
@import "vars";
@import "utilities/reset";

@import "base/base";
@import "base/mixins";
@import "utilities/media_queries";
@import "components/header";
@import "components/button";
@import "components/form";
@import "components/alerts";
@import "components/icon_legend";
@import "components/table";
@import "components/navigation";
@import "components/footer";
@import "pages/base";

.main-content {
margin: 2rem 4rem;
}

.status-container {
max-width: 75rem;
.status:not(.initialized) {
display: none;
}
}

.spinner-container {
min-height: 2rem;
img.spinner {
height: 75px;
display: block;
margin: 4rem auto;
}
}

.img-rotate {
animation: spin 1s linear infinite;
}

@keyframes spin {
100% { transform: rotate(360deg); }
}

body {
background-color: $gray-lighter;
font-size: 15px;
line-height: 20px;

@media (max-width: $medium) {
background-color: white;
}

h1 {
font-size: 24px;
line-height: 26px;
}

.container {
max-width: 75rem;
background: #fff;
padding: 0 2rem;

@media (min-width: $medium) {
border-radius: 4px;
box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
margin-top: 2rem;
}

.content {
@media (max-width: $small) {
padding: 2rem 0;
}
}
}

.page-header {
margin: 0 0 2rem 0;
padding: 2rem 0 1rem 0;
}

footer {
padding-bottom: 2rem;

.container-fluid {
padding: 0;
}

form {
display: inline;

button {
padding: 0;
}
}
}
}

div.page-header {
img.logo {
max-width: 180px;
max-height: 90px;
}
}

.btn-off-screen {
position: absolute;
left: 100%;
}

div.middle {
display: flex;
align-items: center;
}
35 changes: 0 additions & 35 deletions assets/scss/base/base.scss

This file was deleted.

109 changes: 0 additions & 109 deletions assets/scss/base/mixins.scss

This file was deleted.

33 changes: 0 additions & 33 deletions assets/scss/components/alerts.scss

This file was deleted.

57 changes: 0 additions & 57 deletions assets/scss/components/button.scss

This file was deleted.

Loading

0 comments on commit 08d085e

Please sign in to comment.