-
-
Details
-
-
-
-
-
- validarCart(id)} />
-
- >
- }
- title={name && name.toUpperCase()}
- subheader={`Price: $${price - (percentageDiscount / 100) * price}`}
- />
-
-
+
+
Details
+
+
+
+
+
+ validarCart(id)} />
+
+ >
+ }
+ title={name && name.toUpperCase()}
+ subheader={`Price: $${price - (percentageDiscount / 100) * price}`}
+ />
+
+
+
+
+ setOpen(false)}
+ />
+
+
+ CATEGORY:{" "}
+ {categories?.toUpperCase() || "No Categoty Defined"}
+
+
+
+ LEVEL: {level?.toUpperCase() || "No Level Defined"}
+
+
+
+ LANGUAGE: {" "}
+ {language?.toUpperCase() || "No Language Defined "}
+
+
+
+ DATE:
+ {date ? date.slice(0, 10) : "NO DATE"}
+
+
+
+
+
+ DESCRIPTION:
+ {description ? description : "NO INFO"}
+
+
+ {solds > 100 ? ( // only for testing (solds > 100)
+
+ ) : null}
+ {solds > 20 && solds < 100 ? ( // only for testing (solds > 20 && solds < 100)
+
+ ) : null}
+ {numbersOfDiscounts > 0 ? (
+
+ ) : null}
+
+
+
+
-
-
- CATEGORY:{" "}
- {categories?.toUpperCase() || "No Categoty Defined"}
-
LEVEL: {level?.toUpperCase() || "No Level Defined"}
@@ -227,13 +267,13 @@ function Details({
}
function mapStateToProps(state) {
- return {
- details: state.rootReducer.courseDetails,
- cart : state.rootReducer.cart,
- login: state.rootReducer.login,
- userInfo: state.rootReducer.userInfo,
- urlVideo: state.rootReducer.coursesReviews
- }
+ return {
+ details: state.rootReducer.courseDetails,
+ cart: state.rootReducer.cart,
+ login: state.rootReducer.login,
+ userInfo: state.rootReducer.userInfo,
+ urlVideo: state.rootReducer.coursesReviews
+ }
}
-export default connect(mapStateToProps, {addCart,getCoursesReviewsById,addCartLogged})(Details)
\ No newline at end of file
+export default connect(mapStateToProps, { addCart, getCoursesReviewsById, addCartLogged })(Details)
\ No newline at end of file
diff --git a/scientia/src/components/Form/Form.css b/scientia/src/components/Form/Form.css
index 8360da3c..dc8be243 100644
--- a/scientia/src/components/Form/Form.css
+++ b/scientia/src/components/Form/Form.css
@@ -1,92 +1,98 @@
.form-div-container {
- display: flex;
- align-items: center;
- justify-content: center;
+ display: flex;
+ align-items: center;
+ justify-content: center;
}
.form-div-container form {
- display: flex;
- flex-direction: column;
- width: 500px;
+ display: flex;
+ flex-direction: column;
+ width: 500px;
}
.form-div-container input {
- margin: 10px;
+ margin: 10px;
}
.title-form-div {
display: flex;
margin-bottom: 40px;
align-items: center;
- background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(52,58,64,1) 100%);
+ background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(52, 58, 64, 1) 100%);
color: aliceblue;
height: 120px;
margin-top: 5px;
}
.title-form-div h1 {
- padding-left: 20%;
+ padding-left: 20%;
font-size: 50px;
color: #fff;
}
.form-button {
-
- appearance: none;
- background-color: #2ea44f;
- border: 1px solid rgba(27, 31, 35, .15);
- border-radius: 6px;
- box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
- box-sizing: border-box;
- color: #fff;
- cursor: pointer;
- display: inline-block;
- font-family: -apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
- font-size: 14px;
- font-weight: 600;
- line-height: 20px;
- padding: 6px 16px;
- position: relative;
- text-align: center;
- text-decoration: none;
- user-select: none;
- -webkit-user-select: none;
- touch-action: manipulation;
- vertical-align: middle;
- white-space: nowrap;
- }
-
-.form -button:focus:not(:focus-visible):not(.focus-visible) {
- box-shadow: none;
- outline: none;
- }
-
+ appearance: none;
+ background-color: #2ea44f;
+ border: 1px solid rgba(27, 31, 35, .15);
+ border-radius: 6px;
+ box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
+ box-sizing: border-box;
+ color: #fff;
+ cursor: pointer;
+ display: inline-block;
+ font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
+ font-size: 14px;
+ font-weight: 600;
+ line-height: 20px;
+ padding: 6px 16px;
+ position: relative;
+ text-align: center;
+ text-decoration: none;
+ user-select: none;
+ -webkit-user-select: none;
+ touch-action: manipulation;
+ vertical-align: middle;
+ white-space: nowrap;
+}
-.form -button:hover {
- background-color: #2c974b;
- }
-
-.form -button:focus {
- box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
- outline: none;
- }
-
+.form -button:focus:not(:focus-visible):not(.focus-visible) {
+ box-shadow: none;
+ outline: none;
+}
-.form -button:disabled {
- background-color: #94d3a2;
- border-color: rgba(27, 31, 35, .1);
- color: rgba(255, 255, 255, .8);
- cursor: default;
- }
-
-.form -button:active {
- background-color: #298e46;
- box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
- }
+.form -button:hover {
+ background-color: #2c974b;
+}
+
+
+.form -button:focus {
+ box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
+ outline: none;
+}
+
+
+.form -button:disabled {
+ background-color: #94d3a2;
+ border-color: rgba(27, 31, 35, .1);
+ color: rgba(255, 255, 255, .8);
+ cursor: default;
+}
+
+
+.form -button:active {
+ background-color: #298e46;
+ box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
+}
.selector {
margin-bottom: 10px;
+}
+
+@media (max-width: 600px) {
+ .title-form-div h1 {
+ padding-left: 5%;
+ }
}
\ No newline at end of file
diff --git a/scientia/src/components/Home/Home.css b/scientia/src/components/Home/Home.css
index becf44d5..f2ceccfe 100644
--- a/scientia/src/components/Home/Home.css
+++ b/scientia/src/components/Home/Home.css
@@ -31,9 +31,13 @@
}
@media (max-width: 600px) {
+ .title-home-div h1 {
+ padding-left: 5%;
+ }
+
.boton-filtrado {
display: flex;
-justify-content: center;
+ justify-content: center;
}
.barra-filtrado {
diff --git a/scientia/src/components/Home/Home.js b/scientia/src/components/Home/Home.js
index 31b773cb..762b1397 100644
--- a/scientia/src/components/Home/Home.js
+++ b/scientia/src/components/Home/Home.js
@@ -1,6 +1,5 @@
import React, { useEffect } from "react";
-import Filtro from "../Search/Filtro";
import SearchBar from "../Search/SearchBar";
import CourseList from "../../CourseList/CourseList";
import { getAllCourses, getGenresCourses, getUsers, getUserInfo, getCart, saludo } from '../../actions/actions'
@@ -45,13 +44,8 @@ export function Home({ user, getUserInfo, getAllCourses, getGenresCourses, getCa
Home
-
-
-
>
diff --git a/scientia/src/components/Landing/Landing.css b/scientia/src/components/Landing/Landing.css
index edfbc42e..e0ef302a 100644
--- a/scientia/src/components/Landing/Landing.css
+++ b/scientia/src/components/Landing/Landing.css
@@ -1,4 +1,3 @@
-
.imagen-landing-div {
display: flex;
justify-content: center;
@@ -13,7 +12,7 @@
.title-landing-div {
display: flex;
align-items: center;
- background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(52,58,64,1) 100%);
+ background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(52, 58, 64, 1) 100%);
color: aliceblue;
height: 120px;
}
@@ -38,4 +37,10 @@
padding-left: 10px;
font-size: 30px;
color: rgb(5, 5, 5);
+}
+
+@media (max-width: 600px) {
+ .title-landing-div h1 {
+ padding-left: 5%;
+ }
}
\ No newline at end of file
diff --git a/scientia/src/components/Login/Login.jsx b/scientia/src/components/Login/Login.jsx
index 765939c5..6c96ac5a 100644
--- a/scientia/src/components/Login/Login.jsx
+++ b/scientia/src/components/Login/Login.jsx
@@ -12,6 +12,7 @@ function Login(props) {
const [state, setState] = useState({ email: '', password: '', remember: false })
const [redir, setRedir] = useState(false)
+ const [signUp, setSignUp] = useState(false)
const { enqueueSnackbar } = useSnackbar();
@@ -78,10 +79,11 @@ function Login(props) {
Enter
Login with Google
- Register
+ setSignUp(true)}>Register
+ {signUp &&
}
{redir &&
}
>
)
diff --git a/scientia/src/components/Login/login.module.css b/scientia/src/components/Login/login.module.css
index 16b7de28..a2cb32cc 100644
--- a/scientia/src/components/Login/login.module.css
+++ b/scientia/src/components/Login/login.module.css
@@ -37,15 +37,17 @@
flex-direction: column;
justify-content: space-evenly;
}
+
.botones button {
margin-bottom: 10px;
+ margin-left: auto;
+ margin-right: auto;
}
+
.titleLoginDiv h1 {
+ margin: 0;
padding: 0;
- margin-left: auto;
- margin-right: auto;
- font-size: 50px;
- color: #fff;
+ margin-left: 5%;
}
.contenedorFormLogin {
diff --git a/scientia/src/components/NewForm/Form.css b/scientia/src/components/NewForm/Form.css
index 365c2e7d..ea16b04b 100644
--- a/scientia/src/components/NewForm/Form.css
+++ b/scientia/src/components/NewForm/Form.css
@@ -1,17 +1,17 @@
.form-div-container {
- display: flex;
- align-items: center;
- justify-content: center;
+ display: flex;
+ align-items: center;
+ justify-content: center;
}
.form-div-container form {
- display: flex;
- flex-direction: column;
- width: 500px;
+ display: flex;
+ flex-direction: column;
+ width: 500px;
}
.form-div-container input {
- margin: 10px;
+ margin: 10px;
}
.containerBarra {
@@ -24,73 +24,73 @@
display: flex;
margin-bottom: 40px;
align-items: center;
- background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(52,58,64,1) 100%);
+ background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(52, 58, 64, 1) 100%);
color: aliceblue;
height: 120px;
margin-top: 5px;
}
.title-form-div h1 {
- padding-left: 20%;
+ padding-left: 20%;
font-size: 50px;
color: #fff;
}
.form-button {
- appearance: none;
- background-color: #2ea44f;
- border: 1px solid rgba(27, 31, 35, .15);
- border-radius: 6px;
- box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
- box-sizing: border-box;
- color: #fff;
- cursor: pointer;
- display: inline-block;
- font-family: -apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
- font-size: 14px;
- font-weight: 600;
- line-height: 20px;
- padding: 6px 16px;
- position: relative;
- text-align: center;
- text-decoration: none;
- user-select: none;
- -webkit-user-select: none;
- touch-action: manipulation;
- vertical-align: middle;
- white-space: nowrap;
- }
-
+ appearance: none;
+ background-color: #2ea44f;
+ border: 1px solid rgba(27, 31, 35, .15);
+ border-radius: 6px;
+ box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
+ box-sizing: border-box;
+ color: #fff;
+ cursor: pointer;
+ display: inline-block;
+ font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
+ font-size: 14px;
+ font-weight: 600;
+ line-height: 20px;
+ padding: 6px 16px;
+ position: relative;
+ text-align: center;
+ text-decoration: none;
+ user-select: none;
+ -webkit-user-select: none;
+ touch-action: manipulation;
+ vertical-align: middle;
+ white-space: nowrap;
+}
+
.form-button:focus:not(:focus-visible):not(.focus-visible) {
- box-shadow: none;
- outline: none;
- }
-
+ box-shadow: none;
+ outline: none;
+}
+
.form-button:hover {
- background-color: #2c974b;
- }
-
+ background-color: #2c974b;
+}
+
.form-button:focus {
- box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
- outline: none;
- }
-
+ box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
+ outline: none;
+}
+
.form-button:disabled {
- background-color: #94d3a2;
- border-color: rgba(27, 31, 35, .1);
- color: rgba(255, 255, 255, .8);
- cursor: default;
- }
-
+ background-color: #94d3a2;
+ border-color: rgba(27, 31, 35, .1);
+ color: rgba(255, 255, 255, .8);
+ cursor: default;
+}
+
.form-button:active {
- background-color: #298e46;
- box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
- }
+ background-color: #298e46;
+ box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
+}
.selector {
margin-bottom: 10px;
@@ -100,4 +100,10 @@
justify-content: center;
justify-items: center;
text-align: center;
+}
+
+@media (max-width: 600px) {
+ .title-form-div h1 {
+ padding-left: 5%;
+ }
}
\ No newline at end of file
diff --git a/scientia/src/components/NewForm/NewFormLast.css b/scientia/src/components/NewForm/NewFormLast.css
index 67b1c913..d4a57470 100644
--- a/scientia/src/components/NewForm/NewFormLast.css
+++ b/scientia/src/components/NewForm/NewFormLast.css
@@ -1,19 +1,19 @@
.form-div-container {
- display: flex;
- align-items: center;
- justify-content: center;
+ display: flex;
+ align-items: center;
+ justify-content: center;
}
.formLast {
- display: flex;
+ display: flex;
}
.formLast img {
- width: 100px;
+ width: 100px;
}
.form-div-container input {
- margin: 10px;
+ margin: 10px;
}
.containerBarra {
@@ -33,72 +33,78 @@
}
.title-form-div h1 {
- padding-left: 20%;
+ padding-left: 20%;
font-size: 50px;
color: #fff;
}
.form-button {
- appearance: none;
- background-color: #2ea44f;
- border: 1px solid rgba(27, 31, 35, .15);
- border-radius: 6px;
- box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
- box-sizing: border-box;
- color: #fff;
- cursor: pointer;
- display: inline-block;
- font-family: -apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
- font-size: 14px;
- font-weight: 600;
- line-height: 20px;
- padding: 6px 16px;
- position: relative;
- text-align: center;
- text-decoration: none;
- user-select: none;
- -webkit-user-select: none;
- touch-action: manipulation;
- vertical-align: middle;
- white-space: nowrap;
- }
-
+ appearance: none;
+ background-color: #2ea44f;
+ border: 1px solid rgba(27, 31, 35, .15);
+ border-radius: 6px;
+ box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
+ box-sizing: border-box;
+ color: #fff;
+ cursor: pointer;
+ display: inline-block;
+ font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
+ font-size: 14px;
+ font-weight: 600;
+ line-height: 20px;
+ padding: 6px 16px;
+ position: relative;
+ text-align: center;
+ text-decoration: none;
+ user-select: none;
+ -webkit-user-select: none;
+ touch-action: manipulation;
+ vertical-align: middle;
+ white-space: nowrap;
+}
+
.form-button:focus:not(:focus-visible):not(.focus-visible) {
- box-shadow: none;
- outline: none;
- }
-
+ box-shadow: none;
+ outline: none;
+}
+
.form-button:hover {
- background-color: #2c974b;
- }
-
+ background-color: #2c974b;
+}
+
.form-button:focus {
- box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
- outline: none;
- }
-
+ box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
+ outline: none;
+}
+
.form-button:disabled {
- background-color: #94d3a2;
- border-color: rgba(27, 31, 35, .1);
- color: rgba(255, 255, 255, .8);
- cursor: default;
- }
-
+ background-color: #94d3a2;
+ border-color: rgba(27, 31, 35, .1);
+ color: rgba(255, 255, 255, .8);
+ cursor: default;
+}
+
.form-button:active {
- background-color: #298e46;
- box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
- }
+ background-color: #298e46;
+ box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
+}
.selector {
margin-bottom: 10px;
}
.containerLastForm {
- background-color: rgba(90, 97, 90, 0.301);
- padding: 10px;
+ background-color: rgba(90, 97, 90, 0.301);
+ padding: 10px;
+}
+
+@media screen and (min-width: 767px) {
+ .title-form-div h1 {
+ padding-left: 5%;
+ }
}
\ No newline at end of file
diff --git a/scientia/src/components/Pagination/Pagination.css b/scientia/src/components/Pagination/Pagination.css
index 003676d6..c09eabae 100644
--- a/scientia/src/components/Pagination/Pagination.css
+++ b/scientia/src/components/Pagination/Pagination.css
@@ -11,7 +11,7 @@
}
.pag-div li {
- list-style:none;
+ list-style: none;
margin: 20px;
width: 10px;
}
@@ -21,6 +21,16 @@
font-size: larger;
width: 30px;
height: 30px;
- color:black
-
+ color: black
+}
+
+@media (max-width: 600px) {
+ .pag-div {
+ display: flex;
+ justify-content: flex-start;
+ margin-top: 20px;
+ width: 300px;
+ overflow-x: scroll;
+
+ }
}
\ No newline at end of file
diff --git a/scientia/src/components/Payment/tarjeta.module.css b/scientia/src/components/Payment/tarjeta.module.css
index bdf697cb..2389b7c5 100644
--- a/scientia/src/components/Payment/tarjeta.module.css
+++ b/scientia/src/components/Payment/tarjeta.module.css
@@ -23,6 +23,7 @@
outline: none;
font-weight: 300;
}
+
.button {
width: 100%;
padding: 10px;
@@ -35,6 +36,7 @@
text-transform: uppercase;
letter-spacing: 5px;
}
+
.progress-bar {
width: 100%;
padding: 5px;
@@ -43,12 +45,11 @@
.titlePayDiv {
display: flex;
- margin-bottom: 40px;
align-items: center;
background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(52, 58, 64, 1) 100%);
color: aliceblue;
height: 120px;
- margin-top: 5px;
+ margin-bottom: 40px;
}
.titlePayDiv h1 {
@@ -58,10 +59,16 @@
}
@media screen and (min-width: 767px) {
+ .titlePayDiv h1 {
+ padding-left: 5%;
+ font-size: 50px;
+ color: #fff;
+ }
.container {
width: 40%;
margin: auto;
}
+
.formControl {
display: flex;
}
diff --git a/scientia/src/components/Player/Player.css b/scientia/src/components/Player/Player.css
index cbefec7f..b5773093 100644
--- a/scientia/src/components/Player/Player.css
+++ b/scientia/src/components/Player/Player.css
@@ -10,18 +10,24 @@
align-items: center;
}
-.title-player-div{
+.title-player-div {
display: flex;
margin-bottom: 20px;
align-items: center;
- background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(52,58,64,1) 100%);
+ background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(52, 58, 64, 1) 100%);
color: aliceblue;
height: 120px;
margin-top: 5px;
}
.title-player-div h1 {
- padding-left: 20%;
+ padding-left: 20%;
font-size: 50px;
color: #fff;
+}
+
+@media (max-width: 600px) {
+ .title-player-div h1 {
+ padding-left: 5%;
+ }
}
\ No newline at end of file
diff --git a/scientia/src/components/Search/Filtro.jsx b/scientia/src/components/Search/Filtro.jsx
index a4bdcacf..84b32724 100644
--- a/scientia/src/components/Search/Filtro.jsx
+++ b/scientia/src/components/Search/Filtro.jsx
@@ -11,11 +11,12 @@ function Filtro() {
return (
<>
-
- Filter
-
-
-
+
+
+ Filter
+
+
+
Filters
diff --git a/scientia/src/components/Search/SearchBar.css b/scientia/src/components/Search/SearchBar.css
index d6a4d5fa..8fb634c0 100644
--- a/scientia/src/components/Search/SearchBar.css
+++ b/scientia/src/components/Search/SearchBar.css
@@ -27,4 +27,15 @@
display: flex;
justify-content: center;
align-items: center;
+}
+
+
+.botonFiltro {
+ margin-bottom: 20px;
+}
+
+@media (max-width: 600px) {
+ .wrapper .search {
+ width: 250px;
+ }
}
\ No newline at end of file
diff --git a/scientia/src/components/Search/SearchBar.js b/scientia/src/components/Search/SearchBar.js
index 74a789ee..e9b27712 100644
--- a/scientia/src/components/Search/SearchBar.js
+++ b/scientia/src/components/Search/SearchBar.js
@@ -1,5 +1,3 @@
-
-
import { React, useState, useEffect } from 'react'
import { connect } from 'react-redux'
import FormGroup from '@mui/material/FormGroup';
@@ -121,10 +119,10 @@ function SearchBar({ coursesByGenre, allCourses, searchByName, getAllCourses, ge
value={input.buscar}
autoComplete="off"
>
-
+
SEARCH
- getAllCourses()}>
+ getAllCourses()}>
ALL
diff --git a/scientia/src/components/SignUp/SignUp.css b/scientia/src/components/SignUp/SignUp.css
index 1efc6b76..3cb243a6 100644
--- a/scientia/src/components/SignUp/SignUp.css
+++ b/scientia/src/components/SignUp/SignUp.css
@@ -60,15 +60,21 @@
}
@media (max-width: 600px) {
- .form-row{
+ .titleLoginDiv h1 {
+ padding-left: 5%;
+ }
+
+ .form-row {
display: flex;
width: 100%;
margin-bottom: 10px;
flex-direction: column;
}
+
.btn {
width: 200px !important;
}
+
h1 {
text-align: center;
}
diff --git a/scientia/src/components/TrainningCard/TrainningCard.css b/scientia/src/components/TrainningCard/TrainningCard.css
index 3267634c..1a47e03d 100644
--- a/scientia/src/components/TrainningCard/TrainningCard.css
+++ b/scientia/src/components/TrainningCard/TrainningCard.css
@@ -8,7 +8,7 @@
}
.container-course2 .button-delete-div {
-
+
display: flex;
justify-content: flex-end;
}
@@ -62,7 +62,6 @@
}
.container-course2 .confirm-button3 {
-
appearance: none;
background-color: #2ea44f;
border: 1px solid rgba(27, 31, 35, .15);
@@ -72,7 +71,7 @@
color: #fff;
cursor: pointer;
display: inline-block;
- font-family: -apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
+ font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
font-size: 14px;
font-weight: 600;
line-height: 20px;
@@ -87,10 +86,23 @@
white-space: nowrap;
margin-bottom: 20px;
margin-top: 0px;
+}
- }
-
- .confirm-button3:focus {
+.confirm-button3:focus {
box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
outline: none;
- }
+}
+
+@media (max-width: 600px) {
+ .container-course2 {
+ margin: 20px;
+ padding: 20px;
+ width: 320px;
+ height: 500px;
+ }
+
+ .course-div-card2 img {
+ width: 300px;
+ height: 200px;
+ }
+}
\ No newline at end of file
diff --git a/scientia/src/components/myLearning/myLearning.css b/scientia/src/components/myLearning/myLearning.css
index 1d48ab15..bf1830d9 100644
--- a/scientia/src/components/myLearning/myLearning.css
+++ b/scientia/src/components/myLearning/myLearning.css
@@ -14,7 +14,6 @@
.inputdiv-cupon {
width: 700px;
- background: rgb(52, 58, 64);
background: linear-gradient(0deg, rgba(52, 58, 64, 1) 0%, rgba(0, 0, 0, 1) 100%);
border-radius: 4px;
display: grid;
@@ -22,7 +21,10 @@
padding: 10px 0 10px 145px;
margin-left: auto;
margin-right: auto;
- ;
+}
+
+.inputdiv-cupon input {
+ margin-right: 20px;
}
.save {
@@ -45,4 +47,28 @@
padding-left: 20%;
font-size: 50px;
color: #fff;
+}
+
+
+@media (max-width: 600px) {
+ .inputdiv-cupon {
+ width: 300px;
+ display: flex;
+ flex-direction: column;
+ padding-left: 10px;
+ padding-top: 10px;
+ padding-bottom: 10px;
+ padding-right: 10px;
+ }
+ .inputdiv-cupon input {
+ width: 100%;
+ border-radius: 5px;
+ height: 40px;
+ }
+ .save button {
+ width: 279px !important;
+ }
+ .title-learning-div h1 {
+ padding-left: 5%;
+ }
}
\ No newline at end of file
diff --git a/scientia/src/components/myLearning/myLearning.js b/scientia/src/components/myLearning/myLearning.js
index 449790a0..54ddcb10 100644
--- a/scientia/src/components/myLearning/myLearning.js
+++ b/scientia/src/components/myLearning/myLearning.js
@@ -53,7 +53,7 @@ function MyLearning({ courses, user, getUserInfo }) {
/>
- Take your gift!
+ Take your gift!