[gtk+] gtk3-demo: Fix some css warnings
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk3-demo: Fix some css warnings
- Date: Mon, 30 May 2016 20:20:07 +0000 (UTC)
commit d36f866b27e148bfdcd88fcd27c3a2f03a5157a5
Author: Matthias Clasen <mclasen redhat com>
Date: Mon May 30 16:07:52 2016 -0400
gtk3-demo: Fix some css warnings
Update the font: syntax to follow css.
demos/gtk-demo/css_accordion.css | 2 +-
demos/gtk-demo/cssview.css | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/demos/gtk-demo/css_accordion.css b/demos/gtk-demo/css_accordion.css
index ef28451..ce3346d 100644
--- a/demos/gtk-demo/css_accordion.css
+++ b/demos/gtk-demo/css_accordion.css
@@ -4,7 +4,7 @@
transition-property: color, background-color, border-color, background-image, padding, border-width;
transition-duration: 1s;
- font: Cantarell 20px;
+ font: 20px Cantarell;
}
window {
diff --git a/demos/gtk-demo/cssview.css b/demos/gtk-demo/cssview.css
index a3675c9..c4fe5ee 100644
--- a/demos/gtk-demo/cssview.css
+++ b/demos/gtk-demo/cssview.css
@@ -1,7 +1,7 @@
/* Make the text editor has a nice style */
.view {
color: #2e3436;
- font: Monospace;
+ font-family: Monospace;
background-color: alpha(white, 0.30);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]