From: Michael R Sweet Date: Thu, 13 Nov 2025 15:56:02 +0000 (-0500) Subject: Add new HTML/CSS developer test page for CUPS web interface (not installed), fix... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1646027214b5e6d2aa52cb42035ebf017fb5143;p=thirdparty%2Fcups.git Add new HTML/CSS developer test page for CUPS web interface (not installed), fix some CSS issues. --- diff --git a/doc/cups.css b/doc/cups.css index 34cfe33427..a5cfbbff4c 100644 --- a/doc/cups.css +++ b/doc/cups.css @@ -258,7 +258,7 @@ form { display: inline; } -button, input[type=button], input[type=submit], select { +button, input[type=button], input[type=submit] { border: none; border-radius: 5px; cursor: pointer; @@ -289,12 +289,12 @@ input[type=search] { input[type=search], input[type=text] { padding: 4px 8px; } -select { +select[size=1] { background: #ccc url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23000000' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px; color: black; padding: 4px 32px 4px 8px; } -select:hover { +select[size=1]:hover { background: #ddd url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23000000' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px; } textarea { @@ -786,12 +786,12 @@ ul.contents li ul.code, ul.contents li ul.subcontents { background: #333; color: #ccc; } - select { + select[size=1] { background: #333 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23CCCCCC' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px; color: #ccc; padding: 4px 32px 4px 8px; } - select:hover { + select[size=1]:hover { background: #444 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23DDDDDD' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px; } } diff --git a/doc/test.html b/doc/test.html new file mode 100644 index 0000000000..9f00b5d625 --- /dev/null +++ b/doc/test.html @@ -0,0 +1,147 @@ + + + + + + + + + + + + + CUPS HTML/CSS Developer Test Page + + +
+ +
+
+
+

Tables and Text

+

Now is the time for all good men to come to the aid of their country.

+

Styles: strong, emphasized, code.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Queue NameDescriptionLocationMake and ModelStatus
Printer1First PrinterNeverlandAcme ExplodoJetIdle
Printer2Second PrinterNeverlandAcme ExplodoJetProcessing
Printer3Third PrinterNeverlandAcme ExplodoJetPaused
Printer4Fourth PrinterNeverlandAcme ExplodoJetPaused - "Road Runner Jam"
+ +

Forms

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Name:
+ (may contain any printable characters except "/", "#", and space)
Media Size: + +
Connection: +
+
+
+
+
Driver: + +
Sharing: +
+ + +
+
+
+
+ + +