Skip to content

Commit

Permalink
feat(ui): move to sass node package
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Feb 5, 2022
1 parent 057e73a commit a8bced9
Show file tree
Hide file tree
Showing 13 changed files with 570 additions and 1,585 deletions.
2 changes: 1 addition & 1 deletion ui/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
presets: ["@vue/app"]
presets: ["@vue/cli-plugin-babel/preset"]
};
2,107 changes: 546 additions & 1,561 deletions ui/package-lock.json

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,23 @@
"eslint-plugin-jest": "^26.0.0",
"eslint-plugin-vue": "^8.4.1",
"jest-transform-stub": "^2.0.0",
"monaco-editor-webpack-plugin": "^5.0.0",
"monaco-editor": "^0.29.1",
"node-sass": "^5.0.0",
"monaco-editor-webpack-plugin": "^5.0.0",
"sass": "^1.49.7",
"sass-loader": "^10.1.1",
"vue-jest": "^3.0.7",
"vue-template-compiler": "^2.6.14"
},
"postcss": {
"plugins": {
"autoprefixer": {}
}
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"postcss": {
"plugins": {
"autoprefixer": {}
}
},
"browserslist": [
"> 1%",
"last 2 versions"
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/executions/Gantt.vue
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ table {
}
}
/deep/ .log-wrapper .attempt-wrapper {
::v-deep .log-wrapper .attempt-wrapper {
margin-bottom: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/executions/Metrics.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
</script>

<style scoped lang="scss">
/deep/ thead tr:not(.top) {
::v-deep thead tr:not(.top) {
display: none;
}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/executions/Overview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
};
</script>
<style scoped lang="scss">
/deep/ thead {
::v-deep thead {
display: none;
}
Expand Down
6 changes: 3 additions & 3 deletions ui/src/components/executions/Vars.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@
</script>

<style scoped lang="scss">
/deep/ thead tr:not(.top) {
::v-deep thead tr:not(.top) {
display: none;
}
/deep/ td.key {
::v-deep td.key {
width: 150px;
}
/deep/ .b-table-stacked {
::v-deep .b-table-stacked {
td.key {
width: 100%;
}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/inputs/Editor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
<style scoped lang="scss">
@import "../../styles/variable";
/deep/ .editor-container {
::v-deep .editor-container {
position: relative;
max-width: 100%;
display: flex;
Expand Down
4 changes: 2 additions & 2 deletions ui/src/components/layout/DataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ small {
}
/deep/ th {
::v-deep th {
white-space: nowrap;
}
/deep/ .badge {
::v-deep .badge {
font-size: 100%;
margin-right: $spacer/4;
margin-bottom: $spacer/4;
Expand Down
4 changes: 2 additions & 2 deletions ui/src/components/layout/DateRange.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,12 @@
margin-left: 10px;
margin-right: 10px;
}
/deep/ .mx-datepicker {
::v-deep .mx-datepicker {
margin-right: 5px;
}
/deep/ .mx-datepicker-popup {
::v-deep .mx-datepicker-popup {
height: 272px;
.mx-datepicker-sidebar {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/layout/Duration.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

<style lang="scss" scoped>
.duration-tt {
/deep/ .tooltip-inner {
::v-deep .tooltip-inner {
text-align: left;
white-space: nowrap;
max-width: none;
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/layout/Pagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ select {
width: auto;
}
/deep/ .text-total {
::v-deep .text-total {
color: $pagination-color !important;
font-weight: normal;
}
Expand Down
6 changes: 3 additions & 3 deletions ui/src/override/components/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -226,15 +226,15 @@
}
}
/deep/ a.vsm--link_active[href="#"] {
::v-deep a.vsm--link_active[href="#"] {
cursor: initial !important;
}
/deep/ .vsm--item {
::v-deep .vsm--item {
transition: opacity 0.2s;
}
/deep/ .menu-icon {
::v-deep .menu-icon {
font-size: 1.5em;
background-color: transparent !important;
padding-bottom: 15px;
Expand Down

0 comments on commit a8bced9

Please sign in to comment.