/********************************************************* * Teambuilder list *********************************************************/ .folderpane { position: absolute; left: 0; top: 0; bottom: 0; padding: 0; border-left: 5px solid #d7e3ec; width: 154px; overflow: auto; overflow-x: hidden; } .teampane { position: absolute; left: 159px; top: 0; right: 0; bottom: 0; padding: 5px 0 5px 8px; overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-block: contain; } @media (max-width:649px) { .folderpane { display: none; } .teampane { left: 0; } } .folderlist { height: 100%; width: 154px; display: table; table-layout: fixed; margin: 0; padding: 0; border: 0; } .folderlist .folder, .folderlist .foldersep { display: table-row; margin: 0; padding: 0; border: 0; height: 30px; } .folderlist .foldersep { height: 15px; } .folderlist .foldersep:before { display: table-cell; height: 15px; background: #d7e3ec; border-right: 1px solid #888888; content: ''; } .folderlistafter { display: table-row; margin: 0; padding: 0; border: 0; height: auto; } .folderlistbefore { display: table-row; margin: 0; padding: 0; border: 0; height: 12px; content: ''; } .folderlistafter:before, .folderlistbefore:before { display: table-cell; background: #d7e3ec; margin: 0; padding: 0; border: 0; border-right: 1px solid #888888; content: ''; } .folderpane i { display: inline-block; width: 16px; color: #777777; } .folderpane .text, .folderpane h3 { margin: 0; padding: 13px 0 0 0; height: 17px; font-size: 9pt; background: #d7e3ec; color: black; border-right: 1px solid #888888; } .folderpane .text { height: 23px; padding: 7px 0 0 7px; } .folder .selectFolder { display: block; padding: 7px 0 0 7px; border: 0; border-right: 1px solid #888888; background: #d7e3ec; color: black; width: auto; max-width: 146px; /* I have no idea why this is required and width doesn't work */ height: 23px; font-size: 9pt; font-family: Verdana, sans-serif; white-space: nowrap; overflow: hidden; text-align: left; cursor: pointer; user-select: none; -webkit-user-select: none; } .folder button.selectFolder { height: 30px; padding: 0 0 0 7px; width: 100%; max-width: none; } .folder .selectFolder:hover { background: #c7d3dc; } .folder .selectFolder:active { background: #b7c3cc; } .folder .selectFolder.active { background: #27333c; color: white; } .folder.cur .selectFolder, .folder.cur .selectFolder:hover, .folder.cur .selectFolder:active { padding-top: 6px; height: 22px; cursor: default; background: transparent; color: black; border-top: 1px solid #888888; border-bottom: 1px solid #888888; border-left: 1px solid #888888; border-right: 0; padding-left: 6px; border-top-left-radius: 3px; border-bottom-left-radius: 3px; } .folder.cur button.selectFolder, .folder.cur button.selectFolder:hover, .folder.cur button.selectFolder:active { height: 30px; padding: 0 0 0 6px; width: 100%; max-width: none; } /* believe me, there was no other way to do this */ .folderhack1, .folderhack2 { position: absolute; display: block; left: 0; width: 1px; height: 1px; background: #d7e3ec; content: ''; } .folderhack1 { top: 0; } .folderhack2 { bottom: 0; } .folderhack3 { position: relative; height: 30px; } .teamlist, .teamdropdown { list-style: none; margin: 0; padding: 0; } .teamlist li { margin: 3px 0; padding: 0; } .teamdropdown li { display: inline-block; margin: 3px; padding: 0; } /* dark */ .dark .folderpane { border-left-color: #484848; } .dark .folderlist .foldersep:before, .dark .folderlistafter:before, .dark .folderlistbefore:before, .dark .folderpane h3, .dark .folderpane .text, .dark .folder .selectFolder, .dark .folderhack1, .dark .folderhack2 { background: #484848; color: #ddd; } .dark .folder .selectFolder:hover { background: #686868; } .dark .folderpane i { color: #ddd; } .dark .folder .selectFolder.active, .dark .folder .selectFolder:active { background: #27333c; color: white; } .dark .folder.cur .selectFolder { background: transparent; } /********************************************************* * Teambuilder editor *********************************************************/ .teamname { margin: 10px 0 17px 0; } .teamname .textbox { width: 100%; box-sizing: border-box; font-size: 15pt; font-weight: bold; padding: 4px 6px; } .teamtextbox { width: 100%; padding-top: 8px; padding-left: 100px; box-sizing: border-box; line-height: 20px; resize: none; } .teamtextbox::placeholder { /* Firefox doesn't support transform, padding-top, margin-top, _or_ top... */ line-height: 60px; } .teaminnertextbox { width: 320px; height: 18px; left: 96px; position: absolute; pointer-events: none; border: 1px solid #4488CC; border-radius: 3px; box-shadow: inset 0px 1px 2px #D2D2D2, 0px 0px 5px #66AADD; background: transparent; } .teaminnertextbox-stats, .teaminnertextbox-pokemon { width: 420px; } .teaminnertextbox-item, .teaminnertextbox-ability { width: 270px; } .teaminnertextbox-move { width: 220px; } .searchresults { border: 1px solid #888888; border-radius: 2px; box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.3); position: absolute; top: 300px; left: -14px; right: -14px; min-height: 150px; overflow: auto; max-height: 80vh; } .searchresults, .team-focus-editor { background: #f2f2f2; } .dark .searchresults, .dark .team-focus-editor { background: #282828; } .closesearch { position: absolute; top: 1px; right: 1px; z-index: 1; } .teameditor .details { margin: 3px 0 12px; } .teameditor { max-width: 660px; } .teameditor-text { position: relative; } .teameditor-text .heighttester { position: absolute; top: 0; left: 0; overflow-y: hidden; height: 10px; /* I have no clue what the default