Tasmota/tasmota/html_uncompressed/HTTP_HEAD_STYLE1.h
SteWers eb8d51f47c
Update web UI styles and HTML syntax (#23847)
* Update web UI styles and HTML syntax

Merged HTTP_HEAD_STYLE2 into HTTP_HEAD_STYLE1 and removed redundant style files. Updated button and form HTML across web UI to use consistent markup. Adjusted various style and separator elements for improved HTML5 compliance and consistency.

* Fix WiFi config page

* Fix typo

* Revert merging HTTP_HEAD_STYLE

Revert merging `HTTP_HEAD_STYLE1.h` and `HTTP_HEAD_STYLE2.h`
2025-09-07 21:58:43 +02:00

12 lines
902 B
C

const char HTTP_HEAD_STYLE1[] PROGMEM =
"div,fieldset,input,select{padding:5px;font-size:1em;}"
"fieldset{background:var(--c_frm);}" // COLOR_FORM, Also update HTTP_TIMER_STYLE
"p{margin:0.5em 0;}"
"input{width:100%;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;background:var(--c_in);color:var(--c_intxt);}" // COLOR_INPUT, COLOR_INPUT_TEXT
"input[type=checkbox],input[type=radio]{width:1em;margin-right:6px;vertical-align:-1px;}"
"input[type=range]{width:99%;}"
"select{width:100%;background:var(--c_in);color:var(--c_intxt);}" // COLOR_INPUT, COLOR_INPUT_TEXT
"textarea{resize:vertical;width:98%;height:318px;padding:5px;overflow:auto;background:var(--c_bg);color:var(--c_csltxt);}" // COLOR_CONSOLE, COLOR_CONSOLE_TEXT
"body{text-align:center;font-family:verdana,sans-serif;background:var(--c_bg);}" // COLOR_BACKGROUND
"td{padding:0px;}";