#main-toolbar #activity-button { background-image: url(../activity/activity-icon.svg); } #main-toolbar #language-button { background-image: url(../icons/module-language.svg); } #main-toolbar #face-button { background-image: url(../icons/face.svg); } #main-toolbar #speech-button { background-image: url(../icons/voice.svg); } #main-toolbar #gamemode1-button { background-image: url(../icons/mode-type.svg); } #main-toolbar #gamemode2-button { background-image: url(../icons/mode-robot.svg); } #main-toolbar #gamemode3-button { background-image: url(../icons/mode-chat.svg); } #speakText { height:45px; width:50px; margin:8px; right:4px; bottom: 15px; z-index:1; position:absolute; background-image: url(../icons/go-right.svg); background-size: 55px 50px; background-position: 50% 50%; } #userText { height:40px; margin:5px; margin-left:8vh; width:90vw; font-size: 28pt; font-weight: bold; z-index:0; } /** Custom dropdown arrow for select tag **/ .dropdown { position: absolute; } .dropdown:before { content: ""; position: absolute; margin-left: 5px; left: 23px; top: 27px; width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid #000; pointer-events: none; } /** CSS for the select tag to make it look like a button **/ #combo-box { position:absolute; top: 5px; width:2vw; height:25px; line-height:20px; margin:13px; margin-left:3vh; padding:0; font-size: 0; } #combo-box option{ font-size: 20px; } /** Select tag custom css **/ select { padding:3px; margin: 0; background: transparent; color:#888; border: none !important;; outline:none; display: inline-block; -webkit-appearance:none; -moz-appearance:none; appearance:none; cursor:pointer; } #activity-palette { z-index: 3; } .widepalette { z-index: 3; } .thinpalette { z-index: 3; } body { overflow: hidden; } /** Added @media access for dropdown button to make it responsive **/ @media screen and (min-width: 890px) { .thinpalette .wrapper { max-width: 66px; min-width: 61px; min-height: 51px; pointer-events: auto; background-color: black; border: 2px solid #808080; } .widepalette .wrapper { max-width: 500px; min-width: 500px; min-height: 51px; pointer-events: auto; background-color: black; border: 2px solid #808080; } } @media screen and (max-width: 504px) { select { position: absolute; right: 460px; } } @media screen and (max-width: 600px) { select { position: absolute; right: 300px; } } @media screen and (max-width: 630px) { select { position: absolute; right: 570px; } } @media screen and (max-width: 740px) { select { position: absolute; right: 670px; } } @media screen and (max-width: 667px) { select { position: absolute; right: 610px; } } @media screen and (max-width: 640px) { select { position: absolute; right: 585px; } .dropdown:before { margin-left: -15px; } } @media screen and (max-width: 480px) { select { position: absolute; right: 440px; } .dropdown:before { margin-left:-25px; } } @media screen and (max-width: 375px) { select { position: absolute; right: 365px; } } @media screen and (max-width: 360px) { select { position: absolute; right: 355px; } } .dropdown:before { margin-left: -10px; } } @media screen and (max-width: 890px) { .toolbar { padding-left: 10px; } } @media screen and (max-width: 320px) { select { position: absolute; right: 300px; } .dropdown:before { margin-left: -10px; } }