123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304 |
- @font-face {
- font-family: "Play";
- src: url("/fonts/Play/Play-Regular.ttf") format("truetype");
- font-weight: 400;
- }
- @font-face {
- font-family: "Play";
- src: url("/fonts/Play/Play-Bold.ttf") format("truetype");
- font-weight: 700;
- }
- body {
- margin: 0;
- padding: 0;
- background-color: #443f3b;
- font-family: 'Play', monospace, sans-serif;
- font-weight: 400;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- .left {
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .left > .left-header {
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .left > .left-header > .search-module {
- width: 100%;
- }
- .sources-updating {
- display: flex;
- flex-direction: column;
- height: 100%;
- justify-content: center;
- align-items: center;
- }
- .sources-updating > .message-container {
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 400px;
- border: 2px dashed #d1d1d1;
- padding: 10px;
- }
- .main-title {
- display: flex;
- align-items: center;
- justify-content: space-around;
- color: #f36;
- font-size: 40px;
- user-select: none;
- cursor: pointer;
- width: 340px;
- }
- .sources-updating > .message-container > .message {
- font-size: 24px;
- }
- .main-title > .logo {
- background: url(/favicon.png);
- background-size: cover;
- width: 50px;
- height: 50px;
- }
- .sources-updating .main-title > .logo {
- background: url(/img/loading_pink.svg);
- }
- /* >>> 404 page */
- body.page-not-found {
- display: flex;
- justify-content: center;
- }
- body.page-not-found > .message-container {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- body.page-not-found > .message-container > .page-not-found-text {
- font-size: 30px;
- text-align: center;
- margin-top: 30px;
- }
- body.page-not-found > .message-container > .page-not-found-image {
- margin-top: 20px;
- background: url(/img/404.svg);
- background-size: cover;
- width: 256px;
- height: 256px;
- }
- /* <<< 404 page */
- .main {
- display: flex;
- flex-direction: row;
- height: 100%;
- color: #d1d1d1;
- }
- .right {
- width: 100%;
- min-width: 800px;
- height: 100vh;
- min-height: 1000px;
- }
- .left {
- min-width: 350px;
- width: 20%;
- }
- .left > .left-header > .left-header-toolbar {
- display: flex;
- align-items: center;
- padding-bottom: 10px;
- width: 100%;
- justify-content: center;
- }
- .left > .left-header > .left-header-toolbar > .class-list-mode-text {
- margin-right: 15px;
- }
- .left > .left-header > .left-header-toolbar > .button {
- width: 24px;
- height: 24px;
- border: 1px solid #d1d1d1;
- border-radius: 5px;
- background-size: 18px;
- background-repeat: no-repeat;
- background-position: center;
- cursor: pointer;
- }
- .left > .left-header > .left-header-toolbar > .button:hover,
- .left > .left-header > .left-header-toolbar > .button.selected {
- background-color: #ffffff40;
- }
- .left > .left-header > .left-header-toolbar > .class-list-mode-button.structurized {
- background-image: url(/img/file-structure.svg);
- margin-right: 5px;
- }
- .left > .left-header > .left-header-toolbar > .class-list-mode-button.unstructurized {
- background-image: url(/img/fa-bars.svg);
- }
- .left > .left-header > .left-header-toolbar > .faq-button {
- background-image: url(/img/faq.svg);
- margin-left: 10px;
- }
- .left > .left-header > .left-header-toolbar > .refresh-button {
- background-image: url(/img/refresh.svg);
- margin-left: 10px;
- }
- .left > .left-header > .left-header-toolbar > .statistics-button {
- background-image: url(/img/statistics.svg);
- margin-left: 5px;
- }
- .left > .left-header > .left-header-toolbar > .auth-button {
- width: 24px;
- height: 24px;
- background-size: cover;
- margin-right: 20px;
- cursor: pointer;
- border: 0;
- }
- .left > .left-header > .left-header-toolbar > .auth-button:hover {
- background-color: transparent;
- }
- .left > .left-header > .left-header-toolbar > .auth-button.login-button {
- background-image: url(/img/user.svg);
- }
- .left > .left-header > .left-header-toolbar > .auth-button.logout-button {
- background-image: url(/img/logout.svg);
- }
- /* Class/Dir items >>> */
- .dir-item {
- min-width: 100%;
- }
- .class-item, .dir-item>.dir-name {
- align-items: center;
- cursor: pointer;
- padding: 3px 0;
- min-width: 100%;
- white-space: nowrap;
- }
- .class-item.selected,
- .class-item:hover,
- .dir-item>.dir-name:hover,
- .dir-item.selected>.dir-name {
- background-color: rgba(0, 0, 0, 0.2);
- }
- .class-item > .class-icon {
- background: url(/img/jsfile.svg);
- width: 16px;
- height: 16px;
- background-size: cover;
- margin-right: 5px;
- display: inline-block;
- }
- .class-item > .class-name {
- display: inline-block;
- }
- .dir-item > .dir-name > .dir-collapsed-icon {
- background: url(/img/chevron.svg);
- transform: rotate(90deg);
- width: 16px;
- height: 16px;
- background-size: cover;
- margin-right: 5px;
- display: inline-block;
- transition: transform 0.2s ease-in-out;
- }
- .dir-item.collapsed > .dir-name > .dir-collapsed-icon {
- transform: rotate(0deg);
- }
- .dir-item > .dir-name > .dir-icon {
- background: url(/img/folder.svg);
- width: 16px;
- height: 16px;
- background-size: cover;
- margin-right: 5px;
- display: inline-block;
- }
- .dir-item > .dir-content {
- padding-left: 8px;
- overflow: hidden;
- border-left: 1px solid #d1d1d1;
- margin-left: 8px;
- }
- .dir-item.collapsed > .dir-content {
- height: 0 !important;
- display: none;
- }
- a, a:visited {
- color: #d1d1d1;
- }
- /* <<< Class/Dir items */
- .hidden {
- display: none !important;
- visibility: hidden !important;
- opacity: 0 !important;
- }
- ::-webkit-scrollbar {
- width: 8px;
- height: 8px;
- }
- ::-webkit-scrollbar-track {
- background: #00000015;
- }
- ::-webkit-scrollbar-thumb {
- background: #888;
- border-radius: 5px;
- }
- ::-webkit-scrollbar-thumb:hover {
- background: #555;
- }
- ::-webkit-scrollbar-corner {
- background: #00000015;
- }
|