|
- .search-input {
- display: flex;
- width: 35%;
- height: 30px;
- border-radius: 20px;
- background-color: white;
- color: var(--brand-blue);
- align-items: center;
- justify-content: space-between;
- overflow: hidden;
-
- @media screen and (max-width: 1023px) {
- width: 100%;
- }
-
- input {
- border: 0;
- font-size: 12px;
- padding-left: 10px;
- font-weight: 500;
- color: var(--dark-grey);
- flex-grow: 1;
- letter-spacing: 1px;
- height: 100%;
-
- &::placeholder {
- color: var(--grey);
- }
- }
-
- button {
- border-radius: 50%;
- width: 30px;
- height: 30px;
- color: var(--brand-blue);
- font-size: 20px;
- border: 1px solid var(--brand-blue);
- background-color: white;
- transition: background-color 0.3s, color 0.3s;
-
- &:hover {
- background-color: var(--brand-blue);
- color: white;
- }
- }
- }
-
- .back-button {
- display: none;
-
- @media screen and (max-width: 1023px) {
- display: block;
- background-color: var(--brand-blue);
- width: 100px;
- padding: 0;
- }
- }
-
- .container {
- display: flex;
- width: 95%;
- margin: 30px auto;
- letter-spacing: 1px;
-
- @media screen and (max-width: 1023px) {
- width: 90%;
- }
- }
-
- .topic-list {
- width: 25%;
- height: calc(100vh - 200px);
- overflow: auto;
- margin: 0 auto;
- list-style: none;
-
- &.active {
- @media screen and (max-width: 1023px) {
- display: block;
- }
- }
-
- @media screen and (max-width: 1023px) {
- height: 100%;
- width: 100%;
- display: none;
- }
-
- &:hover {
- &::-webkit-scrollbar {
- display: block;
-
- @media screen and (max-width: 1023px) {
- display: none;
- }
- }
- }
-
- &::-webkit-scrollbar {
- width: 8px;
- display: none;
- }
-
- /* Track */
- &::-webkit-scrollbar-track {
- background-color: white;
- }
- /* Handle */
- &::-webkit-scrollbar-thumb {
- background-color: rgba(black, 0.2);
- }
- /* Handle on hover */
- &::-webkit-scrollbar-thumb:hover {
- background-color: rgba(black, 0.5);
- }
-
- li {
- background-color: white;
- margin-bottom: 15px;
- border-radius: 10px;
- padding: 15px;
- cursor: pointer;
-
- &.active {
- background-color: var(--brand-blue);
- box-shadow: 0px 0px 5px #cecece;
-
- header, p {
- color: white;
- }
- }
-
- header {
- margin-bottom: 5px;
- font-size: 14px;
- color: var(--dark-grey);
- font-weight: 500;
- }
-
- p {
- font-size: 12px;
- color: var(--grey);
- line-height: 1.5;
- }
- }
- }
-
- .topic-detail {
- width: 70%;
- margin: 0 auto;
- list-style: none;
- background-color: white;
- border-radius: 10px;
- height: calc(100vh - 200px);
- overflow: auto;
- padding: 20px 25px;
-
- @media screen and (max-width: 1023px) {
- width: 100%;
- display: none;
- }
-
- &.active {
- @media screen and (max-width: 1023px) {
- display: block;
- height: auto;
- }
- }
-
- &:hover {
- &::-webkit-scrollbar {
- display: block;
-
- @media screen and (max-width: 1023px) {
- display: none;
- }
- }
- }
-
- &::-webkit-scrollbar {
- width: 8px;
- display: none;
- }
-
- /* Track */
- &::-webkit-scrollbar-track {
- background-color: white;
- }
- /* Handle */
- &::-webkit-scrollbar-thumb {
- background-color: rgba(black, 0.2);
- }
- /* Handle on hover */
- &::-webkit-scrollbar-thumb:hover {
- background-color: rgba(black, 0.5);
- }
-
- .heading {
- margin-bottom: 20px;
- header {
- font-size: 20px;
- color: var(--dark-grey);
- font-weight: 500;
- margin-bottom: 5px;
-
- @media screen and (max-width: 1023px) {
- font-size: 16px;
- }
- }
-
- p {
- font-size: 12px;
- color: var(--grey);
- line-height: 1.5;
-
- @media screen and (max-width: 1023px) {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- }
- }
-
- li {
- header {
- display: flex;
- width: 100%;
- align-items: center;
- justify-content: space-between;
- font-size: 15px;
- font-weight: 500;
- color: var(--dark-grey);
- border-bottom: 1px solid #efefef;
- padding: 10px 0;
-
- @media screen and (max-width: 1023px) {
- border-bottom: 0;
- border-top: 1px solid #efefef;
- font-size: 12px;
- }
-
- button {
- background-color: transparent;
- border: 0px;
- color: var(--brand-blue);
- margin-left: 10px;
-
- &.active {
- color: var(--grey);
- }
-
- i {
- font-size: 25px;
- }
- }
- }
-
- p {
- color: var(--grey);
- font-size: 13px;
- line-height: 1.5;
- margin-top: 15px;
- padding-bottom: 10px;
-
- @media screen and (max-width: 1023px) {
- margin-top: 0px;
- font-size: 12px;
- }
- }
- }
- }
|