1. 18 Mar, 2015 5 commits
  2. 05 Feb, 2015 1 commit
    • Benjamin Otte's avatar
      css: Add -gtk-dpi CSS property hack · 89f635fe
      Benjamin Otte authored
      This property is necessary to ensure widgets automatically update after
      the text scale factor is changed desktop-wide.
      
      And if I'm already doing a property like this, I can make it
      overridable. So now you can override the dpi per-widget with CSS like
      GtkSwitch {
        -gtk-dpi: 48;
      }
      if you want to debug things.
      
      Long-term, we want to get rid of this property and insist on dpi being
      96 everywhere and people can change the font size to get larger fonts.
      89f635fe
  3. 27 Jan, 2015 2 commits
  4. 20 Jan, 2015 1 commit
    • Benjamin Otte's avatar
      css: Move icon properties to the end · 9ce8ce11
      Benjamin Otte authored
      The order in which properties are defined depends on the order in which
      they are computed. And that means that properties can only depend on
      other properties that are defined before them.
      
      The next patches will need this reordering.
      9ce8ce11
  5. 07 Jan, 2015 1 commit
  6. 08 Oct, 2014 1 commit
  7. 03 Oct, 2014 1 commit
  8. 28 Aug, 2014 1 commit
  9. 20 Aug, 2014 1 commit
  10. 14 May, 2014 3 commits
    • Benjamin Otte's avatar
      css: Add a -gtk-icon-style property · 109fcb98
      Benjamin Otte authored
      The values can be:
        "requested" - the style as requested
        "regular"   - use a regular full-color icon
        "symbolic"  - use a symbolic icon
      
      The property defaults to "requested", so no changes should be seen
      unless CSS overrides it.
      It is also inherited, so that using this CSS
        .toolbar { -gtk-icon-style: symbolic; }
      is enough to force the whole toolbar to use symbolic icons.
      109fcb98
    • Benjamin Otte's avatar
      css: Add -gtk-icon-transform property · f56ba837
      Benjamin Otte authored
      This property allows transforming icons and is mainly intended to be
      used for spinner animations.
      f56ba837
    • Benjamin Otte's avatar
      css: Add -gtk-icon-source property · 226e1cd2
      Benjamin Otte authored
      This is to be used for rendering icon content via CSS, such as spinners
      or checkboxes.
      226e1cd2
  11. 01 May, 2014 1 commit
  12. 20 Aug, 2013 1 commit
  13. 07 Feb, 2013 1 commit
  14. 10 Dec, 2012 1 commit
  15. 01 Dec, 2012 2 commits
    • Benjamin Otte's avatar
      css: Fix order of enum · 14604876
      Benjamin Otte authored
      We switched around the order in gtkcssenumvalue.h, we need to switch
      this order, too. Otherwise the parsing code will go bonkers.
      14604876
    • Benjamin Otte's avatar
      css: Add more features to font-size code · 0d9d5761
      Benjamin Otte authored
      We now support the keywords (like xx-small, medium, larger, smaller...)
      and I've changed the default value to be "medium".
      
      This required some shuffling of the "get default font size" code. But
      all is well now.
      0d9d5761
  16. 14 Nov, 2012 1 commit
  17. 01 Oct, 2012 1 commit
  18. 28 Sep, 2012 2 commits
  19. 17 Sep, 2012 1 commit
  20. 28 Aug, 2012 3 commits
    • Benjamin Otte's avatar
      css: Remove unused macro · fe026b3b
      Benjamin Otte authored
      GTK_CSS_DEPENDS_ON_EVERYTHING was used as a placeholder when
      implementing dependencies. Now that dependencies are completely
      implemented, it's no longer necessary.
      fe026b3b
    • Benjamin Otte's avatar
      cssvalue: First step of proper dependency tracking · 01252624
      Benjamin Otte authored
      Instead of using the EVERYTHING aka FIXME value for tdependencies,
      actually compute the dependencies in a bunch of simple cases.
      01252624
    • Benjamin Otte's avatar
      css: Introduce dependencies for value computations · 0e2f35ed
      Benjamin Otte authored
      When values are computed, they might depend on various other values and
      we need to track this so we can update the values when those other
      values change. This is the first step in making that happen.
      
      This patch does not do any dependency tracking at all, instead it uses
      GTK_CSS_DEPENDS_ON_EVERYTHING as a sort of FIXME.
      0e2f35ed
  21. 17 Apr, 2012 9 commits