|
445 | 445 | // Tab element
|
446 | 446 | {
|
447 | 447 | "class": "tab_control",
|
448 |
| - "content_margin": [12, 3, 12, 3], // 12, 3, 12, 3 |
| 448 | + "content_margin": [12, 3, 12, 3], |
449 | 449 | "max_margin_trim": 0,
|
450 | 450 | "hit_test_level": 0.0,
|
451 | 451 | "layer0.texture": "Theme - Elementary/Elementary Dark/tabs/tab-inactive.png",
|
|
481 | 481 | // {
|
482 | 482 | // "class": "tab_control",
|
483 | 483 | // "attributes": ["selected", "file_light"],
|
484 |
| - // "layer1.texture": "Theme - Elementary/Elementary Dark/tabs/tab-active-low.png", |
| 484 | + // "layer1.texture": "Theme - Elementary/Elementary Dark/tabs/tab-active-low.png", |
485 | 485 | // "layer1.opacity": 1
|
486 | 486 | // },
|
487 | 487 |
|
|
526 | 526 | "attributes": ["dirty"],
|
527 | 527 | "settings": ["highlight_modified_tabs"],
|
528 | 528 | "fg": [192, 198, 196],
|
529 |
| - "fg": [0, 175, 255], |
530 | 529 | "fg": [0, 175, 255]
|
531 | 530 | },
|
532 | 531 |
|
|
707 | 706 | "layer1.opacity": 1.0
|
708 | 707 | },
|
709 | 708 |
|
| 709 | + { |
| 710 | + "class": "tabset_control", |
| 711 | + "settings": ["enable_tab_scrolling"], |
| 712 | + "content_margin": [3, 0, 3, 0] |
| 713 | + }, |
| 714 | + { |
| 715 | + "class": "tabset_control", |
| 716 | + "settings": ["mouse_wheel_switches_tabs"], |
| 717 | + "mouse_wheel_switch": true |
| 718 | + }, |
| 719 | + // Tab element |
| 720 | + { |
| 721 | + "class": "tab_control", |
| 722 | + "content_margin": [12, 0, 12, 0], |
| 723 | + "max_margin_trim": 0, |
| 724 | + "hit_test_level": 0.0, |
| 725 | + "layer0.texture": "Theme - Elementary/Elementary Dark/tabs/flat/tab-inactive.png", |
| 726 | + "layer0.tint": [56, 56, 56], |
| 727 | + "layer0.inner_margin": [5, 5], |
| 728 | + "layer0.opacity": 0.2 |
| 729 | + }, |
| 730 | + // Tab close state |
| 731 | + { |
| 732 | + "class": "tab_control", |
| 733 | + "settings": ["show_tab_close_buttons"], |
| 734 | + "content_margin": [12, 0, 7, 0] |
| 735 | + }, |
| 736 | + // Tab hover state |
| 737 | + { |
| 738 | + "class": "tab_control", |
| 739 | + "attributes": ["hover"], |
| 740 | + "layer0.texture": "Theme - Elementary/Elementary Dark/tabs/flat/tab-hover.png", |
| 741 | + "layer0.tint": [175, 175, 175], |
| 742 | + }, |
| 743 | + // Tab active state |
| 744 | + { |
| 745 | + "class": "tab_control", |
| 746 | + "attributes": ["selected"], |
| 747 | + "layer0.texture": "Theme - Elementary/Elementary Dark/tabs/flat/tab-active.png", |
| 748 | + // "layer0.tint": [88, 90, 83] |
| 749 | + "layer0.tint": [28, 28, 28], |
| 750 | + "layer0.opacity": 0.7 |
| 751 | + }, |
| 752 | + |
| 753 | + // |
| 754 | + // TAB BUTTONS |
| 755 | + // |
| 756 | + // Tab close button |
| 757 | + { |
| 758 | + "class": "tab_close_button", |
| 759 | + "content_margin": [8, 8], |
| 760 | + "layer0.texture": "Theme - Elementary/Elementary Dark/tabs/flat/tab-close.png", |
| 761 | + "layer0.opacity": 0.0, |
| 762 | + "layer0.inner_margin": 0 |
| 763 | + }, |
| 764 | + { |
| 765 | + "class": "tab_close_button", |
| 766 | + "parents": [{"class": "tab_control", "attributes": ["hover"]}], |
| 767 | + "layer0.opacity": 1.0 |
| 768 | + }, |
| 769 | + // { |
| 770 | + // "class": "tab_close_button", |
| 771 | + // "parents": [{"class": "tab_control", "attributes": ["hover"]}], |
| 772 | + // "fg": [255, 255, 255], |
| 773 | + // // "layer0.tint": [0, 0, 0], |
| 774 | + // "layer0.opacity": 1.0 |
| 775 | + // }, |
| 776 | + // Tab dirty button |
| 777 | + { |
| 778 | + "class": "tab_close_button", |
| 779 | + "parents": [{"class": "tab_control", "attributes": ["dirty"]}], |
| 780 | + "layer0.texture": "Theme - Elementary/Elementary Dark/tabs/flat/tab-dirty.png", |
| 781 | + "layer0.opacity": 0.5 |
| 782 | + }, |
| 783 | + // Tab close button hover |
| 784 | + { |
| 785 | + "class": "tab_close_button", |
| 786 | + "attributes": ["hover"], |
| 787 | + "layer0.texture": "Theme - Elementary/Elementary Dark/tabs/flat/tab-close-hover.png" |
| 788 | + }, |
| 789 | + // Tab close button pressed |
| 790 | + { |
| 791 | + "class": "tab_close_button", |
| 792 | + "attributes": ["pressed"], |
| 793 | + "layer0.opacity": 0.85 |
| 794 | + }, |
| 795 | + // |
| 796 | + // TAB LABELS |
| 797 | + // |
| 798 | + { |
| 799 | + "class": "tab_label", |
| 800 | + "fade": true, |
| 801 | + "fg": [196, 196, 196], |
| 802 | + "shadow_color": [12, 12, 12], |
| 803 | + "shadow_offset": [0, 1], |
| 804 | + "font.face": "Droid Sans", |
| 805 | + "font.size": 12, |
| 806 | + "font.italic": false, |
| 807 | + "font.bold": true, |
| 808 | + }, |
| 809 | + { |
| 810 | + "class": "tab_label", |
| 811 | + "parents": [{"class": "tab_control", "attributes": ["hover"]}], |
| 812 | + "fg": [255, 255, 255] |
| 813 | + }, |
| 814 | + { |
| 815 | + "class": "tab_label", |
| 816 | + "parents": [{"class": "tab_control", "attributes": ["selected"]}], |
| 817 | + }, |
| 818 | + { |
| 819 | + "class": "tab_label", |
| 820 | + "attributes": ["transient"], |
| 821 | + "font.italic": true |
| 822 | + }, |
710 | 823 | //
|
711 | 824 | // FOLDING
|
712 | 825 | //
|
|
0 commit comments