Commit bbf1b4e6aa
Unsigned
Layout: unified · split
rofi/selectanime.rasi +42 −40
| @@ -1,79 +1,81 @@ | ||
| 1 | 1 | configuration { |
| 2 | font: "Sans 12"; | |
| 3 | line-margin: 10; | |
| 4 | display-drun: ""; | |
| 2 | font: "Sans 12"; /* the font and size for the UI */ | |
| 3 | line-margin: 10; /* space between lines of text */ | |
| 4 | display-drun: ""; /* display-drun behavior */ | |
| 5 | 5 | } |
| 6 | 6 | |
| 7 | 7 | * { |
| 8 | background: #000000; /* Black background for everything */ | |
| 9 | background-alt: #000000; /* Ensures no alternation */ | |
| 8 | background: rgba(20, 20, 20, 0.8); /* Dark, semi-transparent background */ | |
| 9 | background-alt: #000000; /* Alternative background color (solid black) */ | |
| 10 | 10 | foreground: #CCCCCC; |
| 11 | selected: #3584E4; | |
| 12 | active: #2E7D32; | |
| 13 | urgent: #C62828; | |
| 11 | selected: rgba(85, 255, 150, 0.75); /* Highlighted item color (greenish) */ | |
| 12 | active: #2E7D32; /* Color for active items (green) */ | |
| 13 | urgent: #C62828; /* Color for urgent items (red) */ | |
| 14 | 14 | } |
| 15 | 15 | |
| 16 | 16 | window { |
| 17 | 17 | fullscreen: false; |
| 18 | background-color: rgba(0, 0, 0, 1); /* Solid black background */ | |
| 18 | background-color: @background; /* Window background color */ | |
| 19 | border-radius: 50px; | |
| 19 | 20 | } |
| 20 | 21 | |
| 21 | 22 | mainbox { |
| 22 | padding: 50px 100px; | |
| 23 | background-color: rgba(0, 0, 0, 1); /* Ensures black background fills entire main area */ | |
| 23 | padding: 50px 50px; /* padding around the content */ | |
| 24 | background-color: transparent; /* Transparent background */ | |
| 24 | 25 | children: [inputbar, listview]; |
| 25 | spacing: 20px; | |
| 26 | spacing: 20px; /* space between child elements */ | |
| 26 | 27 | } |
| 27 | 28 | |
| 28 | 29 | inputbar { |
| 29 | background-color: #333333; /* Dark gray background for input bar */ | |
| 30 | padding: 8px; | |
| 31 | border-radius: 8px; | |
| 30 | background-color: #333333; /* Dark gray background for the input bar */ | |
| 31 | padding: 8px; /* padding inside the input bar */ | |
| 32 | border-radius: 12px; /* Rounded corners for the input bar */ | |
| 32 | 33 | children: [prompt, entry]; |
| 33 | 34 | } |
| 34 | 35 | |
| 35 | 36 | prompt { |
| 36 | enabled: true; | |
| 37 | padding: 8px; | |
| 38 | background-color: @selected; | |
| 39 | text-color: #000000; | |
| 40 | border-radius: 4px; | |
| 37 | enabled: true; /* prompt inside the input bar */ | |
| 38 | padding: 8px; /* Padding inside the prompt */ | |
| 39 | background-color: @selected; /* Background color for the prompt (highlighted) */ | |
| 40 | text-color: #000000; /* Black text color for the prompt */ | |
| 41 | border-radius: 8px; /* Rounded corners for the prompt */ | |
| 41 | 42 | } |
| 42 | 43 | |
| 43 | 44 | entry { |
| 44 | padding: 8px; | |
| 45 | background-color: #444444; /* Slightly lighter gray for visibility */ | |
| 46 | text-color: #FFFFFF; /* White text to make typing visible */ | |
| 47 | placeholder: "Search..."; | |
| 48 | placeholder-color: rgba(255, 255, 255, 0.5); | |
| 49 | border-radius: 6px; | |
| 45 | margin: 0px 0px 0px 5px; /* margin to the left of the entry field */ | |
| 46 | padding: 8px; /* padding inside the entry field */ | |
| 47 | background-color: #444444; /* Slightly lighter gray for the entry field */ | |
| 48 | text-color: #FFFFFF; /* White text inside the entry field */ | |
| 49 | placeholder: "Search..."; /* Placeholder text displayed when the entry is empty */ | |
| 50 | placeholder-color: rgba(255, 255, 255, 0.5); /* Faded white color for the placeholder */ | |
| 51 | border-radius: 8px; /* Rounded corners for the entry field */ | |
| 50 | 52 | } |
| 51 | 53 | |
| 52 | 54 | listview { |
| 53 | layout: vertical; | |
| 54 | spacing: 8px; | |
| 55 | lines: 10; | |
| 56 | background-color: @background; /* Consistent black background for list items */ | |
| 55 | layout: vertical; /* item list layout*/ | |
| 56 | spacing: 8px; /* Space between items in the list */ | |
| 57 | lines: 9; /* Limits the number of lines to display in the list */ | |
| 58 | background-color: transparent; /* Transparent background for the list */ | |
| 57 | 59 | } |
| 58 | 60 | |
| 59 | 61 | element { |
| 60 | padding: 12px; | |
| 61 | border-radius: 4px; | |
| 62 | background-color: @background; /* Uniform color for each list item */ | |
| 63 | text-color: @foreground; | |
| 62 | padding: 12px; /* Padding inside each element of the list */ | |
| 63 | border-radius: 12px; /* Rounded corners for each element */ | |
| 64 | background-color: #444444; /* Uniform dark gray background for list items */ | |
| 65 | text-color: @foreground; /* Text color for the elements (light gray) */ | |
| 64 | 66 | } |
| 65 | 67 | |
| 66 | 68 | element normal.normal { |
| 67 | background-color: @background; /* Ensures no alternating color */ | |
| 69 | background-color: #333333; /* Default background color for normal list items */ | |
| 68 | 70 | } |
| 69 | 71 | |
| 70 | 72 | element selected.normal { |
| 71 | background-color: @selected; | |
| 72 | text-color: #FFFFFF; | |
| 73 | background-color: @selected; /* Background color for selected items */ | |
| 74 | text-color: #FFFFFF; /* White text for selected items */ | |
| 73 | 75 | } |
| 74 | 76 | |
| 75 | 77 | element-text { |
| 76 | background-color: transparent; | |
| 77 | text-color: inherit; | |
| 78 | vertical-align: 0.5; | |
| 78 | background-color: transparent; /* Transparent background for element text */ | |
| 79 | text-color: inherit; /* Inherits text color from parent element */ | |
| 80 | vertical-align: 0.5; /* Vertically aligns the text */ | |
| 79 | 81 | } |
rofi/selectanimepreview.rasi +72 −70
| @@ -1,118 +1,120 @@ | ||
| 1 | 1 | // Colours |
| 2 | 2 | * { |
| 3 | background-color: transparent; | |
| 4 | background: #1D2330; | |
| 5 | background-transparent: #1D2330A0; | |
| 6 | text-color: #BBBBBB; | |
| 7 | text-color-selected: #FFFFFF; | |
| 8 | primary: #BB77BB; | |
| 9 | important: #BF616A; | |
| 3 | background-color: transparent; /* Transparent background for the global UI */ | |
| 4 | background: #000000; /* Solid black background */ | |
| 5 | background-transparent: #1D2330A0; /* Semi-transparent background */ | |
| 6 | text-color: #BBBBBB; /* Default text color (light gray) */ | |
| 7 | text-color-selected: #FFFFFF; /* Text color when selected (white) */ | |
| 8 | primary: rgba(85, 255, 150, 0.75); /* Greenish primary color */ | |
| 9 | important: rgba(85, 255, 150, 0.75); /* Color used for important items */ | |
| 10 | 10 | } |
| 11 | 11 | |
| 12 | 12 | configuration { |
| 13 | font: "Roboto 17"; | |
| 14 | show-icons: true; | |
| 13 | font: "Roboto 14"; /* Sets the global font to Roboto, size 14 */ | |
| 14 | show-icons: true; /* Option to display icons in the UI */ | |
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | window { |
| 18 | fullscreen: true; | |
| 19 | height: 100%; | |
| 20 | width: 100%; | |
| 21 | transparency: "real"; | |
| 22 | background-color: @background-transparent; | |
| 23 | border: 0px; | |
| 24 | border-color: @primary; | |
| 18 | fullscreen: true; /* The window will open in fullscreen */ | |
| 19 | height: 100%; /* Full window height */ | |
| 20 | width: 100%; /* Full window width */ | |
| 21 | transparency: "real"; /* Real transparency effect */ | |
| 22 | background-color: @background-transparent; /* Transparent background */ | |
| 23 | border: 0px; /* No border around the window */ | |
| 24 | border-color: @primary; /* Border color set to the primary color */ | |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | mainbox { |
| 28 | children: [prompt, inputbar-box, listview]; | |
| 29 | padding: 0px; | |
| 28 | children: [prompt, inputbar-box, listview]; /* Main box contains prompt, input bar, and list view */ | |
| 29 | padding: 0px; /* No padding around the main box */ | |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | prompt { |
| 33 | width: 100%; | |
| 34 | margin: 10px 0px 0px 30px; | |
| 35 | text-color: @important; | |
| 36 | font: "Roboto Bold 27"; | |
| 33 | width: 100%; /* Prompt takes full width */ | |
| 34 | margin: 10px 0px 0px 30px; /* Margin around the prompt */ | |
| 35 | text-color: @important; /* Text color for prompt (important color) */ | |
| 36 | font: "Roboto Bold 27"; /* Bold Roboto font, size 27 */ | |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | listview { |
| 40 | layout: vertical; | |
| 41 | padding: 60px; | |
| 42 | dynamic: true; | |
| 43 | columns: 7; | |
| 44 | spacing: 20px; | |
| 45 | horizontal-align: center; /* Center the list items */ | |
| 40 | layout: vertical; /* Vertical layout for list items */ | |
| 41 | padding: 10px; /* Padding inside the list view */ | |
| 42 | spacing: 20px; /* Space between items in the list */ | |
| 43 | columns: 8; /* Maximum 8 items per row */ | |
| 44 | dynamic: true; /* Allows the list to dynamically adjust */ | |
| 45 | orientation: horizontal; /* Horizontal orientation for list items */ | |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | inputbar-box { |
| 49 | children: [dummy, inputbar, dummy]; | |
| 50 | orientation: horizontal; | |
| 51 | expand: false; | |
| 49 | children: [dummy, inputbar, dummy]; /* Input bar is centered with dummy placeholders */ | |
| 50 | orientation: horizontal; /* Horizontal layout for input bar */ | |
| 51 | expand: false; /* Does not expand to fill the space */ | |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | inputbar { |
| 55 | children: [textbox-prompt, entry]; | |
| 56 | margin: 0px; | |
| 57 | background-color: @primary; | |
| 58 | border: 4px; | |
| 59 | border-color: @primary; | |
| 60 | border-radius: 8px; | |
| 55 | children: [textbox-prompt, entry]; /* Contains a prompt and an entry field */ | |
| 56 | margin: 0px; /* No margin around the input bar */ | |
| 57 | background-color: @primary; /* Background color set to the primary color */ | |
| 58 | border: 4px; /* Border thickness around the input bar */ | |
| 59 | border-color: @primary; /* Border color matches the primary color */ | |
| 60 | border-radius: 8px; /* Rounded corners for the input bar */ | |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | textbox-prompt { |
| 64 | text-color: @background; | |
| 65 | horizontal-align: 0.5; | |
| 66 | vertical-align: 0.5; | |
| 67 | expand: false; | |
| 64 | text-color: @background; /* Text color inside prompt matches the background color */ | |
| 65 | horizontal-align: 0.5; /* Horizontally centered */ | |
| 66 | vertical-align: 0.5; /* Vertically centered */ | |
| 67 | expand: false; /* Does not expand to fill available space */ | |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | entry { |
| 71 | expand: false; | |
| 72 | padding: 8px; | |
| 73 | margin: -6px; | |
| 74 | horizontal-align: 0; | |
| 75 | width: 300; | |
| 76 | background-color: @background; | |
| 77 | border: 6px; | |
| 78 | border-color: @primary; | |
| 79 | border-radius: 8px; | |
| 80 | cursor: text; | |
| 71 | expand: false; /* Entry field does not expand */ | |
| 72 | padding: 8px; /* Padding inside the entry field */ | |
| 73 | margin: -6px; /* Negative margin to position entry properly */ | |
| 74 | horizontal-align: 0; /* Left-aligned text inside the entry field */ | |
| 75 | width: 300; /* Fixed width for the entry field */ | |
| 76 | background-color: @background; /* Entry background color matches the global background */ | |
| 77 | border: 6px; /* Border thickness around the entry field */ | |
| 78 | border-color: @primary; /* Border color matches the primary color */ | |
| 79 | border-radius: 8px; /* Rounded corners for the entry field */ | |
| 80 | cursor: text; /* Cursor changes to text input cursor inside the entry field */ | |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | element { |
| 84 | children: [dummy, element-box, dummy]; | |
| 85 | padding: 5px; | |
| 86 | orientation: vertical; | |
| 87 | border: 0px; | |
| 88 | border-radius: 16px; | |
| 89 | background-color: transparent; /* Default background */ | |
| 84 | children: [dummy, element-box, dummy]; /* Contains an element box with dummy placeholders */ | |
| 85 | padding: 5px; /* Padding around the element */ | |
| 86 | orientation: vertical; /* Vertical layout for element content */ | |
| 87 | border: 0px; /* No border around the element */ | |
| 88 | border-radius: 16px; /* Rounded corners for the element */ | |
| 89 | background-color: #1D2330; /* Default background color for the element */ | |
| 90 | width: 100px; /* Width of each element */ | |
| 91 | height: 50px; /* Height of each element */ | |
| 90 | 92 | } |
| 91 | 93 | |
| 92 | 94 | element selected { |
| 93 | background-color: @primary; /* Solid color for selected item */ | |
| 95 | background-color: @primary; /* Background color of the element when selected */ | |
| 94 | 96 | } |
| 95 | 97 | |
| 96 | 98 | element-box { |
| 97 | children: [element-icon, element-text]; | |
| 98 | orientation: vertical; | |
| 99 | expand: false; | |
| 100 | cursor: pointer; | |
| 99 | children: [element-icon, element-text]; /* Element box contains an icon and text */ | |
| 100 | orientation: vertical; /* Vertical layout for icon and text */ | |
| 101 | expand: false; /* Does not expand to fill available space */ | |
| 102 | cursor: pointer; /* Cursor changes to a pointer when hovering over the element */ | |
| 101 | 103 | } |
| 102 | 104 | |
| 103 | 105 | element-icon { |
| 104 | padding: 10px; | |
| 105 | cursor: inherit; | |
| 106 | size: 33%; | |
| 107 | margin: 10px; | |
| 106 | padding: 10px; /* Padding inside the icon */ | |
| 107 | cursor: inherit; /* Inherits cursor style from the parent */ | |
| 108 | size: 33%; /* Icon size is set to 33% of the parent element */ | |
| 109 | margin: 10px; /* Margin around the icon */ | |
| 108 | 110 | } |
| 109 | 111 | |
| 110 | 112 | element-text { |
| 111 | horizontal-align: 0.5; | |
| 112 | cursor: inherit; | |
| 113 | text-color: @text-color; | |
| 113 | horizontal-align: 0.5; /* Horizontally center-aligns the text */ | |
| 114 | cursor: inherit; /* Inherits cursor style from the parent */ | |
| 115 | text-color: @text-color; /* Text color for element text */ | |
| 114 | 116 | } |
| 115 | 117 | |
| 116 | 118 | element-text selected { |
| 117 | text-color: @text-color-selected; | |
| 119 | text-color: @text-color-selected; /* Text color when the element is selected */ | |
| 118 | 120 | } |