Skip to content

Commit 2e9eaed

Browse files
apply styling to prebid-secure-signals
1 parent f724d53 commit 2e9eaed

File tree

10 files changed

+456
-255
lines changed

10 files changed

+456
-255
lines changed

web-integrations/javascript-sdk/client-side/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ RUN apk add --no-cache gettext
66
# Copy static files from client-side directory
77
COPY web-integrations/javascript-sdk/client-side/html /usr/share/nginx/html/
88

9+
# Copy shared styles folder
10+
COPY web-integrations/styles /usr/share/nginx/html/styles/
11+
912
# Copy config and entrypoint
1013
COPY web-integrations/javascript-sdk/client-side/default.conf /etc/nginx/conf.d/default.conf
1114
COPY web-integrations/javascript-sdk/client-side/entrypoint.sh /entrypoint.sh

web-integrations/javascript-sdk/client-side/html/index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ <h1>Client-Side ${IDENTITY_NAME} Integration Example using JavaScript SDK</h1>
9090
>Client-Side Integration Guide for JavaScript
9191
</a>
9292
to implement ${IDENTITY_NAME} integration and generate ${IDENTITY_NAME} tokens.
93-
<strong>Note:</strong> This is a <em>test-only</em> integration environment—not for production
94-
use. It does not perform real user authentication or generate production-level tokens. Do not
95-
use real user data on this page.
9693
</p>
9794
<h2>${IDENTITY_NAME} Integration Status</h2>
9895
<table id="uid2_state">

web-integrations/javascript-sdk/client-side/html/stylesheets/app.css

Lines changed: 6 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,5 @@
1-
/* Two-Column Layout with Sidebar - Modern Design */
2-
:root {
3-
--primary-orange: #FF6B35;
4-
--primary-dark: #2D3748;
5-
--accent-teal: #0D9488;
6-
--accent-yellow: #FBBF24;
7-
--text-dark: #1A202C;
8-
--text-gray: #718096;
9-
--border-color: #E2E8F0;
10-
--bg-light: #F7FAFC;
11-
--bg-white: #FFFFFF;
12-
--sidebar-bg: #FFF7ED;
13-
--shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
14-
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
15-
16-
/* Button Colors */
17-
--button-navy: rgba(2, 10, 64, 1);
18-
--button-navy-hover: rgba(2, 10, 64, 0.9);
19-
20-
/* Link Colors */
21-
--link-color: #0459fd;
22-
--link-hover: #0347cc;
23-
24-
/* Tooltip Colors */
25-
--tooltip-bg: #1F2937;
26-
--tooltip-trigger: #3B82F6;
27-
--tooltip-trigger-hover: #2563EB;
28-
}
1+
/* Import centralized color variables */
2+
@import url('../styles/colors.css');
293

304
* {
315
box-sizing: border-box;
@@ -143,14 +117,13 @@ p {
143117

144118
a {
145119
color: var(--link-color);
146-
text-decoration: none;
147-
font-weight: 600;
148-
border-bottom: 2px solid transparent;
149-
transition: border-color 0.2s ease;
120+
text-decoration: underline;
121+
font-weight: 500;
122+
transition: opacity 0.2s ease;
150123
}
151124

152125
a:hover {
153-
border-bottom-color: var(--link-color);
126+
opacity: 0.8;
154127
}
155128

156129
/* State Table */

web-integrations/prebid-secure-signals/client-side/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ COPY web-integrations/prebid-secure-signals/client-side/ads.css /usr/share/nginx
99
COPY web-integrations/prebid-secure-signals/client-side/ads.js /usr/share/nginx/html/
1010
COPY web-integrations/prebid-secure-signals/prebid.js /usr/share/nginx/html/
1111

12+
# Copy shared styles folder
13+
COPY web-integrations/styles /usr/share/nginx/html/styles/
14+
1215
# Copy config and HTML template
1316
COPY web-integrations/prebid-secure-signals/client-side/default.conf /etc/nginx/conf.d/default.conf
1417
COPY web-integrations/prebid-secure-signals/client-side/index.html /usr/share/nginx/html/index.template.html

web-integrations/prebid-secure-signals/client-side/ads.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
/* this element's width controls the effective height */
44
/* of the video container's padding-bottom */
55
max-width: 640px;
6-
margin: 10px 0;
6+
margin: 2rem 0;
77
}
88

99
#video-container {
1010
position: relative;
1111
/* forces the container to match a 16x9 aspect ratio */
1212
/* replace with 75% for a 4:3 aspect ratio, if needed */
1313
padding-bottom: 56.25%;
14+
background: #000;
1415
}
1516

1617
#video-element {

0 commit comments

Comments
 (0)