diff --git a/src/app/app.component.html b/src/app/app.component.html
index 44e53824..69475d67 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -1,4 +1,4 @@
diff --git a/src/app/components/adbutler/adbutler.component.html b/src/app/components/adbutler/adbutler.component.html
index 2885bcf5..2e383bec 100644
--- a/src/app/components/adbutler/adbutler.component.html
+++ b/src/app/components/adbutler/adbutler.component.html
@@ -1 +1,11 @@
-
+
diff --git a/src/app/components/adbutler/adbutler.component.scss b/src/app/components/adbutler/adbutler.component.scss
index a72c224a..6fc078ce 100644
--- a/src/app/components/adbutler/adbutler.component.scss
+++ b/src/app/components/adbutler/adbutler.component.scss
@@ -1,13 +1,34 @@
.ad {
- background-color: transparent;
- width: 400px;
+ position: fixed;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background-color: #a8ecff;
padding-top: 10px;
padding-bottom: 10px;
font-size: 12px;
+ font-weight: bold;
+}
+
+.adInnerContainer {
+ margin: auto;
+ text-align: center;
+}
+
+.adBody {
+ padding-right: 16px;
+}
+
+.lightTheme {
+ background-color: #ddf9ff;
+}
+
+.hidden {
+ visibility: hidden;
}
button {
- background-color: #0097a7;
+ background-color: #01d4ff;
margin-top: 2px;
border: none;
outline: none;
@@ -16,11 +37,11 @@ button {
font-weight: bold;
padding-right: 15px;
padding-left: 15px;
- border-radius: 4px;
+ border-radius: 6px;
}
a {
- color: #0097a7;
+ color: #122124;
}
button {
diff --git a/src/app/components/adbutler/adbutler.component.ts b/src/app/components/adbutler/adbutler.component.ts
index 00fc439f..77218968 100644
--- a/src/app/components/adbutler/adbutler.component.ts
+++ b/src/app/components/adbutler/adbutler.component.ts
@@ -1,47 +1,68 @@
-import { Component, OnInit, ElementRef, ViewChild, ViewEncapsulation, Input, Output, EventEmitter } from '@angular/core';
+import { Component, OnInit } from '@angular/core';
import { HttpClient } from '@angular/common/http';
+import { ThemeService } from '../../services/theme.service';
import { AdButlerResponse } from '../../models/adbutler';
-import { ToasterService } from '../../services/toaster.service';
+
+const adButlerResponseBodyRegex: RegExp = /(.*)<\/a>
(.*)
\s*