a442b5f5 |
1 | /* |
2 | * DARKNIX scrotmenu rofi theme |
3 | * tested on a 1366x768 screen |
4 | */ |
5 | |
6 | /* IMPORTS */ |
7 | @import "libs/settings.rasi" |
8 | @import "libs/reset.rasi" |
9 | |
10 | scrollbar { |
11 | disabled: true; |
12 | } |
13 | window { |
14 | fullscreen: true; |
15 | background-color: @bg-trans; |
16 | width: 100%; |
17 | position: north; |
18 | } |
19 | mainbox { |
20 | children: [ textbox1, listview ]; |
21 | border: 0; |
22 | padding: 0; |
23 | } |
24 | textbox1 { |
25 | margin: 1em; |
26 | padding: 0; |
27 | width: 100%; |
28 | text-color: @accent; |
29 | font: "Montserrat 24"; |
30 | str: "Are you sure you want to exit?"; |
31 | vertical-align: 0.2; |
32 | horizontal-align: 0.5; |
33 | } |
34 | listview { |
35 | columns: 2; |
36 | lines: 1; |
37 | expand: false; |
38 | cycle: true; |
39 | spacing: 4em; |
40 | /* 60px is the height of the items */ |
41 | padding: calc(50% - 5em) 22em; |
42 | orientation: horizontal; |
43 | } |
44 | element { |
45 | border: 1px; |
46 | border-radius: 1em 2em; |
47 | border-color: @accent; |
48 | background-color: @bg; |
49 | orientation: horizontal; |
50 | padding: 2em 0; |
51 | } |
52 | element selected { |
53 | background-color: @accent; |
54 | /* border-color: @bg-focus;*/ |
55 | } |
56 | element-text { |
57 | font: "Inconsolata Nerd Font 70"; |
58 | horizontal-align: 0.35; |
59 | vertical-align: 0.5; |
60 | } |
61 | element-text selected { |
62 | text-color: @bg; |
63 | } |