Skip to content

Commit

Permalink
upgrade bourbon libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
hussam-i-am committed Oct 20, 2023
1 parent dcba408 commit 7e3dd5c
Show file tree
Hide file tree
Showing 11 changed files with 50 additions and 1,244 deletions.
5 changes: 0 additions & 5 deletions frontend/app/styles/bitters/_grid-settings.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "neat-helpers"; // or "../neat/neat-helpers" when not in Rails

// Neat Overrides
// $column: 90px;
// $gutter: 30px;
Expand All @@ -9,6 +7,3 @@
// Neat Breakpoints
$medium-screen: 600px;
$large-screen: 900px;

$medium-screen-up: new-breakpoint(min-width $medium-screen 4);
$large-screen-up: new-breakpoint(min-width $large-screen 8);
2 changes: 1 addition & 1 deletion frontend/app/styles/bitters/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use 'sass:math';

// Typography
$base-font-family: $helvetica;
$base-font-family: $font-stack-helvetica;
$heading-font-family: $base-font-family;

// Font Sizes
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/styles/components/checkin/tracked-level.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

.tooltip {
@include position(absolute, null 0 3em 0);
@include transition (all 0.2s ease-in-out);
transition: all 0.2s ease-in-out;
background-color: black;
background: black;
border-radius: 3px;
Expand Down
10 changes: 5 additions & 5 deletions frontend/app/styles/components/label-switch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
display: none;

+ .checkbox {
@include transition(all 0.3s ease);
transition: all 0.3s ease;
border-radius: $switch-radius;
border: none;
cursor: pointer;
Expand All @@ -39,8 +39,8 @@

&:before {
@include position(absolute, 2px 0 0 2px);
@include transform(scale(1));
@include transition(all 0.3s ease);
transform: scale(1);
transition: all 0.3s ease;
background-color: $switch-background;
border-radius: $switch-radius;
content: "";
Expand All @@ -51,7 +51,7 @@

&:after {
@include position(absolute, 2px 0 0 2px);
@include transition(all 0.3s ease);
transition: all 0.3s ease;
@include size($knob-size);
background-color: $switch-background;
border-radius: $knob-radius;
Expand All @@ -65,7 +65,7 @@
+ .checkbox {

&:before {
@include transform(scale(0));
transform: scale(0);
}

&:after {
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/styles/components/step-controls.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
margin-top: 20px;
.back,
.forward {
@include span-columns(6);
@include grid-column(6);
text-align: center;
a {
margin-top: 8px;
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/styles/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -658,4 +658,4 @@ input[type=checkbox]{
.flex-container.right-nav a:nth-child(2) {
padding-right: 8px;
padding-left: 8px;
}
}
15 changes: 15 additions & 0 deletions frontend/app/styles/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,18 @@
@include card;
max-width: 500px;
}

@mixin outer-container {
@include clearfix;
box-sizing: border-box;
margin: {
left: auto;
right: auto;
}
}

@mixin media($query) {
@media screen and (min-width: $query) {
@content;
}
}
2 changes: 2 additions & 0 deletions frontend/config/environment.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
'use strict';

module.exports = function(environment) {

console.log('environment: ' + process.env.FACEBOOK_APP_ID)
var ENV = {
rootURL: '/',
environment: environment,
Expand Down
4 changes: 2 additions & 2 deletions frontend/ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ module.exports = function(defaults) {

sassOptions: {
includePaths: [
'node_modules/bourbon/app/assets/stylesheets',
'node_modules/bourbon-neat/app/assets/stylesheets',
'node_modules/bourbon/core',
'node_modules/bourbon-neat/core',
]
},

Expand Down
Loading

0 comments on commit 7e3dd5c

Please sign in to comment.