Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #204 from Exabyte-io/chore/cleanups+use-css
chore: cleanups + use css + setup pre-commit hook
- Loading branch information
Showing
19 changed files
with
156 additions
and
1,168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
echo ">>>>>>>> Husky Pre-commit: Fixing lint" | ||
echo "" | ||
npm run lint:fix | ||
|
||
echo ">>>>>>>> Husky Pre-commit: Transpiling sources" | ||
echo "" | ||
npm run transpile | ||
npm run transpile-tests | ||
git status | ||
|
||
echo ">>>>>>>> Husky Pre-commit: Adding transpiled sources in dist" | ||
echo "" | ||
git add dist | ||
echo "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,59 @@ | ||
/** | ||
* SCSS Sources for the CSS content below | ||
*/ | ||
|
||
/** | ||
$header-height: 54px; | ||
$footer-height: 54px; | ||
$crystal-lattice-accordion-height-with-borders: 56px; | ||
.three-renderer { | ||
height: calc(100vh - $footer-height - $header-height); } | ||
height: calc(100vh - $footer-height - $header-height); | ||
} | ||
#basis-xyz { | ||
height: calc( 100vh - $footer-height - $header-height - $crystal-lattice-accordion-height-with-borders - $crystal-basis-accordion-header-with-button-group); | ||
overflow-y: hidden; } | ||
#basis-xyz .cm-editor { | ||
$crystal-basis-accordion-header-with-button-group: 116px; | ||
height: calc( | ||
100vh - $footer-height - $header-height - | ||
$crystal-lattice-accordion-height-with-borders - $crystal-basis-accordion-header-with-button-group | ||
); | ||
overflow-y: hidden; | ||
.cm-editor { | ||
// Assuming that `em` will pick up the font size of the MUI theme | ||
font-size: 0.9em; | ||
max-height: calc( 100vh - $footer-height - $header-height - $crystal-lattice-accordion-height-with-borders - $crystal-basis-accordion-header-with-button-group); | ||
max-height: calc( | ||
100vh - $footer-height - $header-height - | ||
$crystal-lattice-accordion-height-with-borders - $crystal-basis-accordion-header-with-button-group | ||
); | ||
resize: vertical; | ||
overflow-y: auto; } | ||
#basis-xyz .cm-editor .cm-scroller { | ||
min-height: calc( 100vh - $footer-height - $header-height - $crystal-lattice-accordion-height-with-borders - $crystal-basis-accordion-header-with-button-group); } | ||
overflow-y: auto; | ||
.cm-scroller { | ||
min-height: calc( | ||
100vh - $footer-height - $header-height - | ||
$crystal-lattice-accordion-height-with-borders - $crystal-basis-accordion-header-with-button-group | ||
); | ||
} | ||
} | ||
} | ||
**/ | ||
|
||
.three-renderer { | ||
height: calc(100vh - 108px); | ||
} | ||
|
||
#basis-xyz { | ||
height: calc(100vh - 280px); | ||
overflow-y: hidden; | ||
} | ||
|
||
#basis-xyz .cm-editor { | ||
font-size: 0.9em; | ||
max-height: calc(100vh - 280px); | ||
resize: vertical; | ||
overflow-y: auto; | ||
} | ||
|
||
#basis-xyz .cm-editor .cm-scroller { | ||
min-height: calc(100vh - 280px); | ||
} |
12 changes: 12 additions & 0 deletions
12
...r/support/step_definitions/When I generate interpolated set with # intermediate images.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
"use strict"; | ||
|
||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.default = _default; | ||
var _material_designer_page = require("../widgets/material_designer_page"); | ||
function _default() { | ||
this.When(/^I generate interpolated set with "([^"]*)" intermediate images$/, nImages => { | ||
_material_designer_page.materialDesignerPage.designerWidget.generateInterpolatedSet(parseInt(nImages)); | ||
}); | ||
} |
Oops, something went wrong.