Skip to content

Commit

Permalink
fix(web-ux): remove forbidden css rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomgrus authored and omar-chahbouni-decathlon committed Apr 4, 2022
1 parent 16d451e commit f38e641
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 37 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build-web-ux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,27 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
ref: ${{ github.ref }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: javascript
config-file: .github/codeql/codeql-web-ux-config.yml
- name: Get project version
id: getVersion
working-directory: code/web-ux
run: |
PROJECT_VERSION=$(make -s get-version)
echo ::set-output name=projectVersion::${PROJECT_VERSION}
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
with:
projectBaseDir: code/web-ux
args: >
-Dsonar.projectVersion=${{ steps.getVersion.outputs.projectVersion }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
Expand Down
10 changes: 10 additions & 0 deletions code/web-ux/sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
sonar.organization=decathlon
sonar.projectName=ARA web-ux
sonar.projectKey=decathlon_ara_web-ux
sonar.host.url=https://sonarcloud.io

# Path is relative to the sonar-project.properties file. Defaults to .
sonar.sources=src

# paths or files to exclude for the analysis
sonar.exclusions=node_modules
21 changes: 9 additions & 12 deletions code/web-ux/src/assets/css/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,15 @@
@import '@vtmn/css-utilities/dist/index.css'; /* import Vitamin utilities CSS classes (required) */
@import 'tailwindcss/screens'; /* import screens CSS classes from Tailwind CSS (optional) */
@import '@vtmn/css/dist/components.css'; /* import Vitamin components CSS classes (required) */
@tailwind base;
@tailwind components;
@tailwind utilities;
@import 'tailwindcss/components'; /* import base CSS classes from Tailwind CSS (optional) */
@import 'tailwindcss/utilities'; /* import base CSS classes from Tailwind CSS (optional) */

@layer components {
.vtmn-text-input.nav-search {
position: relative;
background-color: var(--vtmn-semantic-color_background-secondary);
box-shadow: none;
}
.vtmn-text-input.nav-search {
position: relative;
background-color: var(--vtmn-semantic-color_background-secondary);
box-shadow: none;
}

.vtmn-text-input.nav-search:hover, .vtmn-text-input.nav-search:focus {
box-shadow: none !important;
}
.vtmn-text-input.nav-search:hover, .vtmn-text-input.nav-search:focus {
box-shadow: none !important;
}
24 changes: 0 additions & 24 deletions code/web-ux/src/callback.html

This file was deleted.

2 changes: 1 addition & 1 deletion code/web-ux/src/components/headerNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default {
<span class="vtmx-menu-line" role="presentation"></span>
</button>
<RouterLink to="/">
<img src="../assets/img/logo.png" width="30" />
<img src="../assets/img/logo.png" alt="ara logo" width="30" />
<h5 class="vtmn-typo_title-5 vtmn-pl-1">ARA</h5>
</RouterLink>
</div>
Expand Down

0 comments on commit f38e641

Please sign in to comment.