mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-07-07 20:26:45 -05:00
This should give an idea of the direction I want to take the teambuilder in: a text editor, but with special features. This neatly sidesteps a lot of UI questions, especially all the export and input buttons, because the regular editing mode can be used to import and export without anything fancy. This also makes way for a better way to implement team/set comments: comments are just invalid Pokémon in a team.
26 lines
484 B
CSS
26 lines
484 B
CSS
.teamtextbox {
|
|
width: 100%;
|
|
padding-top: 8px;
|
|
padding-left: 100px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.teameditor {
|
|
position: relative;
|
|
}
|
|
.teameditor .heighttester {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
overflow-y: hidden;
|
|
height: 10px;
|
|
/* I have no clue what the default <textarea> box-sizing is but "content-box" doesn't mean what you'd think */
|
|
box-sizing: border-box;
|
|
}
|
|
.teameditor hr {
|
|
position: absolute;
|
|
pointer-events: none;
|
|
left: 10px;
|
|
right: 10px;
|
|
}
|