-
-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from OvidijusParsiunas/issue/playground
Playground Page
- Loading branch information
Showing
74 changed files
with
4,602 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
.playground { | ||
background: var(--playground-background); | ||
} | ||
|
||
.playground-panorama { | ||
margin: auto; | ||
padding-bottom: 50px; | ||
} | ||
|
||
#playground-title { | ||
font-size: 33px; | ||
text-align: center; | ||
font-family: sans-serif; | ||
color: var(--start-header-color); | ||
margin-top: 30px; | ||
margin-bottom: 60px; | ||
} | ||
|
||
#playground-chat-list-parent { | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
#playground-chat-list { | ||
width: 88vw; | ||
overflow-x: auto; | ||
overflow-y: hidden; | ||
scroll-behavior: smooth; | ||
position: relative; | ||
} | ||
|
||
/* the css here is only active when screen is very wide */ | ||
/* the reason why we don't use grid all the time is because it causes chat wrappers to arrange their own width with strange spacing */ | ||
.playground-chat-list-grid { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); | ||
} | ||
|
||
.playground-chat-list-panorama { | ||
display: flex; | ||
} | ||
|
||
#playground-chat-list:empty { | ||
height: 440px; | ||
} | ||
|
||
#playground-chat-list::-webkit-scrollbar { | ||
height: 8px; | ||
} | ||
|
||
#playground-chat-list::-webkit-scrollbar-track { | ||
background-color: var(--playground-chat-list-scrollbar-background); | ||
} | ||
|
||
#playground-chat-list::-webkit-scrollbar-thumb { | ||
background-color: var(--playground-chat-list-scrollbar-thumb-background); | ||
border-radius: 10px; | ||
} | ||
|
||
.playground-button { | ||
-webkit-user-drag: none; | ||
user-select: none; | ||
-moz-user-select: none; | ||
-webkit-user-select: none; | ||
-ms-user-select: none; | ||
} | ||
|
||
#chat-wrapper-configuration-tooltip { | ||
background-color: #fff; | ||
color: rgba(0, 0, 0, 0.87); | ||
box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12); | ||
font-size: 11px; | ||
padding: 3px; | ||
padding-left: 10px; | ||
padding-right: 10px; | ||
z-index: 100; | ||
} | ||
|
||
@media (max-height: 800px) { | ||
.playground-panorama { | ||
padding-bottom: 0px; | ||
} | ||
.playground-panorama > #playground-title { | ||
margin-top: -20px; | ||
margin-bottom: 50px; | ||
} | ||
} | ||
|
||
@media (max-height: 755px) { | ||
.playground-grid > #playground-title, | ||
.playground-panorama > #playground-title { | ||
margin-bottom: 40px; | ||
} | ||
} | ||
|
||
@media (max-height: 730px) { | ||
.playground-grid > #playground-title, | ||
.playground-panorama > #playground-title { | ||
margin-top: 20px; | ||
margin-bottom: 30px; | ||
} | ||
} | ||
|
||
@media (max-height: 700px) { | ||
.playground-grid > #playground-title, | ||
.playground-panorama > #playground-title { | ||
margin-top: 0px; | ||
margin-bottom: 20px; | ||
} | ||
} | ||
|
||
@media (max-width: 2450px) { | ||
#playground-chat-list { | ||
width: 2000px; | ||
} | ||
.playground-chat-list-grid { | ||
display: block; | ||
grid-template-columns: unset; | ||
} | ||
} | ||
|
||
@media (max-width: 2050px) { | ||
#playground-chat-list { | ||
width: 1600px; | ||
} | ||
} | ||
|
||
@media (max-width: 1650px) { | ||
#playground-chat-list { | ||
width: 1200px; | ||
} | ||
} | ||
|
||
@media (max-width: 1250px) { | ||
#playground-chat-list { | ||
width: 800px; | ||
} | ||
} | ||
|
||
@media (max-width: 850px) { | ||
#playground-chat-list { | ||
width: 400px; | ||
overflow: unset; | ||
} | ||
.playground-panorama { | ||
padding-bottom: 60px; | ||
} | ||
.playground-chat-list-panorama { | ||
display: block; | ||
} | ||
} | ||
|
||
@media (max-height: 730px) { | ||
#playground-chat-list:empty { | ||
height: 428px; | ||
} | ||
} |
Oops, something went wrong.