diff --git a/README.md b/README.md index 3ec9515..82a6a69 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Just a repo where i'll keep updated CSS to return the green UI colors to the current iteration of CVR's UI ## usage -replace ui.css you download from [here](https://gitea.malthbern.com/Malthbern/CVR_Return-green-UI/raw/branch/main/ui.css) +replace ui.css you download from [here](https://gitea.malthbern.com/Malthbern/CVR_Return-green-UI/raw/branch/nerdbranch-dev/ui.css) in < Steam Root >/common/ChilloutVR/ChilloutVR_Data/StreamingAssets/Cohtml/UIResources/CVRTest/ diff --git a/ui.css b/ui.css index c98f694..312a2f7 100755 --- a/ui.css +++ b/ui.css @@ -8,6 +8,12 @@ 14,814% */ +:root { + --menu-opacity: 0.9; + /* Malth is a nerd btw */ + --menu-bg-colour: 55, 48, 33; +} + html { font-size: 2em; } @@ -21,13 +27,21 @@ body { /*font-family: 'Droid Sans';*/ font-size: 32px; - color: #FFF; + color: #ffffff; + + text-shadow: 2px 2px 8px #000; + + font-family: "Noto Sans", "Noto Sans Symbols", "Noto Sans JP", "Noto Sans TC", "Noto Sans KR", "Noto Sans Arabic", "Noto Sans SC", sans-serif; } h1 { font-weight: normal; } +.input { + font-family: "Noto Sans", "Noto Sans Symbols", "Noto Sans JP", "Noto Sans TC", "Noto Sans KR", "Noto Sans Arabic", "Noto Sans SC", sans-serif; +} + .settings-subcategory { display: flex; flex-direction: column; @@ -67,6 +81,7 @@ h1 { margin-top: 0.1em; color: #AAA; padding-top: 10px; + text-align: center; } .color-primary { @@ -80,18 +95,23 @@ h1 { /* Note: We are defining :hover and .active separately because :active:not(.active) isn't working, and to avoid using !important */ .button:hover { - background-color: rgb(27, 80, 55); + background-color: #373021; } .button:active { - background-color: rgb(45, 128, 89); + background-color: #2d8059; } .button.active { - background-color: rgb(27, 80, 55); + background-color: #1b5037; +} + +.button.noaction { + pointer-events: none; } .button:disabled, .button.disabled { - background: #3c3c3c; + filter: brightness(50%) grayscale(1); + pointer-events: none; } .button.color-primary:hover { @@ -99,7 +119,7 @@ h1 { } .button.color-primary.disabled:hover { - background: #3c3c3c; + background: #373021; } .button.color-primary:active { @@ -124,6 +144,12 @@ h1 { left: 0; } +.root-container { + position: absolute; + width: 100%; + height: 80%; +} + .content { position: absolute; width: 100%; @@ -134,15 +160,50 @@ h1 { overflow: hidden; box-sizing: border-box; - border: 3px solid #17452f; - - background-color: #373021; + background-color: rgba(var(--menu-bg-colour), var(--menu-opacity)); display: flex; left: -100%; transition: left 0.2s linear; + z-index: 200; } + +.root-content { + height: 100%; +} + +.home-container { + background-color: rgba(0,0,0,0); +} + +.flex-container { + display: flex; + flex-direction: column; +} + +.home-right { + width: 22%; + align-self: center; + position: relative; +} +.home-left { + width: 22%; + align-self: center; + position: relative; +} +.home-center { + width: auto; + display: flex; + flex-direction: column; + align-self: center; + position: relative; +} + +.home-background { + background-color: rgba(var(--menu-bg-colour), var(--menu-opacity)); +} + .content.in { left: 0%; transition: left 0.2s linear; @@ -156,9 +217,25 @@ h1 { visibility: hidden; } +.contentNoBG.in { + left: 0%; + transition: left 0.2s linear; +} +.contentNoBG.out { + left: 100%; + transition: left 0.2s linear; +} + +.contentNoBG.hidden { + visibility: hidden; +} + .list-filter { width: 25%; - padding: 1%; + padding: 0.5em; + display: flex; + justify-content: flex-start; + flex-direction: column; } .list-filter .option-caption { @@ -167,29 +244,60 @@ h1 { margin-bottom: 10px; } -.list-filter .content-btn { - left: 5%; -} - .list-filter h1 { text-align: center; - color: #FFF; + color: #ffffff; margin-top: 0; + margin-bottom: 0.5em; } .list-content { width: 75%; border-left: 3px solid #59885d; - padding: 1%; + padding: 0.5em; overflow: scroll; position: relative; } +.root-content .invite-banner{ + position: absolute; + width: 75%; + height: 10%; + top: 0; + right: 0; + z-index: 10; + background-color: rgba(255, 69, 0, 0.5); +} + +.invite-banner.hidden { + display: none !important; +} + +.invite-banner span { + display: block; + height: auto; + font-size: 1.5em; +} + +.invite-banner .content-btn { + position: relative; + width: 20%; + font-size: 1.2em; +} + +.invite-banner.flex-row-container { + display: flex; + flex-direction: row; + justify-content: space-around; + align-items: center; +} + .content-row { display: flex; + width: 100%; } .content-cell { @@ -214,14 +322,13 @@ h1 { } .list-filter .scroll-content { - position: absolute; width: 100%; - left: 5%; - top: 6.5em; - bottom: 6em; + flex: 100; } -#props .list-filter .scroll-content { - bottom: 10.5em; + +.list-filter .content-btn { + position: relative; + margin-top: 0.5em; } .filter-option { @@ -251,7 +358,6 @@ h1 { width: 2em; height: 2em; border-radius: 50%; - border: 1px solid #FFF; margin: 0.5em; z-index: 1; @@ -292,8 +398,8 @@ h1 { .content-name { position: absolute; width: 100%; - height: 1.1em; - bottom: 5.5em; + height: auto; + bottom: 5.4em; text-align: center; @@ -336,7 +442,7 @@ h1 { bottom: 5em; } .content-cell.world .content-name { - bottom: 3.2em; + bottom: 3em; } .content-cell.prop .content-cell-formatter { @@ -344,7 +450,7 @@ h1 { } .content-cell.prop .content-name { - bottom: 8em; + bottom: 7.7em; } .content-cell.prop .content-image { @@ -356,18 +462,177 @@ h1 { text-align: center; width: 100%; margin-top: 0.2em; + margin-bottom: 0.2em; +} + +/* Animated Circles CSS */ + +.hexagons { + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 100%; + z-index: -1; +} + +.hexagons li { + position: absolute; + display: block; + list-style: none; + width: 20px; + height: 20px; + background: rgba(228, 54, 0, 0.7); + animation: animate 25s linear infinite; + bottom: calc(-150px - 40vh); +} + +.hexagons li:nth-child(1) { + left: 25%; + width: 80px; + height: 80px; + animation-delay: 0s; + animation-duration: 20s; + mask-image: url("gfx/HexagonMask.svg"); + mask-size: contain; + mask-position: center; + background: rgba(158, 66, 38, 0.7); +} + +.hexagons li:nth-child(2) { + left: 10%; + width: 20px; + height: 20px; + animation-delay: 0s; + animation-duration: 25s; + mask-image: url("gfx/hexagonMask.svg"); + mask-size: contain; + mask-position: center; + background: rgba(228, 54, 0, 0.7); +} + +.hexagons li:nth-child(3) { + left: 70%; + width: 20px; + height: 20px; + animation-delay: 0s; + animation-duration: 20s; + mask-image: url("gfx/HexagonMask.svg"); + mask-size: contain; + mask-position: center; + background: rgba(158, 66, 38, 0.7); +} + +.hexagons li:nth-child(4) { + left: 40%; + width: 60px; + height: 60px; + animation-delay: 0s; + animation-duration: 15s; + mask-image: url("gfx/HexagonMask.svg"); + mask-size: contain; + mask-position: center; + background: rgba(201, 123, 99, 0.7); +} + +.hexagons li:nth-child(5) { + left: 65%; + width: 20px; + height: 20px; + animation-delay: 0s; + animation-duration: 20s; + mask-image: url("gfx/HexagonMask.svg"); + mask-size: contain; + mask-position: center; + background: rgba(228, 54, 0, 0.7); +} + +.hexagons li:nth-child(6) { + left: 75%; + width: 90px; + height: 90px; + animation-delay: 0s; + animation-duration: 25s; + mask-image: url("gfx/HexagonMask.svg"); + mask-size: contain; + mask-position: center; + background: rgba(201, 123, 99, 0.7); +} + +.hexagons li:nth-child(7) { + left: 35%; + width: 50px; + height: 50px; + animation-delay: 0s; + animation-duration: 30s; + mask-image: url("gfx/HexagonMask.svg"); + mask-size: contain; + mask-position: center; + background: rgba(158, 66, 38, 0.7); +} + +.hexagons li:nth-child(8) { + left: 50%; + width: 25px; + height: 25px; + animation-delay: 0s; + animation-duration: 35s; + mask-image: url("gfx/HexagonMask.svg"); + mask-size: contain; + mask-position: center; + background: rgba(201, 123, 99, 0.7); +} + +.hexagons li:nth-child(9) { + left: 20%; + width: 15px; + height: 15px; + animation-delay: 0s; + animation-duration: 40s; + mask-image: url("gfx/HexagonMask.svg"); + mask-size: contain; + mask-position: center; + background: rgba(158, 66, 38, 0.7); +} + +.hexagons li:nth-child(10) { + left: 85%; + width: 50px; + height: 50px; + animation-delay: 0s; + animation-duration: 45s; + mask-image: url("gfx/HexagonMask.svg"); + mask-size: contain; + mask-position: center; + background: rgba(228, 54, 0, 0.7); +} + +@keyframes animate { + 0% { + transform: translateY(0) rotate(0deg); + opacity: 0; + } + 50% { + transform: translateY(-60vh) rotate(360deg); + opacity: 1; + } + 80% { + opacity: 1; + } + 100% { + transform: translateY(-120vh) rotate(720deg); + opacity: 0; + } +} + +.home-content-root { + display: flex; + flex-direction: row; + justify-content: space-around; } .content-shortcuts { - position: absolute; - top: 10%; - width: 24%; - padding: 1%; - height: 58%; - left: 1%; - border-radius: 0.25em; - border: 3px solid #59885d; } #home .content-shortcuts .action-btn { @@ -382,75 +647,44 @@ h1 { } .content-debug { - position: absolute; - top: 71%; - width: 24%; - padding: 1% 0.5em; - height: 26%; - left: 1%; - border-radius: 0.25em; - border: 3px solid #59885d; -} - -.content-feed { - position: absolute; - top: 10%; - width: 52%; - padding: 1%; - height: 19%; - left: 26%; - - border-radius: 0.25em; - border: 3px solid #59885d; + padding: 0.5em; + margin-bottom: 10px; } .content-avatar-functions { - position: absolute; - top: 31%; - width: 52%; - padding: 1%; - height: 37%; - left: 26%; - border-radius: 0.25em; border: 3px solid #59885d; } .content-panic { - position: absolute; - top: 71%; - width: 52%; - padding: 1%; - height: 26%; - left: 26%; - border-radius: 0.25em; - border: 3px solid #59885d; + margin-bottom: 10px; +} + +.content-feed { + border-radius: 0.25em; + margin-bottom: 10px; + height: 74%; + position: relative; } .content-panic .action-btn { - padding: 0.5em; width: 9.5em; - height: 6em; + height: 6.5em; text-align: center; + display: flex; + flex-direction: column; + justify-content: flex-end; } .content-panic .action-btn img { - width: 3em; - height: 3em; - margin-bottom: 0.5em; + align-self: center; +} +.content-panic .action-btn p { + align-self: center; } - .content-shortcuts-2 { - position: absolute; - top: 10%; - width: 20%; - padding: 1%; - height: 36.5%; - left: 79%; - border-radius: 0.25em; - border: 3px solid #59885d; } #home .content-shortcuts-2 .action-btn { @@ -461,23 +695,49 @@ h1 { text-align: center; } #home .content-shortcuts-2 .action-btn img { - width: 2em; + width: 2em; height: 2em; margin-bottom: 0.5em; } -.content-call { - position: absolute; - top: 49%; - width: 20%; - padding: 1%; - height: 48%; - left: 79%; +.content-profile { + border-radius: 0.25em; + text-align: center; + padding: 0.5em 0 0.5em 0; + margin-bottom: 10px; +} +.content-profile .button-root { + margin-top: 20px; +} + +.content-profile .profile-btn { + padding: 0.5em 0em; + text-align: center; border-radius: 0.25em; border: 3px solid #59885d; - - text-align: center; + display: flex; + min-width: 45%; + justify-content: center; + margin-left: 10px; + margin-right: 10px; + z-index: 1; +} + +.content-profile .profile-btn img { + width: 2em; + height: 2em; + margin-right: 20px; +} + +.content-profile .profile-btn p { + align-self: center; + margin-top: 0; + margin-bottom: 0; +} + +.content-profile p { + margin: 0; } @keyframes calling { @@ -485,33 +745,56 @@ h1 { 100% {box-shadow: 0 0 2em 1em #0AA48E} } -.call-profile { - width: 8em; - height: 8em; - border-radius: 50%; - margin: 2em 0; +.profile-icon { + height: 1em; + width: 1em; + margin-right: 10px; +} + +.profile-pic { + width: 11em; + height: 11em; background: #333333; + aspect-ratio: 1/cos(30deg); + mask-image: url("gfx/HexagonMask.svg"); + mask-size: contain; + mask-position: center; } -.call-profile.calling { - animation: calling 2s infinite alternate; +.profile-pic:hover { + filter: brightness(75%); } -.call-name { +.profile-username { font-size: 1.5em; - margin-bottom: 0.5em; + coh-font-fit-mode: shrink; + padding-left: 10px; + padding-right: 10px; } -.call-duration { - font-size: 1.5em; - margin-bottom: 0.5em; +.profile-rank { + display: flex; + flex-direction: row; } +.profile-title { + display: flex; + flex-direction: row; +} + +.profile-group { + display: flex; + flex-direction: row; +} .content-caption { - width: 100%; + width: 95%; text-align: center; margin-bottom: 0.3em; + border-bottom-color: rgba(89, 136, 93, 1.000000); + border-bottom-width: 2px; + border-bottom-style: solid; + align-self: center; } .btn-row-wrapper { @@ -532,7 +815,6 @@ h1 { height: 4em; border-radius: 0.25em; border: 3px solid #59885d; - padding: 0 0.2em 0 0; } .action-btn img { @@ -540,6 +822,19 @@ h1 { height: 2.6em; } +.action-btn .img-inverted { + filter: invert(1); +} + +.action-btn.sm-exit { + height: auto; + width: auto; + border: 0 none; + position: absolute; + top: 1%; + right: 1%; +} + /*World Detail*/ #world-detail { background-color: #373021; @@ -552,6 +847,18 @@ h1 { margin-right: 4em; } +/* let's customize the dropdown a bit in world instance creation */ +#world-detail .valueList { + max-height: 500px; +} + +#world-detail .listValue { + text-overflow: ellipsis; + height: auto; + white-space: nowrap; + overflow: hidden; +} + .close-btn { position: absolute; top: 1%; @@ -655,10 +962,23 @@ h1 { width: auto; } +.list-filter .scroll-content { + position: relative; + top: 0; + left: 0; + right: 0; + bottom: 0; +} + .row-wrapper { display: flex; } +.row-wrapper { + display: flex; + flex-direction: row; +} + .content-world-actions .world-fileSize { position: absolute; top: 7.4em; @@ -691,6 +1011,8 @@ h1 { .world-image { width: 14em; height: 14em; + align-self: center; + border-radius: 0.25em; } .content-world-actions .action-btn { @@ -860,16 +1182,20 @@ h1 { top: 6%; bottom: 9%; left: -100%; - width: 30%; + width: 50%; height: 81%; + display: flex; + flex-direction: column; + border-radius: 0.25em; border: 3px solid #59885d; padding: 0.5em; } + .world-instancing.in { - left: 35%; + left: 25%; transition: left 0.2s linear; } .world-instancing.out { @@ -880,11 +1206,35 @@ h1 { visibility: hidden; } +.world-instancing .flex-row-container { + display: flex; + flex-direction: row; +} + +.world-instancing .flex-col-container { + display: flex; + flex-direction: column; + width: 50%; + align-items: center; +} + +.world-instancing .flex-col-container.bottom { + align-self: center; + width: 60%; + margin-top: 2em; +} + .world-instancing h2, .world-instancing h3 { margin-top: 0; text-align: center; } +.world-instancing .flex-col-container .content-btn { + position: relative; + margin-bottom: 0.5em; + min-width: 15em; +} + .world-instancing .content-btn { position: relative; margin-bottom: 0.5em; @@ -895,6 +1245,25 @@ h1 { display: flex; margin-bottom: 1em; } +#instance_group { + display: none; + z-index: 10; + border-radius: 0.25em; +} +#instance_group_title { + width: 100%; + display: none; + margin-top: 0.2em; + margin-bottom: 0.5em; + text-align: center; +} +.group #instance_group { + display: block; + margin-bottom: 0; +} +.group #instance_group_title { + display: block; +} .btn-region .region-select { width: 33.333333%; @@ -912,7 +1281,7 @@ h1 { .btn-region .region-select:hover, .btn-rule .rule-select.active, .btn-rule .rule-select:hover { - background-color: rgba(27, 80, 55, 1); + background-color: #1b5037; } .inp-hidden { @@ -933,6 +1302,7 @@ h1 { border: 3px solid #59885d; padding: 0.5em; + z-index: 500; } .favorite-category-selection.in { left: 35%; @@ -944,6 +1314,7 @@ h1 { } .favorite-category-selection.hidden { visibility: hidden; + display: block !important; } .favorite-category-selection .scroll-content { top: 4em; @@ -956,8 +1327,11 @@ h1 { } .favorite-category-selection .close-btn { height: 2.5em; - top: 1em; + bottom: 1em; right: 1em; + top: auto; + position: absolute; + text-align: center; } .favorite-category-selection .apply-btn { height: 2.5em; @@ -974,6 +1348,31 @@ h1 { top: 0.4em; } +.favorite-category-selection h3 { + text-align: center; + margin-bottom: 0.3em; + margin-top: 0.3em; +} + +.favorite-category-selection .big-button { + width: 80%; + height: auto; + font-size: 1.5em; + margin-top: 20px; + text-align: center; + padding: 10px; +} +.favorite-category-selection .big-button:hover { + filter: brightness(0.75); +} +.favorite-category-selection .big-button.danger{ + background-color: #b00000; +} +.favorite-category-selection .big-button.warning{ + background-color: #c4c400; + color: black; +} + /*Instance Detail*/ #instance-detail { background-color: #373021; @@ -986,6 +1385,114 @@ h1 { margin-right: 4em; } +/*Group Detail*/ +#group-detail { + background-color: #373021; +} + +#create-group-modal p { + text-align: center; + align-self: center; +} + +#group-detail .flex-col-container { + display: flex; + flex-direction: column; + align-items: center; +} + +#group-detail .hidden { + display: none; +} + +#group-detail .content-instance-information { + overflow-x: hidden; +} + +.editable { + position: relative; + border-radius: 0.25em; + min-height: 5em; + pointer-events: none; +} + +.editable-enable { + background-color: rbga(var(--menu-bg-colour), var(--menu-opacity)); + pointer-events: auto; +} + +.edit-icon { + position: absolute; + height: 3em; + width: 3em; + right: 0; + background-image: url("gfx/Group/icons8-edit.svg"); + /*filter: drop-shadow(0 0 1rem #1b5037); apparently drop shadow on these causes them to flicker, why? idk. Blame cohtml I guesss..... */ + display: none; + z-index: 100; +} + +.editable-enable:hover { + filter: brightness(0.75); + backdrop-filter: brightness(0.75); +} + +.upload-overlay{ + z-index: 10000; + position: absolute; + background-color: rgba(var(--menu-bg-colour), 0.8); + justify-content: center; + align-items: center; + display: none; + width: 100%; + height: 100%; + bottom: 0; + left: 0; + flex-direction: column; +} + +.upload-overlay p { + font-size: 2.5em; +} + +.upload-overlay .upload-button { + height: 2.5em; + font-size: 2.5em; + width: 8em; + text-align: center; + border: grey solid 2px; + border-radius: 0.25em; + align-self: center; + display: flex; + align-items: center; + justify-content: center; +} + +#group-detail h1 { + text-align: left; + margin-top: 0.3em; + margin-left: 0.5em; + margin-right: 4em; +} + +.group-description { + white-space: pre-wrap; +} + +.pagination-button { + height: 1.5em; + font-size: 1.5em; + width: 6em; + text-align: center; + border: grey solid 2px; + border-radius: 0.25em; + align-self: center; +} + +.pagination-button:hover{ + filter: brightness(80%); +} + .content-instance-owner { position: absolute; top: 10%; @@ -1002,6 +1509,10 @@ h1 { width: 13.5em; height: 13.5em; margin-left: 0.5em; + mask-image: url("gfx/HexagonMask.svg"); + mask-size: contain; + mask-position: center; + align-self: center; } .content-instance-owner h2 { @@ -1009,6 +1520,7 @@ h1 { margin-bottom: 0; text-align: center; margin-top: 0.2em; + coh-font-fit-mode: shrink; } .content-instance-owner h3 { @@ -1021,6 +1533,60 @@ h1 { .content-instance-owner p { margin: 0; margin-top: 0.5em; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + height: auto; + display: block; + width: 100%; +} + +.content-instance-group { + position: absolute; + top: 10%; + width: 20%; + padding: 0.5em; + height: 65%; + left: 1%; + + border-radius: 0.25em; + border: 3px solid #59885d; +} + +.content-instance-group .profile-image { + width: 13.5em; + height: 13.5em; + margin-left: 0.5em; + mask-image: url("gfx/HexagonMask.svg"); + mask-size: contain; + mask-position: center; + align-self: center; +} + +.content-instance-group h2 { + font-weight: normal; + margin-bottom: 0; + text-align: center; + margin-top: 0.2em; + coh-font-fit-mode: shrink; +} + +.content-instance-group h3 { + font-weight: normal; + margin-top: 0; + text-align: center; + margin-bottom: 0.8em; +} + +.content-instance-group p { + margin: 0; + margin-top: 0.5em; +} + +.content-instance-group .world-image { + width: 14.5em; + height: 14.5em; + pointer-events: auto; } .content-instance-world { @@ -1063,6 +1629,15 @@ h1 { width: 8.000000em; } +.content-instance-information .hidden { + display: none; +} + +.content-instance-information p { + margin-bottom: 0; + margin-top: 0; +} + .content-instance-buttons { position: absolute; top: 77%; @@ -1073,7 +1648,7 @@ h1 { border-radius: 0.25em; border: 3px solid #59885d; - + display: flex; } .content-instance-buttons .instance-btn { @@ -1082,6 +1657,51 @@ h1 { text-align: center; } .content-instance-buttons .instance-btn img { + width: 60%; + height: 65%; + margin-top: 3%; + margin-left: 15%; + margin-right: 15%; + margin-bottom: 3%; +} +.content-instance-buttons .instance-btn.disabled { + filter: brightness(50%) grayscale(1); + pointer-events: none; +} +.content-instance-buttons .instance-btn.noaction { + pointer-events: none; +} +.content-instance-buttons .instance-btn + .instance-btn { + border-left: 3px solid #59885d; + border-right: 3px solid #59885d; +} + +.content-group-buttons { + position: absolute; + top: 77%; + width: 67%; + padding: 0; + height: 20.5%; + left: 1%; + + border-radius: 0.25em; + border: 3px solid #59885d; + + display: flex; +} +.content-group-buttons p{ + font-size: 1.5em; + text-align: center; + display: block; + align-self: center; + flex: 100; +} +.content-group-buttons .instance-btn { + width: 14%; + position: relative; + text-align: center; +} +.content-group-buttons .instance-btn img { width: 70%; height: 70%; margin-top: 3%; @@ -1089,11 +1709,20 @@ h1 { margin-right: 15%; margin-bottom: 3%; } -.content-instance-buttons .instance-btn.disabled { - background: rgba(80, 80, 80, 1); +.content-group-buttons .instance-btn.disabled { + filter: brightness(50%) grayscale(1); + pointer-events: none; } -.content-instance-buttons .instance-btn + .instance-btn { +.content-group-buttons .instance-btn.noaction { + pointer-events: none; +} +.content-group-buttons .instance-btn + .instance-btn { border-left: 3px solid #59885d; + border-right: 3px solid #59885d; +} + +.content-group-buttons .hidden { + display: none; } .content-instance-players { @@ -1121,6 +1750,133 @@ h1 { font-size: 1.2em; } +.content-instance-players .content-list-pagination { + display: flex; + justify-content: space-around; + position: relative; + top: 25em; +} + +.content-group-players { + position: absolute; + top: 10%; + width: 30%; + padding: 0.5em; + height: 87.5%; + left: 69%; + + border-radius: 0.25em; + border: 3px solid #59885d; +} +.content-group-players .instancePlayer { + display: flex; +} +.content-group-players .instancePlayer .instancePlayerImage { + width: 4em; + height: 4em; + margin-right: 1em; + margin-bottom: 0.5em; +} +.content-group-players .instancePlayer .instancePlayerName { + flex: 1; + font-size: 1.2em; + overflow: hidden; +} + +.content-group-players .instancePlayer .manageButton { + border-radius: 0.25em; + border: 2px solid #59885d; + align-self: center; + z-index: 5; + pointer-events: all; +} + +.content-group-players .instancePlayer .manageButton img { + height: 100px; + width: 100px; +} + +.content-group-players .instancePlayer .manageButton:hover { + filter: brightness(0.75); +} + +.content-group-players .content-list-pagination { + display: flex; + justify-content: space-around; + position: relative; + top: 25em; +} + +#group-detail .scroll-content { + bottom: 4.5em; + z-index: 300; +} + +#group-detail .instancePlayer { + display: flex; + margin-top: 10px; +} +#group-detail .instancePlayer .instancePlayerImage { + width: 4em; + height: 4em; + margin-right: 1em; + margin-bottom: 0; +} +#group-detail .instancePlayer .player-name-container { + display: flex; + flex-direction: column; + flex: 100; +} + +#group-detail .instancePlayer .instancePlayerName { + flex: 1; + font-size: 1.2em; +} +#group-detail .instancePlayer .instancePlayerRank { + flex: 1; + font-size: 1em; +} + +#group-detail .favorite-category-selection { + z-index: 0; +} + +.content-list-pagination .page-arrow { + background-image: url("gfx/next-page.svg"); + background-size: contain; + height: 4em; + width: 4em; +} + +.content-list-pagination p { + font-size: 1.2em; +} + +.content-list-pagination .previous-page { + +} + +.content-list-pagination .next-page { + +} + +.content-list-pagination .disabled { + pointer-events: none !important; + filter: brightness(50%) grayscale(1) !important; +} + +.content-list-pagination .page-arrow:hover { + filter: brightness(0.8); +} + +.profile-avatar:hover { + filter: brightness(0.8); +} + +.profile-group:hover { + filter: brightness(0.8); +} + /*User Detail*/ #user-detail { background-color: #373021; @@ -1131,6 +1887,23 @@ h1 { margin-left: 0.5em; margin-right: 4em; } +#our-user-detail { + background-color: #373021; +} +#our-user-detail h1 { + text-align: left; + margin-top: 0.3em; + margin-left: 0.5em; + margin-right: 4em; +} + +#our-user-detail .toolbar-btn { + font-size: 1em !important; + border-right-width: 3px; + border-right-color: rgba(89, 136, 93, 1.000000); + border-right-style: solid; +} + .user-sidebar { position: absolute; top: 10%; @@ -1143,31 +1916,59 @@ h1 { border: 3px solid #59885d; } #user-detail .online-state { - position: absolute; - width: 2em; - height: 2em; - border-radius: 50%; - border: 2px solid #FFF; - margin: 1em; - - z-index: 1; - - background: #cc0000; + z-index: 0; + width: 15em; + height: 15em; + mask-image: url("gfx/HexagonMask.svg"); + mask-size: contain; + mask-position: center; + align-self: center; + display: flex; + justify-content: center; + position: relative; } #user-detail .online-state.online { background: #00cc00; } + +#user-detail .online-state.offline { + background: #7c0000; +} + .profile-image { width: 14.5em; height: 14.5em; + mask-image: url("gfx/HexagonMask.svg"); + mask-size: contain; + mask-position: center; + align-self: center; + z-index: 2; + border-radius: 0.25em; } + +.profile-bg { + padding:0.5em; + align-self: center; + z-index: 1; + position: absolute; + filter: brightness(0); +} + .user-sidebar h2, .user-sidebar h3 { font-weight: normal; margin-bottom: 0; text-align: center; margin-top: 0.2em; } + +.user-sidebar h1 { + text-align: center !important; + margin: 0 !important; + coh-font-fit-mode: shrink; + max-height: 85px; +} + .user-sidebar h3 { margin-top: 0; margin-bottom: 0.8em; @@ -1183,6 +1984,12 @@ h1 { .user-sidebar p { margin: 0; margin-top: 0.5em; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + height: auto; + display: block; + width: 100%; } .user-tabview { @@ -1197,7 +2004,7 @@ h1 { } .tab-list { display: flex; - justify-content: space-between; + justify-content: flex-start; position: absolute; z-index: 1; @@ -1262,10 +2069,23 @@ h1 { display: flex; } -.user-toolbar .toolbar-btn { +.group-toolbar .toolbar-btn { width: 11.111111%; } +.group-toolbar { + position: absolute; + top: 82%; + width: 77%; + height: 16%; + left: 22%; + + border-radius: 0.25em; + border: 3px solid #59885d; + + display: flex; +} + .activityDataAvailable, .activityDataUnavailable, .activityDataPrivate, @@ -1327,6 +2147,53 @@ h1 { } } +.note-block { + width: 100%; + height: 100%; + white-space: pre-wrap; + font-size: 1.5em; + overflow-wrap: break-word; +} + +.note-block-label { + margin: 10px; + font-size: 1.5em; + text-decoration: underline; + text-decoration-color: white; +} + +.note-block-scroll { + top: 2.5em; +} + +.note-edit-btn { + position: absolute; + font-size: 2.0em; + text-align: center; + top: 0; + left: 0; + height: 100%; + width: 100%; + border: 0; + opacity: 0; +} + +.note-edit-btn:hover { + animation-duration: 0.3s; + animation-name: noteEditAppear; + animation-fill-mode: forwards; + background-color: rgba(var(--menu-bg-colour), 0.2); +} + +@keyframes noteEditAppear { + 0%{ + opacity: 0; + } + 100%{ + opacity: 1; + } +} + .activityDataLoading img { width: 3em; height: 3em; @@ -1346,30 +2213,30 @@ h1 { padding-top: 0.8em; } -#tab-content-activity .player-instance-world-image { +.tab-content-activity .player-instance-world-image { width: 12em; height: 12em; background: red; margin: 0.5em 0 0 0.5em; } -#tab-content-activity .player-instance-details { +.tab-content-activity .player-instance-details { position: absolute; left: 13em; top: 0.5em; overflow: hidden; width: 22em; } -#tab-content-activity .player-instance-details h2 { +.tab-content-activity .player-instance-details h2 { margin-top: 0; height: 1.2em; text-overflow: ellipsis; overflow: hidden; } -#tab-content-activity .player-instance-details .cell-name { +.tab-content-activity .player-instance-details .cell-name { width: 8em; } -#tab-content-activity .player-instance-rules { +.tab-content-activity .player-instance-rules { position: absolute; left: 0.5em; top: 13em; @@ -1384,7 +2251,7 @@ h1 { padding: 0.5em; } -#tab-content-activity .data-instancedetails { +.tab-content-activity .data-instancedetails { position: relative; width: inherit; height: inherit; @@ -1392,7 +2259,7 @@ h1 { text-align: center; } -#tab-content-activity .player-instance-players { +.tab-content-activity .player-instance-players { position: absolute; left: 36em; top: 0.5em; @@ -1437,12 +2304,12 @@ h1 { border: 3px solid #59885d; background-color: #373021; - + padding: 1em; left: -100%; transition: left 0.2s linear; - + z-index: 100; } @@ -1508,7 +2375,32 @@ h1 { height: 7.5em; display: flex; padding: 0.5em; + position: relative; + width: auto; } + +#exit .flex-container { + flex-direction: row; + justify-content: space-around; + width: 100%; +} + +#exit .flex-container .content-btn { + width: 50%; +} + +#exit .button-container { + height: 100%; + display: flex; + flex-direction: column; + justify-content: space-between; + position: absolute; + padding-top: 7em; + padding-bottom: 2em; + width: 100%; + min-width: 0; +} + #exit .content-btn .exit-icon { height: 6em; width: 6em; @@ -1551,7 +2443,7 @@ h1 { box-sizing: border-box; border: 3px solid #59885d; - background-color: rgba(27, 80, 55, 0.5); + background-color: rgba(var(--menu-bg-colour), var(--menu-opacity)); display: flex; } @@ -1563,12 +2455,12 @@ h1 { text-align: center; font-weight: normal; - color: #FFF; + color: #ffffff; font-size: 1.3em; } .toolbar-btn.deactivated { - background-color: rgba(14, 40, 27, 1); + background-color: rgba(30, 31, 34, 0.4); } .toolbar-btn + .toolbar-btn { @@ -1582,7 +2474,7 @@ h1 { text-align: center; font-weight: bold; - color: #FFF; + color: #ffffff; font-size: 1.3em; border-left: 3px solid #59885d; @@ -1595,6 +2487,11 @@ h1 { margin: 10% 25% 5%; } +.user-toolbar .toolbar-btn { + font-size: 0.9em; + width: 10%; +} + .time-display { margin-top: 0.1em; font-size: 72px; @@ -1604,7 +2501,7 @@ h1 { .message-box { position: absolute; width: 40%; - height: 40%; + min-height: 20em; top: 20%; left: -100%; @@ -1617,6 +2514,11 @@ h1 { background-color: #373021; text-align: center; + z-index: 500; + justify-content: center; + align-items: center; + display: flex; + flex-direction: column; } .message-box.alert-timed-box { @@ -1633,11 +2535,18 @@ h1 { } .message-box.push-box { + z-index: 500; left: 20%; width: 60%; top: 100%; height: 10%; + min-height: 0; } + +.message-box.push-box p { + flex: 0; +} + .message-box.push-box.in { left: 20%; top: 70%; @@ -1659,11 +2568,14 @@ h1 { .message-box p { font-size: 1.3em; + margin-top: 0; + margin-bottom: 0; + flex: 100; + padding-left: 0.5em; + padding-right: 0.5em; } .message-box .action-btn { - position: absolute; - width: 4em; height: 2em; @@ -1672,7 +2584,8 @@ h1 { font-size: 1.5em; line-height: 1.8em; - bottom: 0.5em; + margin-top: 1em; + margin-bottom: 1em; } .message-box.alert-timed-box .action-btn { bottom: 2em; @@ -1692,7 +2605,7 @@ h1 { left: 0; height: 100%; width: 0; - background: #FFFFFF; + background: #ffffff; border: 0.25em solid rgb(128, 128, 128); } @@ -1704,12 +2617,19 @@ h1 { right: 2.5em; } +.message-box .flex-row-container { + display: flex; + flex-direction: row; + width: 100%; + justify-content: space-around; +} + /*Settings*/ .settings-categorie { - display: none; + display: none; } .settings-categorie.active { - display: block; + display: block; } .settings-categorie h1 { margin-top: 0; @@ -1740,20 +2660,102 @@ h1 { margin-bottom: 1em; display: flex; + align-items: center; } .message-image { width: 5em; - height: 5em; + height: 100%; border-right: 3px solid #59885d; - margin-right: 1em; + margin-right: 0.6em; } .message-text-wrapper { flex: 1; padding: 0.5em 0; + align-self: flex-start; +} + +.message-name { + font-size: 1.3em; + font-weight: bold; +} + +.message-text { + margin-right: 0.6em; + padding-left: 0.4em; + padding-top: 0.4em; +} + +.content-feed .scroll-content { + mask-image: linear-gradient(to bottom, black 80%, transparent 100%); + top: 1.5em; + left: 0; + right: 0; + bottom: 0; + height: 93%; + overflow-x: hidden; + margin-left: 10px; + margin-right: 10px; + margin-bottom: 5px; +} + +.feed-content { + border: 3px solid #59885d; + border-radius: 0.25em; + + margin-bottom: 0.2em; + + display: flex; + align-items: center; + width: 100%; +} + +.feed-image:hover { + filter: brightness(80%); +} + +.feed-image { + width: 4em; + height: 4em; + + border-right: 3px solid #59885d; + + margin-right: 0.6em; +} + +.feed-text-wrapper { + flex: 1; + display: flex; + flex-direction: column; + align-self: flex-start; + height: 100%; + justify-content: space-around; +} + +.feed-name { + font-size: 1.3em; + font-weight: bold; +} + +.feed-text { + margin-right: 0.6em; + padding-left: 0.4em; + overflow: hidden; + white-space: nowrap; + overflow-wrap: anywhere; + text-overflow: ellipsis; +} + +.feed-time-block { + align-self: flex-start; + margin: 10px; +} + +.button-root { + display: flex; } .message-btn { @@ -1779,21 +2781,21 @@ h1 { height: 79vh; } .noMessagesInfo { - position: absolute; + position: absolute; - border-radius: 0.25em; - border: 3px solid #59885d; + border-radius: 0.25em; + border: 3px solid #59885d; - display: flex; + display: flex; - top: 38%; - bottom: 38%; - height: auto; + top: 38%; + bottom: 38%; + height: auto; - left: 20%; - width: 60%; + left: 20%; + width: 60%; - padding: 1.2em; + padding: 1.2em; } .noMessagesInfo img { @@ -1817,7 +2819,7 @@ h1 { /*Inputs*/ .inp_slider { - border: 1px solid #59885d; + border: 4px solid #59885d; width: 100%; height: 2em; position: relative; @@ -1861,7 +2863,7 @@ h1 { height: 8em; } .inp_dropdown { - border: 1px solid #59885d; + border: 4px solid #59885d; width: 15em; height: 2em; position: relative; @@ -1871,13 +2873,13 @@ h1 { z-index: 10; } .inp_dropdown:hover { - background-color: rgba(180, 180, 180, 1); + background-color: rgba(55, 48, 33, 1); } .inp_dropdown.dropdown-full-width { width: 100%; } .inp_dropdown_large { - border: 1px solid #59885d; + border: 4px solid #59885d; width: 30em; height: 2em; position: relative; @@ -1887,7 +2889,7 @@ h1 { z-index: 10; } .inp_dropdown_large:hover { - background-color: rgba(180, 180, 180, 1); + background-color: rgba(55, 48, 33, 1); } .inp_dropdown_large.dropdown-full-width { width: 100%; @@ -1901,6 +2903,7 @@ h1 { line-height: 1.333333em; font-size: 1.5em; text-align: center; + coh-font-fit-mode: shrink; } .valueList { position: absolute; @@ -1908,9 +2911,10 @@ h1 { left: 0; width: 100%; display: none; - border: 1px solid #59885d; + border: 4px solid #59885d; background-color: #373021; + z-index: 10; } .inp_dropdown.open .valueList { display: block; @@ -1927,18 +2931,18 @@ h1 { border-top: 1px solid #59885d; } .inp_dropdown .valueList .listValue:hover { - background-color: rgba(180, 180, 180, 1); + background-color: rgba(55, 48, 33, 1); color: rgba(60, 60, 60, 1); } .inp_dropdown_large .valueList .listValue:hover { - background-color: rgba(180, 180, 180, 1); + background-color: rgba(55, 48, 33, 1); color: rgba(60, 60, 60, 1); } .inp_toggle { height: 2em; width: 2em; - border: 1px solid #59885d; + border: 4px solid #59885d; margin-bottom: 1em } .inp_toggle.checked { @@ -1958,6 +2962,22 @@ h1 { align-items: flex-end; } +.option-input.flex-row { + flex-direction: column; + align-items: flex-start; +} + +.option-input .visualized-slider { + margin-bottom: 0; +} + +.option-input .slider-visualizer-level { + border-bottom: 5px solid #e43600; + width: 50%; + margin-bottom: 1em; + margin-top: 2px; +} + .vertical-pack { flex-direction: column; } @@ -1973,6 +2993,7 @@ h1 { .settings-categorie .content-btn { width: 15em; position: relative; + margin-bottom: 50px; } .inp_search { @@ -1980,233 +3001,13 @@ h1 { border: 3px solid #59885d; background: transparent; border-radius: 0.25em; - padding: 0.5em; - margin-left: -0.05em; - color: #FFFFFF; -} - -/*Quick Menu*/ -.quick-menu .action-btn { - font-size: 0.5em; -} -.quick-menu-wrapper { - width: 600px; - height: 800px; - - border-radius: 0.25em; - overflow: hidden; - - box-sizing: border-box; - border: 3px solid #59885d; - - background-color: rgba(128, 128, 128, 0.8); - - position: absolute; - - top: 140px; - left: 140px; - - padding: 0.25em 0; -} - -.quick-menu-wrapper .action-btn { - width: 10em; - height: 10em; - - padding: 1em; - margin: 0.5em 1em; - - text-align: center; -} -.quick-menu-wrapper .action-btn img { - width: 7.2em; - height: 7.2em; -} - -.quick-menu-sidebar { - position: absolute; - top: 140px; - left: 20px; -} - -.quick-menu-sidebar .action-btn { - width: 6em; - height: 6em; - - padding: 0; - margin: 0 0 1em; - - text-align: center; -} - -.quick-menu-sidebar .action-btn img { - width: 10em; - height: 10em; -} - -.quick-menu-sidebar .action-btn.media.next { - margin-bottom: 5.5em; -} -.quick-menu-sidebar .action-btn.hide-names { - margin-bottom: 5.5em; -} - -.quick-menu-top { - position: absolute; - - top: 70px; - left: 140px; -} - -.menu-top-date { - position: absolute; - top: 15px; - left: 50px; -} -.quick-menu-top .time-display { - position: absolute; - left: 350px; - font-size: 1.5em; - top: 0; -} - -.quick-menu-content { - width: 1100px; - height: 800px; - - border-radius: 0.25em; - overflow: hidden; - - box-sizing: border-box; - border: 3px solid #59885d; - - background-color: rgba(128, 128, 128, 0.8); - - position: absolute; - - top: 140px; - left: 770px; - - padding: 0.25em 0; -} - -/*Keyboard*/ -#keyboard { - position: absolute; - width: 90%; - height: 70%; - top: 5%; - left: -100%; - - border-radius: 0.25em; - overflow: hidden; - - box-sizing: border-box; - border: 3px solid #59885d; - - background-color: #373021; - - text-align: center; -} -#keyboard.in { - left: 5%; - transition: left 0.2s linear; -} -#keyboard.out { - left: 100%; - transition: left 0.2s linear; -} -.keyboard-row { - width: 100%; - height: 18%; - position: absolute; - top: 0; - left: 0; - - display: flex; -} -.keyboard-row + .keyboard-row { - border-top: 3px solid #59885d; -} -.keyboard-row.r1 { - height: 10%; -} -.keyboard-row.r2 { - top: 10%; -} -.keyboard-row.r3 { - top: 28%; -} -.keyboard-row.r4 { - top: 46%; -} -.keyboard-row.r5 { - top: 64%; -} -.keyboard-row.r6 { - top: 82%; -} -#keyoard-input { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - border: 0; - - text-align: center; - font-size: 2em; - line-height: 1.5em; -} -.keyboard-key, -.keyboard-mod, -.keyboard-func { - flex: 1; - padding-top: 1.3em; - font-size: 1.5em; -} -.keyboard-key:hover, -.keyboard-mod:hover, -.keyboard-func:hover, -.keyboard-key.active, -.keyboard-mod.active, -.keyboard-func.active { - background-color: rgba(27, 80, 55, 1); -} -.keyboard-key + .keyboard-key, -.keyboard-key + .keyboard-mod, -.keyboard-key + .keyboard-func, -.keyboard-mod + .keyboard-key, -.keyboard-mod + .keyboard-mod, -.keyboard-mod + .keyboard-func, -.keyboard-func + .keyboard-key, -.keyboard-func + .keyboard-mod, -.keyboard-func + .keyboard-func { - border-left: 3px solid #59885d; -} -.keyboard-key.wide, -.keyboard-mod.wide, -.keyboard-func.wide { - flex: 1.5; -} -.keyboard-key.wider, -.keyboard-mod.wider, -.keyboard-func.wider { - flex: 2; -} -.keyboard-key.widest, -.keyboard-mod.widest, -.keyboard-func.widest { - flex: 2.5; -} -.keyboard-key.space { - flex: 6; -} -.cancel-key { - background: #E43600; -} -.cancel-key:hover { - background: #f56b40; + padding-left: 0.5em; + padding-right: 0.5em; + font-family: "Noto Sans", "Noto Sans Symbols", "Noto Sans JP", "Noto Sans TC", "Noto Sans KR", "Noto Sans Arabic", "Noto Sans SC", sans-serif; + height: 70px; + font-size: 45px; + color: #000000; + background: #ffffff; } .content-avatar-functions .action-btn { @@ -2223,7 +3024,7 @@ h1 { .inp_button { width: 10%; - border: 1px solid #59885d; + border: 4px solid #59885d; text-align: center; line-height: 1.333333em; font-size: 1.5em; @@ -2232,7 +3033,7 @@ h1 { } .imperialDisplay { width: 30%; - border: 1px solid #59885d; + border: 4px solid #59885d; text-align: center; line-height: 1.333333em; font-size: 1.5em; @@ -2241,7 +3042,7 @@ h1 { .inp_btn_action { width: 30%; - border: 1px solid #59885d; + border: 4px solid #59885d; text-align: center; line-height: 1.333333em; font-size: 1.5em; @@ -2252,7 +3053,7 @@ h1 { .inp_joystick { width: 12em; height: 12em; - border: 1px solid #59885d; + border: 4px solid #59885d; margin-bottom: 1em; position: relative; background-image: url(gfx/Joystick_bg.svg); @@ -2263,7 +3064,7 @@ h1 { height: 1em; width: 1em; border-radius: 50%; - border: 1px solid #59885d; + border: 4px solid #59885d; background: white; margin-left: -0.5em; margin-top: -0.5em; @@ -2272,7 +3073,7 @@ h1 { .inp_sliderH { width: 4em; height: 12em; - border: 1px solid #59885d; + border: 4px solid #59885d; position: absolute; left: 13em; } @@ -2291,10 +3092,10 @@ h1 { text-align: center; line-height: 1.333333em; font-size: 1.5em; - color: #FFFFFF; + color: #ffffff; } .inp_number { - border: 1px solid #59885d; + border: 4px solid #59885d; width: 100%; height: 1.333em; position: relative; @@ -2303,7 +3104,7 @@ h1 { text-align: center; line-height: 1.333333em; font-size: 1.5em; - color: #FFFFFF; + color: #ffffff; } #avatar-settings { @@ -2322,7 +3123,7 @@ h1 { .advAvtrProfName { flex: 1; border: 2px solid #59885d; - + white-space: nowrap; overflow: hidden; text-overflow: ellipsis; @@ -2443,8 +3244,8 @@ h1 { } .numpadButton.btn-back { - top: 0; - background: #E43600; + top: 0; + background: #E43600; } .numpadButton.btn-back:hover { background: #f56b40; @@ -2541,6 +3342,10 @@ h1 { margin-left: 0.5em; margin-right: 4em; } +.prop-maininformation .description { + white-space: normal; + overflow-wrap: break-word; +} .prop-sidebar { position: absolute; top: 10%; @@ -2599,10 +3404,6 @@ h1 { padding: 0 1em; } -#search .scroll-content { - top: 8em; -} - #friend .list-content, #avatars .list-content, #worlds .list-content, #props .list-content { padding-right: 0; width: 76%; @@ -2636,7 +3437,6 @@ h1 { .settings-categorie .contact-icons { position: relative; display: flex; - margin-bottom: 1em; text-align: center; } .settings-categorie .contact-icons .contact-icon { @@ -2646,7 +3446,25 @@ h1 { .settings-categorie .contact-icons .contact-icon img { width: 150px; height: 150px; + margin-bottom: 1em; } + +.settings-categorie .contact-icons-center { + position: relative; + display: flex; + justify-content: center; + text-align: center; +} +.settings-categorie .contact-icons-center .contact-icon { + position: relative; + width: 33.3333%; +} +.settings-categorie .contact-icons-center .contact-icon img { + width: 150px; + height: 150px; + margin-bottom: 1em; +} + .settings-categorie .text-wrapper { position: relative; display: flex; @@ -2738,12 +3556,6 @@ td div { border-radius: 8px; border: 3px solid #59885d; } -.inp_search { - height: 70px; - font-size: 30px; - color: #333333; - background: #FFFFFF; -} .option-caption.nsfw-toggle-caption { display: flex; @@ -2781,9 +3593,13 @@ td div { width: 60%; top: 100%; height: 10%; - + min-height: 0; + z-index: 10000; } +.message-box.loading-box p { + flex: 0; +} .message-box.loading-box.in { left: 20%; top: 70%; @@ -2800,7 +3616,7 @@ td div { position: absolute; margin: 10px; background: url("gfx/nav-friends.svg") no-repeat; - background-color: #222222; + background-color: #373021; background-size: 60px 34px; background-position: 0 10px; padding: 10px; @@ -2819,6 +3635,7 @@ td div { #settings .filter-option { padding: 0.35em 0.5em; + font-size: 30px; } .settings-categorie .row-wrapper p { @@ -2844,6 +3661,8 @@ td div { padding: 1em; border: 3px solid #59885d; border-radius: 10px; + display: flex; + flex-direction: column; } .user-public-content img { width: 11em; @@ -2852,6 +3671,7 @@ td div { .user-public-content .name { text-align: center; margin: 5px 0; + flex: 1; } .user-public-content .detail-btn { border: 3px solid #59885d; @@ -2882,7 +3702,7 @@ img[data-loading-url] { display: flex; justify-content: space-between; - + overflow: hidden; } .color-indicator.half { @@ -2911,18 +3731,470 @@ img[data-loading-url] { margin-left: -180px; } .log-entry { - position: relative; display: flex; + align-items: flex-start; + padding: 5px 10px; } + .log-time { width: 100px; + flex-shrink: 0; + font-weight: bold; } + .log-message { - + flex-grow: 1; + width: 95%; + white-space: pre-wrap; + word-break: break-word; } + +.log-divider { + border: 0; + height: 1px; + background: rgba(255, 255, 255, 0.2); + margin: 5px 0; +} + .log-level-ERROR { color: #BB0000; } + .log-level-WARNING { color: #BBBB00; -} \ No newline at end of file +} + +/* Content Share: Base */ + +.content-sharing-base-dialog { + position: fixed; + background-color: #373021; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 800px; + min-width: 500px; + border: 3px solid #59885d; + padding: 20px; + z-index: 100000; + opacity: 0; + transition: opacity 0.2s linear; +} + +.content-sharing-base-dialog.in { + opacity: 1; +} + +.content-sharing-base-dialog.out { + opacity: 0; +} + +.content-sharing-base-dialog.hidden { + display: none; +} + +.content-sharing-base-dialog h2, +.content-sharing-base-dialog h3 { + margin-top: 0; + margin-bottom: 0.5em; + text-align: left; +} + +.content-sharing-base-dialog .description { + margin-bottom: 1em; + text-align: left; + font-size: 0.9em; + color: #aaa; +} + +.content-sharing-base-dialog .close-btn { + position: absolute; + top: 1%; + right: 1%; + border-radius: 0.25em; + border: 3px solid #59885d; + padding: 0.5em; + width: 8em; + text-align: center; +} + +.page-btn { + border-radius: 0.25em; + border: 3px solid #59885d; + padding: 0.5em; + width: 8em; + text-align: center; +} + +.page-btn:disabled { + opacity: 0.5; + cursor: not-allowed; +} + +.inp-hidden { + display: none; +} + +/* Content Share: Share Bubble */ + +.share-bubble-dialog { + z-index: 1002; + max-width: 800px; + transform: translate(-50%, -60%); +} + +.share-bubble-dialog .content-btn { + position: relative; + margin-bottom: 0.5em; +} + +.share-bubble-dialog .btn-group { + display: flex; + margin-bottom: 1em; +} + +.share-bubble-dialog .option-select { + flex: 1 1 0; + min-width: 0; + background-color: inherit; + text-align: center; + padding: 0.5em; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + border: 1px solid inherit; +} + +.share-bubble-dialog .option-select + .option-select { + margin-left: -1px; +} + +.share-bubble-dialog .option-select.active { + background-color: #1b5037; +} +.share-bubble-dialog .option-select:hover { + background-color: #373021; +} + +.share-bubble-dialog .action-buttons { + margin-top: 1em; + display: flex; + justify-content: space-between; +} + +.share-bubble-dialog .action-btn { + flex: 1; + text-align: center; + padding: 0.5em; + border-radius: 0.25em; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + margin-right: 0.5em; +} + +.share-bubble-dialog .action-btn:last-child { + margin-right: 0; +} + +/* Content Share: Share Select */ + +.share-select-dialog { + z-index: 1001; + width: 650px; + height: 480px; + transform: translate(-50%, -80%); +} + +.share-select-dialog .share-options { + display: flex; + flex-direction: column; + gap: 15px; + margin-top: 20px; +} + +.share-select-dialog .share-option { + padding: 20px; + text-align: left; + cursor: pointer; + background: rgba(0, 0, 0, 0.2); + border: 1px solid rgba(255, 255, 255, 0.1); + border-radius: 4px; + transition: background-color 0.2s ease; +} + +.share-select-dialog .share-option:hover { + background-color: #373021; + border-color: rgba(255, 255, 255, 0.2); +} + +.share-select-dialog h3 { + margin: 0 0 8px 0; + font-size: 1.2em; +} + +.share-select-dialog p { + margin: 0; + opacity: 0.8; + font-size: 0.95em; + line-height: 1.4; +} + +/* Content Share: Direct Share */ + +.direct-share-dialog { + z-index: 1003; + width: 800px; + height: 1000px; + transform: translate(-50%, -60%); + display: flex; + flex-direction: column; +} + +.direct-share-dialog .search-container { + margin: 20px 0; + padding: 10px; + background: rgba(0, 0, 0, 0.2); + border-radius: 4px; +} + +.direct-share-dialog .search-input { + width: 100%; + padding: 10px; + border: none; + background: transparent; + color: inherit; + font-size: 1.1em; +} + +.direct-share-dialog .source-indicator { + padding: 10px; + text-align: center; + opacity: 0.8; + background: rgba(0, 0, 0, 0.1); + border-radius: 4px; + margin-bottom: 20px; +} + +.direct-share-dialog .users-container { + flex: 1; + overflow-y: auto; + margin-bottom: 20px; + min-height: 0; +} + +.direct-share-dialog .user-item { + display: flex; + align-items: center; + padding: 15px; + border: 1px solid rgba(255, 255, 255, 0.1); + margin-bottom: 10px; + background: rgba(0, 0, 0, 0.2); + border-radius: 4px; + min-height: 96px; +} + +.direct-share-dialog .user-item img { + width: 96px; + height: 96px; + margin-right: 15px; + cursor: pointer; + border-radius: 4px; +} + +.direct-share-dialog .user-item .user-name { + flex: 1; + font-size: 1.3em; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + margin-right: 15px; + cursor: pointer; +} + +.direct-share-dialog .user-item .action-btn { + width: 140px; + height: 50px; + font-size: 1.2em; + color: white; + background-color: #373021; + border-radius: 4px; + display: inline-flex; + align-items: center; + justify-content: center; +} + +.direct-share-dialog .user-item .action-btn:disabled { + opacity: 0.5; + cursor: not-allowed; + background-color: #4a9eff; +} + +.direct-share-dialog .pagination { + border-top: 1px solid rgba(255, 255, 255, 0.1); + padding-top: 20px; +} + +.direct-share-dialog .page-info { + font-size: 1.1em; + opacity: 0.8; + margin-bottom: 15px; + text-align: center; +} + +.direct-share-dialog .page-buttons { + display: flex; + justify-content: center; + gap: 20px; +} + +.direct-share-dialog .user-item .action-btn { + width: 180px; + height: 60px; + font-size: 1.2em; + color: white; + border-radius: 4px; + display: inline-flex; + align-items: center; + justify-content: center; + margin-left: 10px; + padding: 0 20px; + text-align: center; + background-color: #373021; +} + +.direct-share-dialog .user-item .action-btn:disabled { + opacity: 0.5; + cursor: not-allowed; +} + +.direct-share-dialog .user-item .action-btn.shared { + background-color: #4a9eff; +} + +.direct-share-dialog .user-item .action-btn.failed { + background-color: #ff6b6b; +} + +.direct-share-dialog #users-loading, +.direct-share-dialog #users-error, +.direct-share-dialog #users-empty { + text-align: center; + padding: 2em; + font-size: 1.1em; +} + +.direct-share-dialog #shares-error { + color: #ff6b6b; +} + +/* Content Share: Unshare */ + +.unshare-dialog { + z-index:1000; + width: 800px; + height: 1000px; + transform: translate(-50%, -60%); + display: flex; + flex-direction: column; +} + +.unshare-dialog .shares-container { + flex: 1; + overflow-y: auto; + margin: 20px 0; + min-height: 0; +} + +.unshare-dialog #shares-loading, +.unshare-dialog #shares-error, +.unshare-dialog #shares-empty { + text-align: center; + padding: 2em; + font-size: 1.1em; +} + +.unshare-dialog #shares-error { + color: #ff6b6b; +} + +.unshare-dialog .share-item { + display: flex; + align-items: center; + padding: 15px; + border: 1px solid rgba(255, 255, 255, 0.1); + margin-bottom: 10px; + background: rgba(0, 0, 0, 0.2); + border-radius: 4px; + min-height: 120px; +} + +.unshare-dialog .share-item img { + width: 96px; + height: 96px; + border-radius: 4px; + margin-right: 15px; + cursor: pointer; +} + +.unshare-dialog .share-item .user-name { + flex: 1; + font-size: 1.3em; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + margin-right: 15px; + cursor: pointer; +} + +.unshare-dialog .action-btn { + width: 180px; + height: 60px; + font-size: 1.2em; + color: white; + border-radius: 4px; + display: inline-flex; + align-items: center; + justify-content: center; + margin-left: 10px; + padding: 0 20px; + text-align: center; +} + +.unshare-dialog .revoke-btn { + background-color: #ff6b6b; +} + +.unshare-dialog .undo-btn { + background-color: #4a9eff; +} + +.unshare-dialog .action-btn:disabled { + opacity: 0.5; + cursor: not-allowed; + background-color: #666; +} + +.unshare-dialog .pagination { + border-top: 1px solid rgba(255, 255, 255, 0.1); + padding-top: 20px; +} + +.unshare-dialog .page-info { + font-size: 1.1em; + opacity: 0.8; + margin-bottom: 15px; + text-align: center; +} + +.unshare-dialog .page-buttons { + display: flex; + justify-content: center; + gap: 20px; +} + +.unshare-dialog .share-item.revoked { + opacity: 0.7; +}