/* --------------- */ /* --- LAYOUT ---- */ /* --------------- */ .popup#users { flex-direction: column; max-height: 500px; height: auto; } .popup#users #myuser { flex-shrink: 0; } .popup#users #otherusers { flex: 1 auto; overflow: auto; max-height: 200px; } .popup#users.chatAndUsers { display: flex !important; /* always visible */ position: relative; z-index: 1; top: 0; right: 0; left: auto; border: none; border-bottom: 1px solid #ccc; border-left: 1px solid #ccc; border-right: 0; border-radius: 0; box-shadow: none; height: 200px; min-width: 0; box-sizing: border-box; padding: 5px; } /* --------------- */ /* --- MY USER --- */ /* --------------- */ #myswatchbox { float: left; width: 24px; height: 24px; border: 1px solid #ccc background: transparent; cursor: pointer; } #myswatch { width: 100%; height: 100%; background: transparent; /*...initially*/ } #myusernameform { margin-left: 30px; } input#myusernameedit { height: 26px; font-size: 1.3em; padding: 3px; border: 1px solid #ccc; background-color: transparent; margin: 0; } input#myusernameedit:not(.editable) { color: grey; } #myuser .myusernameedithoverable:hover { background: white; } #myusernameform .editactive, #myusernameform .editempty { background: white; border-left: 1px solid #c3c3c3; border-top: 1px solid #c3c3c3; border-right: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6; color: #000; } #myusernameform .editempty { color: #333 } #myusernameedit, #otheruserstable .swatch { border: 1px solid #ccc; } /* --------------------------- */ /* --- MY USER COLORPICKER --- */ /* --------------------------- */ #mycolorpicker { display: none; position: absolute; right: calc(100% + 15px); z-index: 101; } #mycolorpickersave { left: 10px; font-weight: bold; } #mycolorpickercancel { left: 85px } #mycolorpickersave, #mycolorpickercancel { background: #fff; border: 1px solid #ccc; border-radius: 4px; font-size: 12px; cursor: pointer; color: #000; overflow: hidden; padding: 4px; top: 240px; text-align: center; position: absolute; width: 60px; } #mycolorpickerpreview { position: absolute; left: 207px; top: 240px; width: 16px; height: 16px; padding: 4px; overflow: hidden; color: #fff; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; } /* ------------------- */ /* --- OTHER USERS --- */ /* ------------------- */ #otheruserstable td { height: 26px; padding: 0 2px; } #otheruserstable .swatch { border: 1px solid #ccc; width: 13px; height: 13px; overflow: hidden; margin: 0 4px; user-select: none; } .usertdname { font-size: 1.2rem; }