aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--embed/ephy-embed.c4
-rw-r--r--src/resources/epiphany.css29
2 files changed, 2 insertions, 31 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index f3ac543a4..d35477233 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -619,10 +619,11 @@ ephy_embed_constructed (GObject *object)
web_view = WEBKIT_WEB_VIEW (ephy_web_view_new ());
scrolled_window = GTK_WIDGET (priv->scrolled_window);
overlay = gtk_overlay_new ();
+ gtk_style_context_add_class (gtk_widget_get_style_context (overlay),
+ GTK_STYLE_CLASS_OSD);
gtk_widget_add_events (overlay,
GDK_ENTER_NOTIFY_MASK |
GDK_LEAVE_NOTIFY_MASK);
- gtk_widget_set_name (overlay, "ephy-overlay");
gtk_container_add (GTK_CONTAINER (overlay), scrolled_window);
/* statusbar is hidden by default */
@@ -634,7 +635,6 @@ ephy_embed_constructed (GObject *object)
gtk_overlay_add_overlay (GTK_OVERLAY (overlay), priv->floating_bar);
priv->progress = gtk_progress_bar_new ();
- gtk_widget_set_name (priv->progress, "ephy-progress-bar");
gtk_widget_set_halign (priv->progress, GTK_ALIGN_FILL);
gtk_widget_set_valign (priv->progress, GTK_ALIGN_START);
gtk_overlay_add_overlay (GTK_OVERLAY (overlay), priv->progress);
diff --git a/src/resources/epiphany.css b/src/resources/epiphany.css
index b3b9757e3..546eeb99b 100644
--- a/src/resources/epiphany.css
+++ b/src/resources/epiphany.css
@@ -18,32 +18,3 @@
padding-left: 0;
padding-right: 0;
}
-
-#ephy-progress-bar {
- -GtkProgressBar-xspacing: 0;
- -GtkProgressBar-yspacing: 3px;
- -GtkProgressBar-min-horizontal-bar-height: 3px;
- padding: 0;
-}
-
-.progressbar#ephy-progress-bar {
- border-style: none;
- background-color: @theme_selected_bg_color;
- background-image: none;
- border-radius: 0;
- -adwaita-progressbar-pattern: none;
-}
-
-GtkProgressBar#ephy-progress-bar.trough {
- padding: 0;
- border-image: none;
- border-style: none;
- border-width: 0;
- background-image: none;
- background-color: transparent;
- border-radius: 0;
-}
-
-#ephy-overlay {
- background-color: rgba(0,0,0,0);
-}