diff --git a/frontend/src/index.css b/frontend/src/index.css
index b60e0948..5c7add16 100644
--- a/frontend/src/index.css
+++ b/frontend/src/index.css
@@ -16,12 +16,12 @@ iframe {
}
.container {
- padding: 0 15rem;
+ padding: 4.3rem 15rem;
}
@media screen and (max-width: 1350px) {
.container {
- padding: 0 8rem;
+ padding: 4.3rem 8rem;
}
}
@@ -33,6 +33,6 @@ iframe {
@media screen and (max-width: 646px) {
.container {
- padding: 0 3rem; /* 화면 크기가 768px 미만일 때 padding 값을 조정 */
+ padding: 4.3rem 3rem; /* 화면 크기가 768px 미만일 때 padding 값을 조정 */
}
}
\ No newline at end of file
diff --git a/frontend/src/pages/chatRoom.js b/frontend/src/pages/chatRoom.js
index 27e71d22..1dae2f56 100644
--- a/frontend/src/pages/chatRoom.js
+++ b/frontend/src/pages/chatRoom.js
@@ -31,7 +31,6 @@ function ChatRoom() {
backgroundColor: '#FFFFFF',
height: '510px',
position: 'relative',
- borderBottom: '0.7px solid #d9d9d9'
};
return (
diff --git a/frontend/src/pages/totalLessons.js b/frontend/src/pages/totalLessons.js
index 82ae0396..002d29fd 100644
--- a/frontend/src/pages/totalLessons.js
+++ b/frontend/src/pages/totalLessons.js
@@ -9,11 +9,10 @@ import { setLessonId } from '../store/lesson/lessonInfo';
import '../style/lesson/totalLessonsCss.css';
function TotalLessons() {
- const dispatch = useDispatch();
+ const dispatch = useDispatch()
useEffect(() => {
dispatch(resetlessonSearch())
- })
-
+ }, [])
return (
@@ -30,7 +29,7 @@ function TotalLessons() {
-
diff --git a/frontend/src/store/lesson/lessonSearch.js b/frontend/src/store/lesson/lessonSearch.js
index 58db29c4..6ccc90de 100644
--- a/frontend/src/store/lesson/lessonSearch.js
+++ b/frontend/src/store/lesson/lessonSearch.js
@@ -6,7 +6,8 @@ const initialState = {
deadline : true,
category : [],
keyword : "",
- lessonId : ""
+ lessonId : "",
+ result : []
}
const lessonSearch = createSlice({
@@ -31,6 +32,9 @@ const lessonSearch = createSlice({
setLessonId : (state, action) => {
state.lessonId = action.payload
},
+ setResult : (state, action) => {
+ state.result = action.payload
+ },
resetlessonSearch : (state) => {
return initialState
}
@@ -38,6 +42,6 @@ const lessonSearch = createSlice({
})
export const {
- setOrder, setDeadLine, setCategories, setKeyword, setType, setLessonId, resetlessonSearch
+ setOrder, setDeadLine, setCategories, setKeyword, setType,setResult, setLessonId, resetlessonSearch
} = lessonSearch.actions
export default lessonSearch.reducer
\ No newline at end of file
diff --git a/frontend/src/store/lesson/searchBarKeyword.js b/frontend/src/store/lesson/searchBarKeyword.js
index 8dd64329..29d995d7 100644
--- a/frontend/src/store/lesson/searchBarKeyword.js
+++ b/frontend/src/store/lesson/searchBarKeyword.js
@@ -1,15 +1,20 @@
import { createSlice } from "@reduxjs/toolkit";
const initialState = {
- keyword: "",
-};
-
+ type : 'all',
+ order : "title",
+ deadline : true,
+ category : [],
+ keyword : "",
+ lessonId : ""
+}
const searchBarKeyword = createSlice({
name: 'searchBarKeyword',
initialState,
reducers: {
setSearchBarKeyword: (state, action) => {
state.keyword = action.payload;
+ console.log(action)
},
},
});
diff --git a/frontend/src/style/chat/chatroom.css b/frontend/src/style/chat/chatroom.css
index ed74adb2..aeac89d7 100644
--- a/frontend/src/style/chat/chatroom.css
+++ b/frontend/src/style/chat/chatroom.css
@@ -14,10 +14,8 @@
.chat-room-content {
flex: 3;
-}
-
-.ChatSpace {
- border-right: 0.7px solid #D9D9D9;
+ border-bottom: 0.7px solid #d9d9d9;
+ border-right: 0.7px solid #d9d9d9;
}
.Emptychat {
diff --git a/frontend/src/style/classlist.css b/frontend/src/style/classlist.css
deleted file mode 100644
index 7efdfc75..00000000
--- a/frontend/src/style/classlist.css
+++ /dev/null
@@ -1,80 +0,0 @@
-.classlist-list {
- display: flex;
- align-items: start;
-}
-
-.classlist-list img {
- width: 150px;
- height: 150px;
- border-radius: 180px;
- flex-shrink : 0;
- margin-top: 70px;
- margin-right: 20px;
-}
-
-.classlist-list .describe {
- flex-grow: 1;
-}
-
-.describe {
- border-radius: 7px;
- border: 0.7px solid #D9D9D9;
- margin-top: 60px;
- height: 187px;
- display: flex;
- flex-direction: column;
-}
-
-.describe .row {
- display: flex;
- /* justify-content: flex-start; */
- align-items: center;
- flex-grow: 1;
- border-bottom: 1px solid #e0e0e0;
- padding: 5px 0;
-}
-
-.describe .row:last-child {
- border-bottom: none;
-}
-
-.describe .row .col1 {
- flex: 0 0 30%;
- text-align: center;
- border-right: 1px solid #e0e0e0;
- /* padding-right: 10px; */
-}
-
-.describe .row .col2 {
- /* text-align: left; */
- display: flex;
- justify-content: space-between;
- align-items: center;
- flex: 1;
- padding-left: 27px;
-}
-
-.button {
- flex: 0 0 auto;
- font-size: 13px;
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 5px 16px;
- border-radius: 50px;
- border: 0.7px solid #CBCBCB;
- background: #FFF;
- /* margin: 0 auto; */
- margin-right: 8px;
- margin-left: auto;
- cursor: pointer;
- color: #333;
- transition: background-color 0.3s, color 0.3s;
-}
-
-.button.orange {
- border-radius: 50px;
- border: 0.7px solid #FF7A42;
- background: #FFF4F0;
- color: #FF7A42;
-}
\ No newline at end of file
diff --git a/frontend/src/style/lesson/lessonDetailCss.css b/frontend/src/style/lesson/lessonDetailCss.css
index d02fd38c..fb52f251 100644
--- a/frontend/src/style/lesson/lessonDetailCss.css
+++ b/frontend/src/style/lesson/lessonDetailCss.css
@@ -23,18 +23,17 @@
.detailCategory{
display: inline-block;
width: auto;
- padding: 5px 11px;
justify-content: center;
align-items: center;
text-align: center;
- border-radius: 50px;
- border: 1px solid #CBCBCB;
- background: #FFF;
+
+ margin-right: 10px;
+ padding: 6px 12px;
+ border-style: none;
+ border-radius: 5px;
+ background: #F4F4F4;
color: #656363;
- text-align: center;
font-size: 12px;
- font-style: normal;
- margin-right: 10px;
}
.detailLessonTitle{
diff --git a/frontend/src/style/lesson/lessonListFilterCss.css b/frontend/src/style/lesson/lessonListFilterCss.css
index f9c88e48..97a9e534 100644
--- a/frontend/src/style/lesson/lessonListFilterCss.css
+++ b/frontend/src/style/lesson/lessonListFilterCss.css
@@ -1,27 +1,37 @@
-.sortSelect {
+.lessonSortSelect {
width: 150px;
height: 40px;
flex-shrink: 0;
border-radius: 4px;
border: 0.7px solid #D9D9D9;
- background: #FFF;
+ background: #FFFFFF00;
padding-left: 20px;
font-size: 0.9rem;
color: #4b4b4b;
+ appearance: none;
+ -webkit-appearance: none;
+ -moz-appearance: none;
+ z-index: 1;
+}
+
+.sort-icon {
+ position: absolute;
+ left : 7.7rem;
+ color: #4b4b4b;
}
-.sortSelectContainer {
+.lessonSortSelectContainer {
display: flex;
align-items: center;
}
-.deadlineContainer {
+.lessonDeadlineContainer {
display: flex;
align-items: center;
margin-top: 1rem;
}
-.deadlineCheckbox {
+.lessonDeadlineCheckbox {
appearance: none;
width: 14px;
height: 14px;
@@ -32,7 +42,7 @@
position: relative;
vertical-align: middle;
}
-.deadlineCheckbox:checked::before {
+.lessonDeadlineCheckbox:checked::before {
content: '\2713';
margin: -1px;
width: 14px;
@@ -46,7 +56,7 @@
justify-content: center;
}
-.deadlineLabel {
+.lessonDeadlineLabel {
font-size: 0.9rem;
color: #4b4b4b;
cursor: pointer;
diff --git a/frontend/src/style/lesson/searchBarCss.css b/frontend/src/style/lesson/searchBarCss.css
index f88c9c25..435e739b 100644
--- a/frontend/src/style/lesson/searchBarCss.css
+++ b/frontend/src/style/lesson/searchBarCss.css
@@ -7,23 +7,42 @@
}
.categorySelect{
- height: 56px;
- border: 0.7px solid #FF7A42;
- border-right: none;
- padding: 1rem 1rem 1rem 3.5rem;
- border-radius: 50px 0px 0px 50px;
- box-shadow: 0px 8px 24px 0px #FFF7F5;
- color: #FF7A42;
- font-size: 1rem;
- /* appearance: none;
+ border: 0.7px solid #FF7A42;
+ padding: 1rem 1rem 1rem 3.5rem;
+ border-radius: 50px 0px 0px 50px;
+ color: #FF7A42;
+ font-size: 1rem;
+ appearance: none;
-webkit-appearance: none;
- -moz-appearance: none; */
+ -moz-appearance: none;
+ width: 100%;
+ height: 100%;
}
.categorySelect:focus {
outline: none; /* 선택됐을 때의 기본 외곽선 제거 */
border-color: #FF7A42; /* 선택됐을 때의 border 색상 설정 */
}
+.category-select-wrap {
+ display: inline-block; /* 높이를 따르는 인라인 블록 요소로 설정 */
+ position: relative; /* 내부 요소를 포함하는 컨테이너로 설정 */
+ height: 56px;
+ width: 195.5px;
+ border-right: none;
+ border-radius: 50px 0px 0px 50px;
+ box-shadow: 0px 8px 24px 0px #FFF7F5;
+}
+
+.select-icon {
+ position: absolute;
+ top: 50%;
+ right: 0.2rem;
+ transform: translateY(-50%);
+ width: 20px;
+ height: 20px;
+ color : #FF7A42;
+}
+
.inputContainer{
box-sizing: border-box;
height: 56px;
diff --git a/frontend/src/style/lesson/totalLessonsCss.css b/frontend/src/style/lesson/totalLessonsCss.css
index ef62a291..550757c8 100644
--- a/frontend/src/style/lesson/totalLessonsCss.css
+++ b/frontend/src/style/lesson/totalLessonsCss.css
@@ -25,4 +25,10 @@
.mainContent {
flex: 1;
-}
\ No newline at end of file
+}
+
+.lessonSidebar {
+ position: fixed;
+ margin-top: 140px;
+ margin-left: 1000px;
+}
\ No newline at end of file
diff --git a/frontend/src/style/mypage/account.css b/frontend/src/style/mypage/account.css
index dc09ce28..18f80b33 100644
--- a/frontend/src/style/mypage/account.css
+++ b/frontend/src/style/mypage/account.css
@@ -1,3 +1,7 @@
+.account-container {
+ padding : 0rem 15rem;
+}
+
.account input {
border-radius: 7px;
border: 0.7px solid #D9D9D9;
diff --git a/frontend/src/style/mypage/classList.css b/frontend/src/style/mypage/classList.css
index e69de29b..d1ea11b8 100644
--- a/frontend/src/style/mypage/classList.css
+++ b/frontend/src/style/mypage/classList.css
@@ -0,0 +1,84 @@
+.container .classlist {
+ display: grid;
+ gap: 30px;
+ justify-items: center;
+ align-items: center;
+ padding-top: 0;
+ margin-top: 0;
+}
+
+.lesson-section {
+ display: grid;
+ grid-template-columns: repeat(3, 1fr);
+ gap: 30px;
+ min-width: 750px;
+ margin-left: auto;
+ margin-right: auto;
+}
+
+.classlist-item-container {
+ width: 100%;
+ box-sizing: border-box;
+ padding: 20px;
+}
+
+.thumbnail {
+ margin: 0 auto;
+ width: 100%;
+ height: 147px;
+ border-radius: 5px;
+}
+
+.cl-title {
+ text-align: start;
+ font-weight: 500;
+ color: #414141;
+}
+
+.flex-container {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+.cl-category {
+ display: inline-block;
+ margin-right: 10px;
+ padding: 6px 12px;
+ border-style: none;
+ border-radius: 5px;
+ background: #F4F4F4;
+ color: #656363;
+}
+
+.cl-cookyerdate {
+ margin-bottom: 20px;
+ color: #666666;
+ font-size: 0.9rem;
+}
+
+.button {
+ flex: 0 0 auto;
+ font-size: 13px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ padding: 5px 16px;
+ border-radius: 50px;
+ border: 0.7px solid #CBCBCB;
+ background: #FFF;
+ /* margin: 0 auto; */
+ margin-right: 8px;
+ margin-left: auto;
+ margin-left: auto;
+ cursor: pointer;
+ color: #333;
+ transition: background-color 0.3s, color 0.3s;
+}
+
+.button.orange {
+ border-radius: 50px;
+ border: 0.7px solid #FF7A42;
+ background: #FFF4F0;
+ color: #FF7A42;
+}
diff --git a/frontend/src/style/navbar.css b/frontend/src/style/navbar.css
index d5378b1a..1a907374 100644
--- a/frontend/src/style/navbar.css
+++ b/frontend/src/style/navbar.css
@@ -1,3 +1,10 @@
+.nav-wrap {
+ position: fixed;
+ z-index: 1001;
+ right: 0%;
+ left: 0%;
+}
+
.navbar {
background-color: #ffffff;
padding: 0.9rem 15rem;
@@ -9,10 +16,13 @@
}
.navbar-main {
- background-color: #ffffff00;
border-bottom: #ffffff00 solid 0.7px;
}
+.navbar-main.scroll {
+ border-bottom: #d9d9d9 solid 0.7px;
+}
+
.logo {
/* width: 10rem; */
height: 1.2rem;
diff --git a/frontend/src/style/video/common.css b/frontend/src/style/video/common.css
index f0e93dad..b7e0a20d 100644
--- a/frontend/src/style/video/common.css
+++ b/frontend/src/style/video/common.css
@@ -13,14 +13,16 @@ video {
}
/* 비디오 닉네임 */
-.stream-component div {
+.video-common-nickname {
position: absolute;
top: 10px;
left: 15px;
- /* font-size: 1em; */
- /* font-weight: bold; */
- /* bottom: 30px;
- left: 30px; */
+}
+
+.video-common-nickname p {
+ /* position: absolute;
+ top: 10px;
+ left: 15px; */
}
.video-page, .video-background {
diff --git a/frontend/src/style/video/cookieeScreen.css b/frontend/src/style/video/cookieeScreen.css
index ed3882c6..2e9f44a8 100644
--- a/frontend/src/style/video/cookieeScreen.css
+++ b/frontend/src/style/video/cookieeScreen.css
@@ -165,6 +165,15 @@
animation: widgetFadeInAnimation 0.5s ease forwards;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ grid-template-rows: 1fr 1fr 1fr;
+}
+
+.other-cookiee {
+ position: relative;
+ width: 126px;
+ height: 82px;
}
.cookiee-nocookiees p {
diff --git a/frontend/src/style/video/videoModals.css b/frontend/src/style/video/videoModals.css
index 180e5248..42011d3b 100644
--- a/frontend/src/style/video/videoModals.css
+++ b/frontend/src/style/video/videoModals.css
@@ -97,6 +97,7 @@
color: white;
border-radius: 5px;
border: none;
+ cursor: pointer;
}