123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352 |
- .wrapper {
- display: flex;
- padding: 0;
- margin: 0;
- width: 100%;
- overflow: hidden;
- }
- .sidebar {
- width: 400px;
- background: #f9fafc;
- min-height: 100vh;
- overflow: auto;
- transition: all ease-in-out 0.3s;
- }
- .sidebar.hide {
- position: relative;
- width: 0;
- transition: all ease-in-out 0.3s;
- z-index: -1001;
- }
- #search-box {
- width: 250px;
- height: 35px;
- padding-left: 15px;
- margin-top: 30px;
- border-radius: 5px;
- background-color: #e5e9f2;
- transition: all 0.3s ease-out;
- border: 1px solid #c0ccda;
- }
- #search-box:focus {
- border: 1pt solid #248aaa;
- outline: none;
- }
- .sidebar-tree {
- margin-left: 2rem;
- margin-top: 2.5rem;
- position: fixed;
- }
- .tree,
- .tree ul {
- margin: 0;
- margin-top: 10px;
- padding: 0;
- list-style: none;
- }
- .tree ul {
- margin-left: 1em;
- position: relative;
- }
- .tree ul ul {
- margin-left: 0.5em;
- }
- .tree ul:before {
- content: "";
- display: block;
- width: 0;
- position: absolute;
- top: -17px;
- left: -3px;
- bottom: 16px;
- border-left: 1px solid;
- }
- .tree li {
- margin: 0;
- padding: 0 1em;
- line-height: 2em;
- color: #3c4858;
- font-weight: 700;
- position: relative;
- }
- .tree ul li:before {
- content: "";
- display: block;
- width: 16px;
- height: 0;
- border-top: 1px solid;
- margin-top: -1px;
- position: absolute;
- top: 18px;
- left: -3px;
- }
- .tree ul li:last-child:before {
- background: #f9fafc;
- height: auto;
- top: 1em;
- bottom: 0;
- }
- .tree li a {
- text-decoration: none;
- color: #131313;
- transition: all 0.3s ease-out;
- }
- .tree li a:hover {
- margin-left: 3px;
- color: #2098d1;
- transition: all 0.3s ease-out;
- }
- .tree i {
- color: #3c4858;
- font-size: 12px;
- margin-right: 5px;
- }
- .tree .shift-right {
- margin-left: 5px;
- }
- .tree ul {
- display: none;
- }
- .tree .expand,
- .tree .expand > ul {
- display: block;
- }
- a.focused {
- color: #2098d1 !important;
- }
- .content {
- width: 100%;
- background: #e5e9f2;
- padding: 0;
- position: relative;
- }
- .content-cards {
- padding-top: 30px;
- width: 100%;
- padding-left: 28px;
- padding-bottom: 20px;
- }
- .post-cards {
- margin: 32px;
- }
- .post-cards .filtr-item {
- width: 23rem !important;
- }
- .post-cards .card {
- margin: 5px;
- position: relative;
- }
- .post-cards .card .card-footer span {
- font-size: 10pt;
- color: #6c757d !important;
- padding-top: 5px;
- }
- .post-cards .card .card-footer {
- background: #fff;
- }
- .post-summery {
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- max-height: 144px;
- /* fallback */
- -webkit-line-clamp: 5;
- /* number of lines to show */
- -webkit-box-orient: vertical;
- }
- .navbar-toggler {
- display: none;
- }
- /*-------------- Media Queries ---------- */
- @media (max-width: 1200px) {
- .sidebar-tree {
- margin-left: 1rem;
- }
- .content-cards {
- padding-left: 0px;
- }
- .post-cards {
- margin-left: 15px;
- }
- .post-cards .filtr-item {
- width: 22rem !important;
- padding: 3px;
- }
- }
- @media only screen and (max-width: 768px) {
- .content {
- width: 100vw;
- padding-left: 15px;
- }
- .content.overley {
- width: 60vw;
- padding-left: 3px;
- /* margin-left: -50vw; */
- }
- .navbar-toggler {
- display: block;
- }
- .sidebar {
- width: 0;
- }
- .sidebar nav {
- display: none;
- transition: all ease-in-out 0.3s;
- }
- .sidebar.hide {
- position: relative;
- z-index: 1001;
- width: 40vw;
- }
- .sidebar-tree {
- margin-left: 1.5rem;
- }
- .content-cards {
- padding-top: 20px;
- width: 100%;
- padding-left: 0px;
- }
- .post-cards {
- margin: 0;
- margin-top: 32px;
- }
- .post-cards .filtr-item {
- margin: 10px;
- width: 47vw !important;
- }
- .post-cards .card {
- max-width: 47vw !important;
- }
- .content.overley .post-cards .filtr-item {
- margin: 10px;
- width: 55vw !important;
- }
- .content.overley .post-cards .card {
- max-width: 55vw !important;
- }
- }
- @media only screen and (max-width: 576px) {
- .wrapper {
- display: block;
- }
- #search-box {
- width: 85vw;
- height: 35px;
- padding-left: 5px;
- margin-top: 30px;
- }
- .content {
- width: 100vw;
- left: 0;
- display: block;
- padding-left: 2vw;
- }
- .content.overley {
- width: 100vw;
- left: 0;
- padding-left: 2vw;
- }
- .sidebar {
- position: relative;
- max-height: 0;
- width: 100vw;
- min-height: 0;
- overflow: hidden;
- transition: all ease-in-out 0.5s;
- }
- .sidebar-tree {
- position: relative;
- }
- .sidebar.hide {
- position: relative;
- z-index: 1001;
- width: 100vw;
- max-height: 100vh;
- overflow: hidden;
- transition: all ease-in-out 0.5s;
- }
- .content-cards {
- padding-top: 20px;
- padding-left: 0px;
- transition: all ease-in-out 0.5s;
- }
- .content.overley .content-cards {
- padding-top: 0px;
- padding-left: 0px;
- transition: all ease-in-out 0.5s;
- }
- .post-cards {
- margin: 0;
- margin-top: 32px;
- transition: all ease-in-out 0.5s;
- }
- .content.overley .post-cards {
- margin: 0;
- transition: all ease-in-out 0.5s;
- }
- .post-cards .filtr-item {
- margin: 10px;
- width: 90vw !important;
- }
- .post-cards .card {
- max-width: 90vw !important;
- }
- .content.overley .post-cards .filtr-item {
- margin: 10px;
- width: 90vw !important;
- }
- .content.overley .post-cards .card {
- max-width: 90vw !important;
- }
- }
|