|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271 |
- .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;
- }
- }
- }
- }
|