Skip to content

Commit 8af0102

Browse files
authored
Merge pull request #203 from readthedocs/davidfischer/domain-ad-client
Style showing the domain in the ad client
2 parents 2308527 + 56b2a4f commit 8af0102

File tree

4 files changed

+19
-4
lines changed

4 files changed

+19
-4
lines changed

dist/ethicalads.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ethicalads.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import verge from "verge";
2727

2828
import "./styles.scss";
2929

30-
const AD_CLIENT_VERSION = "1.15.0"; // Sent with the ad request
30+
const AD_CLIENT_VERSION = "1.16.0-prealpha"; // Sent with the ad request
3131

3232
// For local testing, set this
3333
// const AD_DECISION_URL = "http://ethicaladserver:5000/api/v1/decision/";

styles.scss

+15
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ $color-bg-dark-stickybox: $color-link;
8989
}
9090
}
9191

92+
.ea-domain {
93+
margin-top: 0.75em;
94+
font-size: 0.8em;
95+
text-align: center;
96+
color: lighten($color-link-callout, 20%);
97+
}
98+
9299
&.dark {
93100
.ea-content {
94101
background: $color-background-dark;
@@ -107,6 +114,10 @@ $color-bg-dark-stickybox: $color-link;
107114
$color-link-bold-dark
108115
);
109116
}
117+
118+
.ea-domain {
119+
color: darken($color-link-callout-dark, 20%);
120+
}
110121
}
111122

112123
&.adaptive {
@@ -130,6 +141,10 @@ $color-bg-dark-stickybox: $color-link;
130141
$color-link-bold-dark
131142
);
132143
}
144+
145+
.ea-domain {
146+
color: darken($color-link-callout-dark, 20%);
147+
}
133148
}
134149
}
135150
}

0 commit comments

Comments
 (0)