aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/elementary/data/themes/widgets/border.edc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libraries/elementary/data/themes/widgets/border.edc917
1 files changed, 917 insertions, 0 deletions
diff --git a/libraries/elementary/data/themes/widgets/border.edc b/libraries/elementary/data/themes/widgets/border.edc
new file mode 100644
index 0000000..7318e26
--- /dev/null
+++ b/libraries/elementary/data/themes/widgets/border.edc
@@ -0,0 +1,917 @@
1color_classes {
2 color_class {
3 name: "border_top";
4 color: 255 255 255 255;
5 }
6 color_class {
7 name: "border_top_hilight";
8 color: 255 255 255 255;
9 }
10 color_class {
11 name: "border_bottom";
12 color: 255 255 255 255;
13 }
14 color_class {
15 name: "border_title";
16 color: 0 0 0 255;
17 }
18 color_class {
19 name: "border_title_active";
20 color: 224 224 224 255;
21 color3: 0 0 0 64;
22 }
23}
24
25group {
26 name: "elm/border/base/default";
27 data.item: "focus_highlight" "off";
28 images {
29 image: "bd_top.png" COMP;
30 image: "bd_top_hilight.png" COMP;
31 image: "bd_bottom.png" COMP;
32 image: "bd_title_bg.png" COMP;
33 image: "bd_title_over.png" COMP;
34 image: "bd_resize_b.png" COMP;
35 image: "busy-1.png" COMP;
36 image: "busy-2.png" COMP;
37 image: "busy-3.png" COMP;
38 image: "busy-4.png" COMP;
39 image: "busy-5.png" COMP;
40 image: "busy-6.png" COMP;
41 image: "busy-7.png" COMP;
42 image: "busy-8.png" COMP;
43 image: "busy-9.png" COMP;
44 image: "exclam.png" COMP;
45 image: "bd_button_close_shadow.png" COMP;
46 image: "bd_button_close_focused.png" COMP;
47 image: "bd_button_close_unfocused.png" COMP;
48 image: "bd_button_max_shadow.png" COMP;
49 image: "bd_button_max_focused.png" COMP;
50 image: "bd_button_max_unfocused.png" COMP;
51 image: "bd_button_min_shadow.png" COMP;
52 image: "bd_button_min_focused.png" COMP;
53 image: "bd_button_min_unfocused.png" COMP;
54 }
55 parts {
56 part {
57 name: "top";
58 type: IMAGE;
59 mouse_events: 0;
60 description {
61 state: "default" 0.0;
62 rel2.to_y: "title_base";
63 color_class: "border_top";
64 image {
65 normal: "bd_top.png";
66 border: 2 2 2 2;
67 }
68 }
69 }
70 part {
71 name: "bottom";
72 type: IMAGE;
73 mouse_events: 0;
74 description {
75 state: "default" 0.0;
76 rel1 {
77 relative: 0.0 1.0;
78 offset: 0 -4;
79 }
80 color_class: "border_bottom";
81 image {
82 normal: "bd_bottom.png";
83 border: 2 2 0 0;
84 }
85 }
86 description {
87 state: "shaded" 0.0;
88 inherit: "default" 0.0;
89 visible: 0;
90 }
91 description {
92 state: "max" 0.0;
93 inherit: "default" 0.0;
94 visible: 0;
95 }
96 }
97 part {
98 name: "icon_area";
99 type: RECT;
100 description {
101 state: "default" 0.0;
102 visible: 0;
103 align: 0.0 0.5;
104 aspect: 1.0 1.0;
105 aspect_preference: VERTICAL;
106 rel1.offset: 2 2;
107 rel2 {
108 relative: 0.0 1.0;
109 offset: 2 -3;
110 to_y: "title_base";
111 }
112 }
113 description {
114 state: "active" 0.0;
115 inherit: "default" 0.0;
116 rel1.offset: 2 3;
117 rel2.offset: 2 -2;
118 }
119 }
120 part {
121 name: "icon_area2";
122 type: RECT;
123 description {
124 state: "default" 0.0;
125 visible: 0;
126 rel1.to: "icon_area";
127 rel2.to: "icon_area";
128 }
129 description {
130 state: "uw0" 0.0;
131 inherit: "default" 0.0;
132 rel1.offset: -3 -2;
133 rel2.offset: -4 -3;
134 }
135 description {
136 state: "uw1" 0.0;
137 inherit: "default" 0.0;
138 rel1.offset: 5 -2;
139 rel2.offset: 4 -3;
140 }
141 description {
142 state: "uw2" 0.0;
143 inherit: "default" 0.0;
144 rel1.offset: -1 4;
145 rel2.offset: -2 3;
146 }
147 description {
148 state: "uw3" 0.0;
149 inherit: "default" 0.0;
150 rel1.offset: -2 -1;
151 rel2.offset: -3 -2;
152 }
153 description {
154 state: "uw4" 0.0;
155 inherit: "default" 0.0;
156 rel1.offset: -4 1;
157 rel2.offset: -5 0;
158 }
159 }
160 part {
161 name: "elm.swallow.icon";
162 type: SWALLOW;
163 description {
164 state: "default" 0.0;
165 aspect: 1.0 1.0;
166 aspect_preference: BOTH;
167 rel1.to: "icon_area2";
168 rel2.to: "icon_area2";
169 }
170 description {
171 state: "shrunk" 0.0;
172 inherit: "default" 0.0;
173 rel1.relative: 0.3 0.3;
174 rel2.relative: 0.7 0.7;
175 }
176 }
177 part {
178 name: "elm.text.title";
179 type: TEXT;
180 mouse_events: 0;
181 scale: 1;
182 description {
183 state: "default" 0.0;
184 visible: 1;
185 align: 0.0 0.0;
186 rel1 {
187 relative: 1.0 0.0;
188 offset: 9 2;
189 to_x: "icon_area";
190 }
191 rel2 {
192 relative: 1.0 0.0;
193 offset: -8 2;
194 to_x: "title_base";
195 }
196 color_class: "border_title";
197 text {
198 font: "Sans:style=Bold";
199 size: 10;
200 min: 0 1;
201 align: 0.0 0.0;
202 text_class: "title_bar";
203 }
204 }
205 description {
206 state: "focused" 0.0;
207 inherit: "default" 0.0;
208 visible: 0;
209 color: 0 0 0 0;
210 }
211 }
212 part {
213 name: "bt_close";
214 type: IMAGE;
215 mouse_events: 0;
216 description {
217 state: "default" 0.0;
218 align: 1.0 0.5;
219 min: 22 22;
220 max: 22 22;
221 aspect: 1.0 1.0;
222 aspect_preference: VERTICAL;
223 rel1 {
224 relative: 1.0 0.0;
225 offset: -2 1;
226 to: "top";
227 }
228 rel2 {
229 offset: -2 -2;
230 to: "top";
231 }
232 image.normal: "bd_button_close_shadow.png";
233 }
234 }
235 part {
236 name: "bt_max";
237 type: IMAGE;
238 mouse_events: 0;
239 description {
240 state: "default" 0.0;
241 align: 1.0 0.5;
242 min: 22 22;
243 max: 22 22;
244 aspect: 1.0 1.0;
245 aspect_preference: VERTICAL;
246 rel1 {
247 offset: -2 1;
248 to_x: "bt_close";
249 to_y: "top";
250 }
251 rel2 {
252 relative: 0.0 1.0;
253 offset: -2 -2;
254 to_x: "bt_close";
255 to_y: "top";
256 }
257 image.normal: "bd_button_max_shadow.png";
258 }
259 }
260 part {
261 name: "bt_min";
262 type: IMAGE;
263 mouse_events: 0;
264 description {
265 state: "default" 0.0;
266 align: 1.0 0.5;
267 min: 22 22;
268 max: 22 22;
269 aspect: 1.0 1.0;
270 aspect_preference: VERTICAL;
271 rel1 {
272 offset: -2 1;
273 to_x: "bt_max";
274 to_y: "top";
275 }
276 rel2 {
277 relative: 0.0 1.0;
278 offset: -2 -2;
279 to_x: "bt_max";
280 to_y: "top";
281 }
282 image.normal: "bd_button_min_shadow.png";
283 }
284 }
285 part {
286 name: "top_hilight";
287 type: IMAGE;
288 mouse_events: 0;
289 description {
290 state: "default" 0.0;
291 rel1.to: "top";
292 rel2 {
293 relative: 1.0 0.5;
294 offset: -1 0;
295 to: "top";
296 }
297 color_class: "border_top_hilight";
298 image.normal: "bd_top_hilight.png";
299 fill.smooth: 0;
300 }
301 }
302 part {
303 name: "buttons_unfoc";
304 type: RECT;
305 description {
306 state: "default" 0.0;
307 visible: 1;
308 color: 255 255 255 255;
309 }
310 description {
311 state: "focused" 0.0;
312 inherit: "default" 0.0;
313 visible: 0;
314 color: 255 255 255 0;
315 }
316 }
317 part {
318 name: "bt_close_unfoc";
319 type: IMAGE;
320 mouse_events: 0;
321 clip_to: "buttons_unfoc";
322 description {
323 state: "default" 0.0;
324 rel1.to: "bt_close";
325 rel2.to: "bt_close";
326 image.normal: "bd_button_close_unfocused.png";
327 }
328 description {
329 state: "active" 0.0;
330 inherit: "default" 0.0;
331 rel1.offset: 0 1;
332 rel2.offset: -1 0;
333 }
334 }
335 part {
336 name: "bt_max_unfoc";
337 type: IMAGE;
338 mouse_events: 0;
339 clip_to: "buttons_unfoc";
340 description {
341 state: "default" 0.0;
342 rel1.to: "bt_max";
343 rel2.to: "bt_max";
344 image.normal: "bd_button_max_unfocused.png";
345 }
346 description {
347 state: "active" 0.0;
348 inherit: "default" 0.0;
349 rel1.offset: 0 1;
350 rel2.offset: -1 0;
351 }
352 }
353 part {
354 name: "bt_min_unfoc";
355 type: IMAGE;
356 mouse_events: 0;
357 clip_to: "buttons_unfoc";
358 description {
359 state: "default" 0.0;
360 rel1.to: "bt_min";
361 rel2.to: "bt_min";
362 image.normal: "bd_button_min_unfocused.png";
363 }
364 description {
365 state: "active" 0.0;
366 inherit: "default" 0.0;
367 rel1.offset: 0 1;
368 rel2.offset: -1 0;
369 }
370 }
371 part {
372 name: "buttons_foc";
373 type: RECT;
374 description {
375 state: "default" 0.0;
376 visible: 0;
377 color: 255 255 255 0;
378 }
379 description {
380 state: "focused" 0.0;
381 inherit: "default" 0.0;
382 visible: 1;
383 color: 255 255 255 255;
384 }
385 }
386 part {
387 name: "bt_close_foc";
388 type: IMAGE;
389 mouse_events: 0;
390 clip_to: "buttons_foc";
391 description {
392 state: "default" 0.0;
393 rel1.to: "bt_close";
394 rel2.to: "bt_close";
395 image.normal: "bd_button_close_focused.png";
396 }
397 description {
398 state: "active" 0.0;
399 inherit: "default" 0.0;
400 rel1.offset: 0 1;
401 rel2.offset: -1 0;
402 }
403 }
404 part {
405 name: "bt_max_foc";
406 type: IMAGE;
407 mouse_events: 0;
408 clip_to: "buttons_foc";
409 description {
410 state: "default" 0.0;
411 rel1.to: "bt_max";
412 rel2.to: "bt_max";
413 image.normal: "bd_button_max_focused.png";
414 }
415 description {
416 state: "active" 0.0;
417 inherit: "default" 0.0;
418 rel1.offset: 0 1;
419 rel2.offset: -1 0;
420 }
421 }
422 part {
423 name: "bt_min_foc";
424 type: IMAGE;
425 mouse_events: 0;
426 clip_to: "buttons_foc";
427 description {
428 state: "default" 0.0;
429 rel1.to: "bt_min";
430 rel2.to: "bt_min";
431 image.normal: "bd_button_min_focused.png";
432 }
433 description {
434 state: "active" 0.0;
435 inherit: "default" 0.0;
436 rel1.offset: 0 1;
437 rel2.offset: -1 0;
438 }
439 }
440 part {
441 name: "title_base";
442 type: RECT;
443 mouse_events: 0;
444 description {
445 state: "default" 0.0;
446 visible: 0;
447 rel1 {
448 relative: 1.0 0.0;
449 to_x: "icon_area";
450 }
451 rel2 {
452 relative: 0.0 1.0;
453 offset: -3 4;
454 to_y: "elm.text.title";
455 to_x: "bt_min";
456 }
457 }
458 }
459 part {
460 name: "title_back";
461 type: IMAGE;
462 mouse_events: 0;
463 description {
464 state: "default" 0.0;
465 visible: 0;
466 rel1.to: "title_base";
467 rel2 {
468 relative: 1.0 0.0;
469 to: "title_base";
470 }
471 image {
472 normal: "bd_title_bg.png";
473 border: 7 7 2 7;
474 }
475 fill.smooth: 0;
476 }
477 description {
478 state: "focused" 0.0;
479 inherit: "default" 0.0;
480 visible: 1;
481 rel2 {
482 relative: 1.0 1.0;
483 to: "title_base";
484 }
485 }
486 }
487 part {
488 name: "title2";
489 type: TEXT;
490 mouse_events: 0;
491 scale: 1;
492 effect: SOFT_SHADOW;
493 description {
494 state: "default" 0.0;
495 visible: 0;
496 align: 0.0 1.0;
497 rel1 {
498 relative: 0.0 1.0;
499 offset: -1 0;
500 to_x: "elm.text.title";
501 to_y: "title_back";
502 }
503 rel2 {
504 offset: 0 0;
505 to_x: "elm.text.title";
506 to_y: "title_back";
507 }
508 color_class: "border_title_active";
509 text {
510 text_source: "elm.text.title";
511 font: "Sans:style=Bold";
512 size: 10;
513 align: 0.0 0.0;
514 min: 0 1;
515 text_class: "title_bar";
516 }
517 }
518 description {
519 state: "focused" 0.0;
520 inherit: "default" 0.0;
521 visible: 1;
522 }
523 }
524 part {
525 name: "title_over";
526 type: IMAGE;
527 mouse_events: 0;
528 description {
529 state: "default" 0.0;
530 visible: 0;
531 rel1.to: "title_back";
532 rel2.to: "title_back";
533 image {
534 normal: "bd_title_over.png";
535 border: 7 7 2 7;
536 }
537 fill.smooth: 0;
538 }
539 description {
540 state: "focused" 0.0;
541 inherit: "default" 0.0;
542 visible: 1;
543 }
544 }
545 part {
546 name: "bottom_clip";
547 type: RECT;
548 description {
549 state: "default" 0.0;
550 rel1.to: "bottom";
551 rel2.to: "bottom";
552 color: 255 255 255 255;
553 }
554 }
555 part {
556 name: "resize_b";
557 type: IMAGE;
558 mouse_events: 0;
559 clip_to: "bottom_clip";
560 description {
561 state: "default" 0.0;
562 min: 20 10;
563 max: 20 10;
564 rel1 {
565 relative: 0.5 0.0;
566 offset: 0 -10;
567 to: "bottom";
568 }
569 rel2 {
570 relative: 0.5 0.0;
571 offset: 0 -1;
572 to: "bottom";
573 }
574 image.normal: "bd_resize_b.png";
575 }
576 description {
577 state: "past" 0.0;
578 inherit: "default" 0.0;
579 rel1 {
580 relative: 0.5 1.0;
581 offset: 0 0;
582 }
583 rel2 {
584 relative: 0.5 1.0;
585 offset: 0 9;
586 }
587 }
588 }
589 part {
590 name: "elm.event.titlebar";
591 type: RECT;
592 description {
593 state: "default" 0.0;
594 rel1.to: "title_base";
595 rel2.to: "title_base";
596 color: 0 0 0 0;
597 }
598 }
599 part {
600 name: "elm.event.resize.t";
601 type: RECT;
602 description {
603 state: "default" 0.0;
604 rel2 {
605 relative: 1.0 0.0;
606 offset: -1 3;
607 }
608 color: 0 0 0 0;
609 }
610 description {
611 state: "shaded" 0.0;
612 inherit: "default" 0.0;
613 visible: 0;
614 }
615 }
616 part {
617 name: "elm.event.resize.b";
618 type: RECT;
619 description {
620 state: "default" 0.0;
621 rel1 {
622 relative: 0.0 1.0;
623 offset: 0 -4;
624 }
625 color: 0 0 0 0;
626 }
627 description {
628 state: "shaded" 0.0;
629 inherit: "default" 0.0;
630 visible: 0;
631 }
632 }
633 part {
634 name: "elm.event.resize.tl";
635 type: RECT;
636 description {
637 state: "default" 0.0;
638 rel2 {
639 relative: 0.0 0.0;
640 offset: 15 15;
641 }
642 color: 0 0 0 0;
643 }
644 description {
645 state: "shaded" 0.0;
646 inherit: "default" 0.0;
647 visible: 0;
648 }
649 }
650 part {
651 name: "elm.event.resize.tr";
652 type: RECT;
653 description {
654 state: "default" 0.0;
655 rel1 {
656 relative: 1.0 0.0;
657 offset: -16 0;
658 }
659 rel2 {
660 relative: 1.0 0.0;
661 offset: -1 15;
662 }
663 color: 0 0 0 0;
664 }
665 description {
666 state: "shaded" 0.0;
667 inherit: "default" 0.0;
668 visible: 0;
669 }
670 }
671 part {
672 name: "elm.event.resize.bl";
673 type: RECT;
674 description {
675 state: "default" 0.0;
676 rel1 {
677 relative: 0.0 1.0;
678 offset: 0 -16;
679 }
680 rel2 {
681 relative: 0.0 1.0;
682 offset: 15 -1;
683 }
684 color: 0 0 0 0;
685 }
686 description {
687 state: "shaded" 0.0;
688 inherit: "default" 0.0;
689 visible: 0;
690 }
691 }
692 part {
693 name: "elm.event.resize.br";
694 type: RECT;
695 description {
696 state: "default" 0.0;
697 rel1 {
698 relative: 1.0 1.0;
699 offset: -16 -16;
700 }
701 color: 0 0 0 0;
702 }
703 description {
704 state: "shaded" 0.0;
705 inherit: "default" 0.0;
706 visible: 0;
707 }
708 }
709 part {
710 name: "elm.event.icon";
711 type: RECT;
712 description {
713 state: "default" 0.0;
714 rel1.to: "icon_area";
715 rel2.to: "icon_area";
716 color: 0 0 0 0;
717 }
718 }
719 part {
720 name: "elm.event.close";
721 type: RECT;
722 description {
723 state: "default" 0.0;
724 rel1.to: "bt_close";
725 rel2.to: "bt_close";
726 color: 0 0 0 0;
727 }
728 }
729 part {
730 name: "elm.event.minimize";
731 type: RECT;
732 description {
733 state: "default" 0.0;
734 rel1.to: "bt_min";
735 rel2.to: "bt_min";
736 color: 0 0 0 0;
737 }
738 }
739 part {
740 name: "elm.event.maximize";
741 type: RECT;
742 description {
743 state: "default" 0.0;
744 rel1.to: "bt_max";
745 rel2.to: "bt_max";
746 color: 0 0 0 0;
747 }
748 }
749 }
750 programs {
751 program {
752 name: "focus_in";
753 signal: "elm,action,focus";
754 source: "elm";
755 action: STATE_SET "focused" 0.0;
756 transition: LINEAR 0.2;
757 target: "title_back";
758 target: "title2";
759 target: "title_over";
760 target: "buttons_foc";
761 target: "buttons_unfoc";
762 target: "elm.text.title";
763 }
764 program {
765 name: "focus_out";
766 signal: "elm,action,unfocus";
767 source: "elm";
768 action: STATE_SET "default" 0.0;
769 transition: LINEAR 0.2;
770 target: "title_back";
771 target: "title2";
772 target: "title_over";
773 target: "buttons_foc";
774 target: "buttons_unfoc";
775 target: "elm.text.title";
776 }
777 program {
778 name: "resize_b_on";
779 signal: "mouse,in";
780 source: "elm.event.resize.b";
781 action: ACTION_STOP;
782 target: "resize_b_on2";
783 target: "resize_b_on3";
784 after: "resize_b_on2";
785 }
786 program {
787 name: "resize_b_on2";
788 action: STATE_SET "default" 0.0;
789 target: "resize_b";
790 after: "resize_b_on3";
791 }
792 program {
793 name: "resize_b_on3";
794 action: STATE_SET "past" 0.0;
795 transition: LINEAR 0.5;
796 target: "resize_b";
797 after: "resize_b_on2";
798 }
799 program {
800 name: "resize_b_off";
801 signal: "mouse,out";
802 source: "elm.event.resize.b";
803 action: ACTION_STOP;
804 target: "resize_b_on";
805 target: "resize_b_on2";
806 target: "resize_b_on3";
807 }
808 program {
809 name: "bt_close_down";
810 signal: "mouse,down,*";
811 source: "elm.event.close";
812 action: STATE_SET "active" 0.0;
813 target: "bt_close_unfoc";
814 target: "bt_close_foc";
815 }
816 program {
817 name: "bt_close_up";
818 signal: "mouse,up,*";
819 source: "elm.event.close";
820 action: STATE_SET "default" 0.0;
821 target: "bt_close_unfoc";
822 target: "bt_close_foc";
823 }
824 program {
825 name: "bt_min_down";
826 signal: "mouse,down,*";
827 source: "elm.event.minimize";
828 action: STATE_SET "active" 0.0;
829 target: "bt_min_unfoc";
830 target: "bt_min_foc";
831 }
832 program {
833 name: "bt_min_up";
834 signal: "mouse,up,*";
835 source: "elm.event.minimize";
836 action: STATE_SET "default" 0.0;
837 target: "bt_min_unfoc";
838 target: "bt_min_foc";
839 }
840 program {
841 name: "bt_max_down";
842 signal: "mouse,down,*";
843 source: "elm.event.maximize";
844 action: STATE_SET "active" 0.0;
845 target: "bt_max_unfoc";
846 target: "bt_max_foc";
847 }
848 program {
849 name: "bt_max_up";
850 signal: "mouse,up,*";
851 source: "elm.event.maximize";
852 action: STATE_SET "default" 0.0;
853 target: "bt_max_unfoc";
854 target: "bt_max_foc";
855 }
856 program {
857 name: "move_start";
858 signal: "mouse,down,1";
859 source: "elm.event.titlebar";
860 action: SIGNAL_EMIT "elm,action,move,start" "elm";
861 }
862 program {
863 name: "minimize";
864 signal: "mouse,clicked,1";
865 source: "elm.event.minimize";
866 action: SIGNAL_EMIT "elm,action,minimize" "elm";
867 }
868 program {
869 name: "maximized";
870 signal: "mouse,clicked,1";
871 source: "elm.event.maximize";
872 action: SIGNAL_EMIT "elm,action,maximize" "elm";
873 }
874 program {
875 name: "close";
876 signal: "mouse,clicked,1";
877 source: "elm.event.close";
878 action: SIGNAL_EMIT "elm,action,close" "elm";
879 }
880 program {
881 name: "resize_t_down";
882 signal: "mouse,down,1";
883 source: "elm.event.resize.t";
884 action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.t";
885 }
886 program {
887 name: "resize_b_down";
888 signal: "mouse,down,1";
889 source: "elm.event.resize.b";
890 action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.b";
891 }
892 program {
893 name: "resize_tl_down";
894 signal: "mouse,down,1";
895 source: "elm.event.resize.tl";
896 action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.tl";
897 }
898 program {
899 name: "resize_tr_down";
900 signal: "mouse,down,1";
901 source: "elm.event.resize.tr";
902 action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.tr";
903 }
904 program {
905 name: "resize_bl_down";
906 signal: "mouse,down,1";
907 source: "elm.event.resize.bl";
908 action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.bl";
909 }
910 program {
911 name: "resize_br_down";
912 signal: "mouse,down,1";
913 source: "elm.event.resize.br";
914 action: SIGNAL_EMIT "elm,action,resize,start" "elm.event.resize.br";
915 }
916 }
917}