| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611 |
- * {
- margin: 0;
- padding: 0;
- }
- html {
- color: #FFF;
- background-color: #111;
- }
- body {
- display: flex;
- width: 100%;
- height: 100dvh;
- }
- .hs {
- display: block;
- box-sizing: border-box;
- width: 100%;
- height: 16px;
- }
- .vs {
- display: block;
- box-sizing: border-box;
- width: 16px;
- height: 100%;
- }
- .container {
- display: flex;
- flex-direction: column;
- justify-items: stretch;
- width: 300px;
- margin: auto auto;
- }
- .error-container {
- display: flex;
- flex-direction: column;
- width: 100%;
- margin: 16px;
- }
- .hero-logo {
- display: block;
- box-sizing: border-box;
- margin: 0 auto;
- width: 66%;
- height: 66%;
- }
- .hero-label {
- display: block;
- width: 100%;
- text-align: center;
- font-size: 24pt;
- font-weight: 700;
- }
- .auth-logo {
- display: block;
- box-sizing: border-box;
- margin: 0 auto;
- width: 50%;
- height: 50%;
- }
- .auth-label {
- display: block;
- width: 100%;
- text-align: center;
- font-size: 20pt;
- font-weight: 700;
- }
- .button {
- display: block;
- width: 100%;
- aspect-ratio: 4 / 1;
- border: none;
- border-radius: 4px;
- color: #FFF;
- background-color: #50A0F0;
- font-size: 16pt;
- font-weight: 700;
- }
- .button:focus {
- color: #EEE;
- background-color: #4595E5;
- outline-color: #70C0F0;
- outline-width: 2px;
- }
- .button:hover {
- color: #EEE;
- background-color: #4595E5;
- }
- .button:active {
- color: #CCC;
- background-color: #3585D5;
- }
- .text-input {
- display: block;
- box-sizing: border-box;
- padding-left: 8px;
- margin: auto;
- width: 100%;
- aspect-ratio: 4 / 1;
- border: none;
- border-radius: 4px;
- background-color: #FFF;
- font-size: 16pt;
- font-weight: 700;
- }
- .text-input::placeholder {
- color: #777;
- }
- .text-input:focus {
- background-color: #FFF;
- outline-color: #70C0F0;
- outline-width: 2px;
- }
- .chats-container {
- display: flex;
- flex-direction: column;
- width: 100%;
- height: 100%;
- }
- .chat-header {
- display: flex;
- flex-direction: row;
- align-items: center;
- width: 100%;
- height: 64px;
- background-color: #222;
- }
- .chat-list {
- display: flex;
- flex-direction: column;
- width: 100%;
- height: 100%;
- overflow-y: auto;
- }
- .chat-title {
- margin-right: auto;
- font-size: 18pt;
- font-weight: 700;
- }
- .chat-title:first-child {
- margin-left: 16px;
- }
- .chat-item {
- display: flex;
- flex-direction: row;
- align-items: center;
- width: 100%;
- height: 48px;
- border-bottom-color: #222;
- border-bottom-width: 1px;
- border-bottom-style: solid;
- }
- .chat-link {
- color: #fff;
- text-decoration: none;
- }
- .chat-name {
- margin-left: 16px;
- font-size: 14pt;
- }
- .empty-label {
- width: 100%;
- margin-top: 16px;
- text-align: center;
- font-size: 16pt;
- font-weight: 500;
- }
- .action {
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .action img {
- width: 32px;
- height: 32px;
- margin: 0px 16px;
- }
- .message-list {
- display: flex;
- flex-direction: column-reverse;
- width: 100%;
- height: 100%;
- overflow-y: auto;
- }
- .message {
- display: flex;
- flex-direction: column;
- width: 100%;
- }
- .message-username {
- margin: 0px 16px 10px 16px;
- font-size: 14pt;
- font-weight: 700;
- }
- .message-text {
- margin: 0px 16px 8px 16px;
- font-size: 16pt;
- font-weight: 500;
- color: #eee;
- }
- .message-datetime {
- margin: 0px 16px 16px 16px;
- font-size: 14pt;
- font-weight: 500;
- color: #555;
- }
- .input-form {
- display: flex;
- flex-direction: row;
- }
- .input-form .text-input {
- margin: 16px 0px 16px 16px;
- height: 56px;
- }
- .input-form .button {
- margin: 16px;
- width: 84px;
- height: 56px;
- }
- .add-button {
- display: flex;
- box-sizing: border-box;
- position: absolute;
- width: 64px;
- height: 64px;
- bottom: 16px;
- right: 16px;
- border-radius: 16px;
- background-color: #50A0F0;
- }
- .add-button:focus {
- background-color: #4595E5;
- outline-color: #70C0F0;
- outline-width: 2px;
- }
- .add-button:hover {
- background-color: #4595E5;
- }
- .add-button:active {
- background-color: #3585D5;
- }
- .add-button img {
- width: 66%;
- height: 66%;
- margin: auto;
- }
- .back-button {
- display: flex;
- box-sizing: border-box;
- position: absolute;
- width: 64px;
- height: 64px;
- left: 16px;
- top: 16px;
- }
- .back-button img {
- width: 66%;
- height: 66%;
- margin: auto;
- }
- @media screen and (max-width: 600px) {
- .hs {
- height: 12px;
- }
-
- .vs {
- width: 12px;
- }
-
- .container {
- width: 256px;
- }
-
- .hero-label {
- font-size: 20pt;
- }
- .auth-label {
- font-size: 18pt;
- }
- .button {
- font-size: 12pt;
- }
- .text-input {
- font-size: 12pt;
- }
- .chat-header {
- height: 48px;
- }
- .chat-title {
- font-size: 16pt;
- }
- .chat-title:first-child {
- margin-left: 12px;
- }
- .chat-item {
- height: 40px;
- }
-
- .chat-name {
- margin-left: 12px;
- font-size: 13pt;
- }
-
- .empty-label {
- margin-top: 12px;
- font-size: 14pt;
- }
- .action img {
- width: 26px;
- height: 26px;
- margin: 0px 12px;
- }
- .message-username {
- margin: 0px 14px 8px 14px;
- font-size: 12pt;
- }
-
- .message-text {
- margin: 0px 14px 6px 14px;
- font-size: 14pt;
- }
-
- .message-datetime {
- margin: 0px 14px 14px 14px;
- font-size: 12pt;
- }
- .input-form .text-input {
- margin: 12px 0px 12px 12px;
- height: 48px;
- }
-
- .input-form .button {
- margin: 12px;
- width: 72px;
- height: 48px;
- }
- .add-button {
- width: 48px;
- height: 48px;
- bottom: 12px;
- right: 12px;
- border-radius: 12px;
- }
- .back-button {
- width: 56px;
- height: 56px;
- left: 12px;
- top: 12px;
- }
- }
- @media screen and (max-width: 400px) {
- .hs {
- height: 10px;
- }
-
- .vs {
- width: 10px;
- }
-
- .container {
- width: 192px;
- }
-
- .hero-label {
- font-size: 18pt;
- }
- .auth-label {
- font-size: 16pt;
- }
- .button {
- font-size: 10pt;
- }
- .text-input {
- font-size: 10pt;
- }
- .chat-header {
- height: 44px;
- }
- .chat-title {
- font-size: 14pt;
- }
- .chat-title:first-child {
- margin-left: 10px;
- }
- .chat-item {
- height: 36px;
- }
-
- .chat-name {
- margin-left: 10px;
- font-size: 12pt;
- }
-
- .empty-label {
- margin-top: 10px;
- font-size: 12pt;
- }
- .action img {
- width: 23px;
- height: 23px;
- margin: 0px 11px;
- }
- .message-username {
- margin: 0px 12px 6px 12px;
- font-size: 11pt;
- }
-
- .message-text {
- margin: 0px 12px 4px 12px;
- font-size: 13pt;
- }
-
- .message-datetime {
- margin: 0px 12px 12px 12px;
- font-size: 11pt;
- }
- .input-form .text-input {
- margin: 10px 0px 10px 10px;
- height: 40px;
- }
-
- .input-form .button {
- margin: 10px;
- width: 60px;
- height: 40px;
- }
- .add-button {
- width: 40px;
- height: 40px;
- bottom: 10px;
- right: 10px;
- border-radius: 10px;
- }
- .back-button {
- width: 48px;
- height: 48px;
- left: 10px;
- top: 10px;
- }
- }
- @media screen and (max-width: 240px) {
- .hs {
- height: 8px;
- }
-
- .vs {
- width: 8px;
- }
- .container {
- width: 128px;
- }
-
- .hero-label {
- font-size: 16pt;
- }
- .auth-label {
- font-size: 14pt;
- }
- .button {
- font-size: 8pt;
- }
- .text-input {
- font-size: 8pt;
- }
- .chat-header {
- height: 40px;
- }
- .chat-title {
- font-size: 13pt;
- }
- .chat-title:first-child {
- margin-left: 8px;
- }
- .chat-item {
- height: 32px;
- }
-
- .chat-name {
- margin-left: 8px;
- font-size: 11pt;
- }
-
- .empty-label {
- margin-top: 8px;
- font-size: 11pt;
- }
- .action img {
- width: 20px;
- height: 20px;
- margin: 0px 10px;
- }
- .message-username {
- margin: 0px 10px 4px 10px;
- font-size: 10pt;
- }
-
- .message-text {
- margin: 0px 10px 2px 10px;
- font-size: 12pt;
- }
-
- .message-datetime {
- margin: 0px 10px 10px 10px;
- font-size: 10pt;
- }
- .input-form .text-input {
- margin: 8px 0px 8px 8px;
- height: 32px;
- }
-
- .input-form .button {
- margin: 8px;
- width: 48px;
- height: 32px;
- }
- .add-button {
- width: 32px;
- height: 32px;
- bottom: 8px;
- right: 8px;
- border-radius: 8px;
- }
- .back-button {
- width: 40px;
- height: 40px;
- left: 8px;
- top: 8px;
- }
- }
|