_granite.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. /************
  2. * Popovers *
  3. ************/
  4. GraniteWidgetsPopOver {
  5. border: 1px solid $base_color;
  6. background: $base_color;
  7. color: $fg_color;
  8. .button {
  9. background-image: none;
  10. background: none;
  11. border: none;
  12. &:active,
  13. &:active:hover, {
  14. color: $selected_bg_color;
  15. }
  16. }
  17. > .frame {
  18. border:none;
  19. }
  20. .sidebar.view {
  21. border: none;
  22. background: none;
  23. }
  24. }
  25. GraniteWidgetsStaticNotebook .frame {
  26. border: none;
  27. }
  28. .popover_bg {
  29. background-color: $base_color;
  30. background-image: none;
  31. border: 1px solid $base_color;
  32. color: $fg_color;
  33. }
  34. /***********
  35. * Welcome *
  36. **********/
  37. GraniteWidgetsWelcome {
  38. background-color: $base_color;
  39. GtkLabel {
  40. color: $fg_color;
  41. }
  42. .h1,.h3 {
  43. color: transparentize($fg_color, 0.2);
  44. }
  45. }
  46. /**************
  47. * Source List *
  48. ***************/
  49. .source-list {
  50. background-color: $bg_color;
  51. border: solid $borders_color;
  52. color: $fg_color;
  53. border-right-width: 1px;
  54. &:backdrop {}
  55. .category-expander {
  56. color: transparent;
  57. }
  58. .badge {
  59. background-image: none;
  60. background-color: transparentize(black, 0.6);
  61. color: $bg_color;
  62. border-radius: 10px;
  63. padding: 0 6px;
  64. margin: 0 3px;
  65. border-width: 0;
  66. &:selected:backdrop,
  67. &:selected:hover:backdrop {
  68. background-color: transparentize(black, 0.8);
  69. color: darken($bg_color, 5%);
  70. }
  71. }
  72. row,
  73. .list-row {
  74. border:none;
  75. padding: 0;
  76. > GtkLabel,
  77. > label {
  78. padding-left: 6px;
  79. padding-right: 6px;
  80. }
  81. }
  82. }
  83. /**************
  84. * Text Styles *
  85. **************/
  86. .h1 {
  87. font-size: 24px;
  88. }
  89. .h2 {
  90. font-weight: 300;
  91. font-size: 18px;
  92. }
  93. .h3 {
  94. font-size: 11px;
  95. }
  96. .h4,
  97. .category-label {
  98. font-size: 12px;
  99. padding: 6px;
  100. color: transparentize($fg_color, 0.7);
  101. font-weight: bold;
  102. text-shadow: 0 1px transparentize(white,0.8);
  103. }
  104. /**************
  105. * Storage Bar *
  106. **************/
  107. .storage-bar {
  108. .trough {
  109. border: none;
  110. box-shadow:0 1px 0 0 $bottom_highlight;
  111. background-image: none;
  112. background-color: transparent;
  113. padding: 8px 6px;
  114. }
  115. .fill-block {
  116. background-color: $yellow;
  117. border:none;
  118. box-shadow: inset 0 1px 0 0 transparentize(black, 0.9), inset 0 -1px 0 0 transparentize(black, 0.9);
  119. transition: all 200ms ease-in-out;
  120. padding: 8px 6px;
  121. &:first-child {
  122. border-top-left-radius: 4px;
  123. border-bottom-left-radius: 4px;
  124. border-left-width: 1px;
  125. box-shadow: inset 0 1px 0 0 transparentize(black, 0.9),
  126. inset 1px 0 0 transparentize(black, 0.9),
  127. inset 0 -1px 0 0 transparentize(black, 0.9);
  128. }
  129. &:last-child {
  130. border-top-right-radius: 4px;
  131. border-bottom-right-radius: 4px;
  132. box-shadow: inset 0 1px 0 0 transparentize(black, 0.9),
  133. inset -1px 0 0 transparentize(black, 0.9),
  134. inset 0 -1px 0 0 transparentize(black, 0.9);
  135. }
  136. &.empty-block {
  137. background-color: $base_color;
  138. }
  139. &.app {
  140. background-color: $blue;
  141. }
  142. &.audio {
  143. background-color: $orange;
  144. }
  145. &.photo {
  146. background-color: $red;
  147. }
  148. &.video {
  149. background-color: $purple;
  150. }
  151. .legend {
  152. padding: 12px;
  153. border-radius: 4px;
  154. }
  155. }
  156. }