summaryrefslogtreecommitdiffstats
path: root/perl-install/share
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-09-06 10:40:59 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-24 21:28:37 +0100
commit1d4957dddcbf98c3a985186b8b61be2b3f004b3c (patch)
treed3b6164b227eca09dd852a58ff2c8eb7264d55fe /perl-install/share
parent807df2a2b558461a2890f9bec0050f0bd974c92e (diff)
downloaddrakx-1d4957dddcbf98c3a985186b8b61be2b3f004b3c.tar
drakx-1d4957dddcbf98c3a985186b8b61be2b3f004b3c.tar.gz
drakx-1d4957dddcbf98c3a985186b8b61be2b3f004b3c.tar.bz2
drakx-1d4957dddcbf98c3a985186b8b61be2b3f004b3c.tar.xz
drakx-1d4957dddcbf98c3a985186b8b61be2b3f004b3c.zip
switch from old RC to CSS for diskdrake
colors were converted with bc: obase=16 *255
Diffstat (limited to 'perl-install/share')
-rw-r--r--perl-install/share/diskdrake.css63
-rw-r--r--perl-install/share/diskdrake.rc65
2 files changed, 63 insertions, 65 deletions
diff --git a/perl-install/share/diskdrake.css b/perl-install/share/diskdrake.css
new file mode 100644
index 000000000..02e040157
--- /dev/null
+++ b/perl-install/share/diskdrake.css
@@ -0,0 +1,63 @@
+/* FIXME: to be inherited by all other styles */
+#PART* {
+ /* FIXME: replace by appropriate font:
+ fontset = "-*-*-medium-r-normal-*-8-*-*-*-*-*-iso8859-1,*-r-*"
+ => font: "8" */
+ padding: 1;
+}
+
+#PART_ext2, #PART_ext3, #PART_ext4 {
+ background-color: #ff0000;
+}
+#PART_ext2:hover:hover, #PART_ext3:hover, #PART_ext4:hover {
+ background-color: #e60000;
+}
+#PART_ext2:active:active, #PART_ext3:active, #PART_ext4:active {
+ background-color: #e60000;
+}
+
+#PART_xfs {
+ background-color: #ff9900;
+}
+#PART_xfs:hover {
+ background-color: #e66600;
+}
+#PART_xfs:active {
+ background-color: #e69900;
+}
+
+#PART_swap {
+ background-color: #66cc00;
+ color: #000000;
+}
+#PART_swap:active, #PART_swap:hover {
+ background-color: #66b700;
+}
+
+#PART_vfat, #PART_ntfs, #PART_ntfs-3g {
+ background-color: #00b7ff;
+}
+#PART_vfat:hover, #PART_ntfs:hover, #PART_ntfs-3g:hover {
+ background-color: #0099e6;
+}
+#PART_vfat:active, #PART_ntfs:active, #PART_ntfs-3g:active {
+ background-color: #0099e6;
+}
+
+#PART_empty {
+ background-color: #ffffff;
+ color: #000000;
+}
+#PART_empty:hover, #PART_empty:active {
+ background-color: #e6e6e6;
+}
+
+#PART_other {
+ background-color: #929eab;
+ color: #000000;
+}
+
+#PART_new {
+ background-color: #1f429c;
+ color: #ffffff;
+}
diff --git a/perl-install/share/diskdrake.rc b/perl-install/share/diskdrake.rc
deleted file mode 100644
index c519fecf0..000000000
--- a/perl-install/share/diskdrake.rc
+++ /dev/null
@@ -1,65 +0,0 @@
-gtk-button-images=1
-style "font"
-{
- fontset = "-*-*-medium-r-normal-*-8-*-*-*-*-*-iso8859-1,*-r-*"
- xthickness = 1
- ythickness = 1
-}
-
-style "red" = "font"
-{
- bg[NORMAL] = { 1.0, 0, 0 }
- bg[ACTIVE] = { 0.9, 0, 0 }
- bg[PRELIGHT] = { 0.9, 0, 0 }
-}
-style "orange" = "font"
-{
- bg[NORMAL] = { 1.0, 0.6, 0 }
- bg[ACTIVE] = { 0.9, 0.6, 0 }
- bg[PRELIGHT] = { 0.9, 0.4, 0 }
-}
-style "green" = "font"
-{
- bg[NORMAL] = { 0.4, 0.8, 0 }
- bg[ACTIVE] = { 0.4, 0.7, 0 }
- bg[PRELIGHT] = { 0.4, 0.7, 0 }
- fg[NORMAL] = { 0, 0, 0 }
-}
-style "blue" = "font"
-{
- bg[NORMAL] = { 0, 0.7, 1.0 }
- bg[ACTIVE] = { 0, 0.6, 0.9 }
- bg[PRELIGHT] = { 0, 0.6, 0.9 }
-}
-style "white" = "font"
-{
- bg[NORMAL] = { 1.0, 1.0, 1.0 }
- bg[ACTIVE] = { 0.9, 0.9, 0.9 }
- bg[PRELIGHT] = { 0.9, 0.9, 0.9 }
- fg[NORMAL] = { 0, 0, 0 }
-}
-style "gray" = "font"
-{
- bg[NORMAL] = { 0.57, 0.62, 0.67 }
- bg[ACTIVE] = { 0.57, 0.62, 0.57 }
- bg[PRELIGHT] = { 0.57, 0.62, 0.57 }
- fg[NORMAL] = { 0, 0, 0 }
-}
-style "darkblue" = "font"
-{
- bg[NORMAL] = { 0.12, 0.26, 0.61 }
- bg[ACTIVE] = { 0.12, 0.26, 0.61 }
- bg[PRELIGHT] = { 0.12, 0.26, 0.61 }
- fg[NORMAL] = { 1, 1, 1 }
-}
-
-widget "*PART_ext2" style "red"
-widget "*PART_ext3" style "red"
-widget "*PART_ext4" style "red"
-widget "*PART_xfs" style "orange"
-widget "*PART_swap" style "green"
-widget "*PART_vfat" style "blue"
-widget "*PART_ntfs*" style "blue"
-widget "*PART_empty" style "white"
-widget "*PART_other" style "gray"
-widget "*PART_new" style "darkblue"