Skip to content

Commit

Permalink
chore(client): cleanup redundant styles (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmstss authored Sep 3, 2024
1 parent a49e34c commit ce2a76c
Show file tree
Hide file tree
Showing 45 changed files with 411 additions and 28,368 deletions.
2 changes: 1 addition & 1 deletion client/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/node_modules
/dist
/cypress/downloads
/public/config.js
/public/assets
/public/css
/public/vendor
/vcs
7 changes: 0 additions & 7 deletions client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,7 @@
<link href="/assets/vendor/venobox/venobox.css" rel="stylesheet" />
<link href="/assets/vendor/aos/aos.css" rel="stylesheet" />

<!-- Fontfaces CSS-->
<link href="/vendor/font-awesome-4.7/css/font-awesome.min.css" rel="stylesheet" media="all" />
<link href="/vendor/font-awesome-5/css/fontawesome-all.min.css" rel="stylesheet" media="all" />
<link href="/vendor/mdi-font/css/material-design-iconic-font.min.css" rel="stylesheet" media="all" />

<!-- Vendor CSS-->
<link href="/vendor/animsition/animsition.min.css" rel="stylesheet" media="all" />
<link href="/vendor/wow/animate.css" rel="stylesheet" media="all" />
<link href="/vendor/slick/slick.css" rel="stylesheet" media="all" />

Expand All @@ -62,7 +56,6 @@
<!-- Vendor JS -->
<script src="/vendor/slick/slick.min.js"></script>
<script src="/vendor/wow/wow.min.js"></script>
<script src="/vendor/animsition/animsition.min.js"></script>
<script src="/vendor/counter-up/jquery.waypoints.min.js"></script>
<script src="/vendor/counter-up/jquery.counterup.min.js"></script>

Expand Down
48 changes: 24 additions & 24 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
"version": "0.1.0",
"type": "module",
"private": true,
"dependencies": {
"axios": "^1.7.7",
"buffer": "^6.0.3",
"dangerously-set-html-content": "1.1.0",
"file-type": "^19.4.1",
"get-browser-fingerprint": "^3.2.0",
"react": "^18.3.1",
"react-datepicker": "^7.3.0",
"react-dom": "^18.3.1",
"react-owl-carousel": "^2.3.3",
"react-router-dom": "^6.26.1",
"xmldom": "^0.6.0"
},
"scripts": {
"cypress:open": "cypress open --e2e --browser chrome",
"cypress:run": "cypress run --e2e --browser chrome",
Expand All @@ -28,17 +15,18 @@
"format": "prettier --check .",
"lint": "eslint . --report-unused-disable-directives --max-warnings 0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
"dependencies": {
"axios": "^1.7.7",
"buffer": "^6.0.3",
"dangerously-set-html-content": "1.1.0",
"file-type": "^19.4.1",
"get-browser-fingerprint": "^3.2.0",
"react": "^18.3.1",
"react-datepicker": "^7.3.0",
"react-dom": "^18.3.1",
"react-owl-carousel": "^2.3.3",
"react-router-dom": "^6.26.1",
"xmldom": "^0.6.0"
},
"devDependencies": {
"@eslint/js": "^9.9.1",
Expand All @@ -60,5 +48,17 @@
"dangerously-set-html-content": {
"react": "^18.3.1"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
85 changes: 0 additions & 85 deletions client/public/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1492,91 +1492,6 @@ section {
}
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
padding: 10px 0 60px 0;
}

.portfolio-details .portfolio-details-container {
position: relative;
}

.portfolio-details .portfolio-details-carousel {
position: relative;
z-index: 1;
}

.portfolio-details .portfolio-details-carousel .owl-nav,
.portfolio-details .portfolio-details-carousel .owl-dots {
margin-top: 5px;
text-align: left;
}

.portfolio-details .portfolio-details-carousel .owl-dot {
display: inline-block;
margin: 0 10px 0 0;
width: 12px;
height: 12px;
border-radius: 50%;
background-color: #ddd !important;
}

.portfolio-details .portfolio-details-carousel .owl-dot.active {
background-color: #5846f9 !important;
}

.portfolio-details .portfolio-info {
padding: 30px;
position: absolute;
right: 0;
bottom: -70px;
background: #fff;
box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
z-index: 2;
}

.portfolio-details .portfolio-info h3 {
font-size: 22px;
font-weight: 700;
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
list-style: none;
padding: 0;
font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
margin-top: 10px;
}

.portfolio-details .portfolio-description {
padding-top: 50px;
}

.portfolio-details .portfolio-description h2 {
width: 50%;
font-size: 26px;
font-weight: 700;
margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
padding: 0 0 0 0;
}

@media (max-width: 768px) {
.portfolio-details .portfolio-info {
position: static;
margin-top: 30px;
}
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
Expand Down
Loading

0 comments on commit ce2a76c

Please sign in to comment.