summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/fixed.css
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-04-02 20:49:35 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2019-04-02 20:52:49 +0100
commitc70c677b5a4395ff0c5983da0a28ee60b1da9aa6 (patch)
tree24ae4c6fafb857622d66c21e6fd368b3d806b17b /demos/gtk-demo/fixed.css
parent7a08177a3d69389f3c17cbd2c9fb6aa0f9dccf0a (diff)
downloadgtk+-c70c677b5a4395ff0c5983da0a28ee60b1da9aa6.tar.gz
Add GtkFixed demo
This demo has everything: - a GtkFixed inside another GtkFixed - a cube made out of GtkFrame widgets - an example of 3D transformations And what's there, in the window once I launch it? The GTK logo made of widgets.
Diffstat (limited to 'demos/gtk-demo/fixed.css')
-rw-r--r--demos/gtk-demo/fixed.css29
1 files changed, 29 insertions, 0 deletions
diff --git a/demos/gtk-demo/fixed.css b/demos/gtk-demo/fixed.css
new file mode 100644
index 0000000000..0e62285e19
--- /dev/null
+++ b/demos/gtk-demo/fixed.css
@@ -0,0 +1,29 @@
+frame.front {
+ border: 2px solid white;
+ background-color: rgba(228, 0, 0, 0.8);
+}
+
+frame.back {
+ border: 2px solid white;
+ background-color: rgba(228, 0, 0, 0.8);
+}
+
+frame.right {
+ border: 2px solid white;
+ background-color: rgba(127, 231, 25, 0.8);
+}
+
+frame.left {
+ border: 2px solid white;
+ background-color: rgba(127, 231, 25, 0.8);
+}
+
+frame.top {
+ border: 2px solid white;
+ background-color: rgba(114, 159, 207, 0.8);
+}
+
+frame.bottom {
+ border: 2px solid white;
+ background-color: rgba(114, 159, 207, 0.8);
+}