diff --git a/index.html b/index.html index 46decc18..e698e546 100644 --- a/index.html +++ b/index.html @@ -3,18 +3,19 @@ - - - - - + content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/> + + + + + @@ -29,6 +30,7 @@ padding: 0; color-scheme: var(--tg-color-scheme); } + body.gray { background-color: var(--tg-theme-secondary-bg-color, #efefef); } @@ -36,10 +38,12 @@ a { color: var(--tg-theme-link-color, #2678b6); } + .btn { font-size: 14px; padding: 10px 17px; } + .btn-primary { background-color: var(--tg-theme-button-color, #50a8eb); color: var(--tg-theme-button-text-color, #fff); @@ -58,26 +62,32 @@ color: var(--tg-theme-button-text-color, #ffffff); cursor: pointer; } + .main-container { padding: 15px; } + .list-header { text-transform: uppercase; font-size: .92em; color: var(--tg-theme-hint-color, #ccc); margin: 0 0 10px; } + a.list-group-item, button.list-group-item { color: var(--tg-theme-text-color, #222); } + .main-container p { margin: 0 0 10px; } + .main-container pre, .main-container > .btn { margin: 0 0 7px; } + .main-container pre + .hint, .main-container > .btn + .hint { text-align: center; @@ -116,18 +126,23 @@ color: var(--tg-theme-text-color, #222222); text-align: start; } + input[type="text"]::-webkit-input-placeholder { color: var(--tg-theme-hint-color, #ccc); } + input[type="text"]::-moz-placeholder { color: var(--tg-theme-hint-color, #ccc); } + input[type="text"]:-ms-input-placeholder { color: var(--tg-theme-hint-color, #ccc); } + .input[data-placeholder] { position: relative; } + .input[data-placeholder]:empty:before { position: absolute; left: 0; @@ -142,37 +157,47 @@ pointer-events: none; z-index: -1; } + section { padding: 15px; text-align: center; background-color: var(--bg-color, #ffffff); } + section#top_sect { background-color: var(--tg-theme-bg-color, #ffffff); } + section#top_sect.second { background-color: var(--tg-theme-secondary-bg-color, #efefef); } + section .sect_row { margin: 10px 0; } + section + section { padding: 0 15px 65px; } + p { margin: 40px 0 15px; } + ul { text-align: left; } + li { color: var(--tg-theme-hint-color, #a8a8a8); } + textarea { width: 100%; box-sizing: border-box; padding: 7px; } + pre { background: rgba(0, 0, 0, .07); color: var(--tg-theme-text-color, #222); @@ -185,33 +210,42 @@ white-space: pre-wrap; text-align: left; } + .dark pre { background: rgba(255, 255, 255, .15); } + .chat_img { width: 30px; border-radius: 15px; margin-right: 10px; } + .columns { display: flex; } - .columns>* { + + .columns > * { flex-grow: 1; } + .hint { font-size: .8em; color: var(--tg-theme-hint-color, #a8a8a8); } + .ok { color: green; } + .err { color: red; } + .status_need { display: none; } + #fixed_wrap { position: fixed; left: 0; @@ -219,6 +253,7 @@ top: 0; transform: translateY(100vh); } + .viewport-container { position: fixed; left: 0; @@ -227,6 +262,7 @@ height: var(--tg-viewport-stable-height, 100vh); transition: height .2s ease; } + .viewport-container .main-container { position: absolute; left: 0; @@ -237,9 +273,11 @@ justify-content: center; align-items: center; } + .viewport-container .main-container button { width: auto; } + .viewport-border, .viewport-stable_border { position: fixed; @@ -249,9 +287,11 @@ height: var(--tg-viewport-height, 100vh); pointer-events: none; } + .viewport-stable_border { height: var(--tg-viewport-stable-height, 100vh); } + .viewport-border:before, .viewport-stable_border:before { content: attr(text); @@ -264,11 +304,13 @@ padding: 2px 4px; vertical-align: top; } + .viewport-stable_border:before { background: green; left: 0; right: auto; } + .viewport-border:after, .viewport-stable_border:after { content: ''; @@ -280,6 +322,7 @@ bottom: 0; border: 2px dashed gray; } + .viewport-stable_border:after { border-color: green; } @@ -298,12 +341,12 @@ - +
-
Background: