Browse Source

Combined css files in one.

The nature of CSS selectors makes it possible to combine the
sheets by using multiple selectors for the ruleset.

This changeset has been tested on:

  - Ubuntu xenial, which uses GTK 3.18
  - archlinux (current), which uses GTK 3.20
sisyphus
Samuel Dionne-Riel 9 years ago
parent
commit
24faa81317
  1. 4
      src/Makefile.am
  2. 3
      src/lightdm-webkit2-greeter-application-3.20.css
  3. 1
      src/lightdm-webkit2-greeter-application.css

4
src/Makefile.am

@ -1,11 +1,7 @@
webextension_LTLIBRARIES = liblightdm-webkit2-greeter-ext.la webextension_LTLIBRARIES = liblightdm-webkit2-greeter-ext.la
webextensiondir = $(libdir)/lightdm-webkit2-greeter webextensiondir = $(libdir)/lightdm-webkit2-greeter
if HAVE_GTK320
ldmcssfile = lightdm-webkit2-greeter-application-3.20.css
else
ldmcssfile = lightdm-webkit2-greeter-application.css ldmcssfile = lightdm-webkit2-greeter-application.css
endif
lightdm-webkit2-greeter-css-application.h: $(srcdir)/$(ldmcssfile) Makefile lightdm-webkit2-greeter-css-application.h: $(srcdir)/$(ldmcssfile) Makefile
$(AM_V_GEN) exo-csource --static --name=lightdm_webkit2_greeter_css_application $< >$@ $(AM_V_GEN) exo-csource --static --name=lightdm_webkit2_greeter_css_application $< >$@

3
src/lightdm-webkit2-greeter-application-3.20.css

@ -1,3 +0,0 @@
window {
background: #000000;
}

1
src/lightdm-webkit2-greeter-application.css

@ -1,3 +1,4 @@
window,
GtkWindow { GtkWindow {
background: #000000; background: #000000;
} }

Loading…
Cancel
Save