summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-05-08 17:58:00 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-05-13 16:14:43 -0400
commitdb15563b8960f47bfb417e3a0ed918e344bae030 (patch)
treee14692837686eea1750d737edf93d72c9428a6b8
parentc3526921d76dab7d27d7c06d8e902359be180ae0 (diff)
add polkit e theme
-rw-r--r--data/themes/Makefile.am1
-rw-r--r--data/themes/default.edc2
-rw-r--r--data/themes/edc/polkit.edc103
3 files changed, 106 insertions, 0 deletions
diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am
index 1571c6edd..ba3793052 100644
--- a/data/themes/Makefile.am
+++ b/data/themes/Makefile.am
@@ -70,6 +70,7 @@ edc/packagekit.edc \
70edc/pager.edc \ 70edc/pager.edc \
71edc/pager16.edc \ 71edc/pager16.edc \
72edc/pointer.edc \ 72edc/pointer.edc \
73edc/polkit.edc \
73edc/preview.edc \ 74edc/preview.edc \
74edc/radio.edc \ 75edc/radio.edc \
75edc/randr.edc \ 76edc/randr.edc \
diff --git a/data/themes/default.edc b/data/themes/default.edc
index 953de8b40..449f92ef1 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -147,4 +147,6 @@ collections {
147// port unchanged stuff so this can work as a replacement 147// port unchanged stuff so this can work as a replacement
148#include "edc/O/efm_icons.edc" 148#include "edc/O/efm_icons.edc"
149#include "edc/O/icons.edc" 149#include "edc/O/icons.edc"
150
151#include "edc/polkit.edc"
150} 152}
diff --git a/data/themes/edc/polkit.edc b/data/themes/edc/polkit.edc
new file mode 100644
index 000000000..92b2bb0ab
--- /dev/null
+++ b/data/themes/edc/polkit.edc
@@ -0,0 +1,103 @@
1group { "elm/layout/polkit-auth/base"; nomouse; program_source: "polkit";
2 images.image: "bevel_dark_out.png" COMP;
3 parts {
4 rect { "fader";
5 desc { hid;
6 color: 0 0 0 0;
7 }
8 desc { "visible"; vis;
9 color: 0 0 0 160;
10 link.base: "load" "";
11 link.transition: LINEAR 0.2;
12 }
13 }
14 rect { "base";
15 desc {
16 rel1.relative: 0.3 0.3;
17 rel2.relative: 0.7 0.7;
18 color_class: "dialog_base";
19 color: 64 64 64 255;
20 }
21 }
22 image { "bevel";
23 desc {
24 rel1.to: "base";
25 rel2.to: "base";
26 image.normal: "bevel_dark_out.png";
27 image.border: 1 1 1 1;
28 image.middle: 0;
29 fill.smooth: 0;
30 }
31 }
32 text { "e.text.info";
33 effect: SHADOW BOTTOM;
34 scale: 1;
35 desc {
36 align: 0.0 0;
37 fixed: 0 1;
38 rel1.to: "base";
39 //rel1.offset: -30 -30;
40 rel2.to_x: "base";
41 //rel2.offset: 20 10;
42 rel2.relative: 1 0;
43 color: FN_COL_DEFAULT;
44 text { text: "Password required";
45 font: FNBD; size: 11;
46 min: 1 1;
47 ellipsis: -1;
48 /*
49 filter: "fat = buffer(\"alpha\") \
50 grow ({ 8, dst = fat }) \
51 blur ({ 12, src = fat, color = \"black\" }) \
52 blur ({ 4, color = \"white\" }) \
53 blend ()";
54 */
55 }
56 }
57 }
58 text { "user";
59 effect: SHADOW BOTTOM;
60 scale: 1;
61 desc {
62 align: 0.5 0;
63 fixed: 0 1;
64 rel1.to_x: "base";
65 rel1.to_y: "e.text.info";
66 rel1.relative: 0 1;
67 rel1.offset: 0 2;
68 rel2.to: "base";
69 rel2.relative: 1 0;
70 color: FN_COL_DISABLE;
71 text { text: "Select Authentication ID";
72 font: FN; size: 10;
73 min: 1 1;
74 ellipsis: -1;
75 }
76 }
77 }
78 swallow { "e.swallow.users"; mouse;
79 scale: 1;
80 desc {
81 align: 0.5 0;
82 rel1.to_x: "base";
83 rel1.to_y: "user";
84 rel1.offset: 0 2;
85 rel1.relative: 0 1;
86 rel2.to: "base";
87 rel2.relative: 1 0;
88 }
89 }
90 swallow { "e.swallow.buttons"; mouse;
91 scale: 1;
92 desc {
93 align: 0.5 0;
94 rel1.to_x: "base";
95 rel1.to_y: "e.swallow.users";
96 rel1.offset: 0 2;
97 rel1.relative: 0 1;
98 rel2.to: "base";
99 }
100 }
101
102 }
103}