screenshot.rasi 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. /*
  2. *
  3. * Author : Aditya Shakya
  4. * Mail : adi1090x@gmail.com
  5. * Github : @adi1090x
  6. * Twitter : @adi1090x
  7. *
  8. */
  9. configuration {
  10. show-icons: false;
  11. font: "Comfortaa 14";
  12. disable-history: false;
  13. sidebar-mode: false;
  14. }
  15. @import "../../../styles/colors.rasi"
  16. * {
  17. background-color: @background;
  18. text-color: @foreground;
  19. }
  20. window {
  21. transparency: "real";
  22. border-radius: 20px;
  23. location: center;
  24. width: 500px;
  25. x-offset: 0px;
  26. y-offset: 0px;
  27. }
  28. prompt {
  29. enabled: true;
  30. padding: 10px;
  31. background-color: @background;
  32. text-color: @accent;
  33. border: 0px 2px 0px 2px;
  34. border-radius: 12px;
  35. border-color: @accent;
  36. }
  37. textbox-prompt-colon {
  38. expand: false;
  39. str: " Screenshot ";
  40. background-color: @accent;
  41. text-color: @background;
  42. padding: 10px 10px 0px 10px;
  43. border-radius: 12px;
  44. }
  45. inputbar {
  46. children: [ textbox-prompt-colon, prompt ];
  47. spacing: 15px;
  48. background-color: @background;
  49. text-color: @foreground;
  50. expand: false;
  51. border: 0px;
  52. border-radius: 0px;
  53. border-color: @accent;
  54. margin: 0px 0px 0px 0px;
  55. padding: 0px;
  56. position: center;
  57. }
  58. listview {
  59. columns: 3;
  60. lines: 1;
  61. spacing: 15px;
  62. cycle: true;
  63. dynamic: true;
  64. layout: vertical;
  65. }
  66. mainbox {
  67. background-color: @background;
  68. children: [ inputbar, listview ];
  69. spacing: 15px;
  70. margin: 40px;
  71. }
  72. element {
  73. background-color: @background-light;
  74. text-color: @foreground;
  75. orientation: vertical;
  76. border-radius: 20px;
  77. }
  78. element-text {
  79. background-color: inherit;
  80. text-color: inherit;
  81. font: "feather 32";
  82. expand: true;
  83. horizontal-align: 0.5;
  84. vertical-align: 0.5;
  85. margin: 40px 0px 40px 0px;
  86. }
  87. element normal.urgent,
  88. element alternate.urgent {
  89. background-color: @off;
  90. text-color: @background;
  91. border-radius: 20px;
  92. }
  93. element normal.active,
  94. element alternate.active {
  95. background-color: @on;
  96. text-color: @background;
  97. }
  98. element selected {
  99. background-color: @accent;
  100. text-color: @background;
  101. border: 0px;
  102. border-radius: 20px;
  103. border-color: @border;
  104. }
  105. element selected.urgent {
  106. background-color: @on;
  107. text-color: @background;
  108. }
  109. element selected.active {
  110. background-color: @off;
  111. color: @background;
  112. }