Path: blob/master/web-gui/buildyourownbotnet/assets/js/jquery-terminal/examples/dialog.css
1293 views
/**1* jQuery Plugin for text based dialogs that look2* like dialog linux command it use cmd plugin from3* jQuery Terminal4*5* Copyright (c) 2017 Jakub Jankiewicz <http://jcubic.pl/me>6*7* Linceses under MIT license8*/9.dialog {10background-color: #00a;11position: relatieve;12font-size: 12px;13line-height: 14px;14margin: 0;15}16.dialog, .dialog button {17font-family: monospace;18}19.dialog > :not(.box) {20display: none;21}22.dialog .box > .input .cmd {23float: none;24margin-bottom: -4px;25--color: #000;26--background: #aaa;27padding: 0;28}29.dialog .cmd > span:not(.prompt) {30float: none;31}32@supports (--css: variables) {33.dialog, .dialog button {34font-size: calc(var(--size, 1) * 12px);35line-height: calc(var(--size, 1) * 14px);36}37}38.dialog > .box {39background-color: #aaa;40float: left;41position: absolute;42top: 50%;43left: 50%;44transform: translate(-50%, -50%);45-webkit-box-shadow: calc(var(--char-width) * 2px) calc(var(--char-width) * 2px) black;46box-shadow: calc(var(--char-width) * 2px) calc(var(--char-width) * 2px) black;47}48.dialog .box .light {49color: #fff;50}51.dialog .box .dark {52color: #000;53}54.dialog .line {55float: left;56clear: both;57white-space: nowrap;58}59.dialog .box > .input .left,60.dialog .box > .input .top,61.dialog .box > .input .bottom,62.dialog .box > .input .cmd,63.dialog .box > .input .right {64display: inline-block;65}66.dialog .box > .buttons-line .left,67.dialog .box > .buttons-line .buttons,68.dialog .box > .buttons-line .right {69float: left;70}71.dialog .box .title {72position: absolute;73top: 0;74left: 0;75right: 0;76text-align: center;77overflow: hidden;78}79.dialog .box .title span {80background-color: #aaa;81}82.dialog .box .header span {83display: inline-block;84}85.dialog .box .buttons {86display: flex;87justify-content: space-around;88}89.dialog .box button {90margin: 0;91padding: 0;92border: none;93color: #555;94min-width: 87px;95}96.dialog .box button:active,97.dialog .box button {98outline: none;99}100101.dialog .box button:before {102content: '<';103float: left;104}105.dialog .box button:after {106content: '>';107float: right;108}109.dialog .box button:before,110.dialog .box button:after {111display: inline-block;112color: #000;113}114.dialog .box button,115.dialog .box button:before,116.dialog .box button:after {117background-color: transparent;118}119.dialog .box button:not(.active) .mark {120color: #a00;121}122.dialog .box button.active,123.dialog .box button.active:before,124.dialog .box button.active:after {125background-color: #00a;126}127.dialog .box button.active {128color: #ff5;129}130.dialog .box button.active:before,131.dialog .box button.active:after {132color: #fff;133}134.dialog .box button.active.selected .mark {135color: #00a;136background: #fff;137}138139140