_budgie.scss 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977
  1. /*********
  2. * Budgie *
  3. *********/
  4. $alert_color: $red;
  5. $button_bg: transparent;
  6. $entry_border: transparent;
  7. $mpris_overlay_fg: $fg_color;
  8. $mpris_overlay_bg: transparentize(if($variant=='light',$base_color, darken($bg_color, 10%)), 0.1);
  9. $mpris_overlay_border: $top_highlight;
  10. $panel_bg: transparentize( darken($headerbar_color,10%),0.05);
  11. $panel_border: transparentize(darken($headerbar_color, 7%), 0.08);
  12. $panel_shadow: transparentize(black, 0.7);
  13. $raven_bg: transparentize($bg_color, 0.08);
  14. $raven_expander_border: transparentize($borders_color, 0.05);
  15. $raven_border: transparentize($bg_color, 0.08);
  16. $raven_expander_bg: transparentize($bg_color, 0.8);
  17. $raven_background_bg: transparent;
  18. $raven_background_border: transparent;
  19. $depth: 0 1px 1px rgba(0, 0, 0, 0.06),
  20. 0 1px 2px rgba(0, 0, 0, 0.20),
  21. inset 0px 1px 0px 0px $top_highlight;
  22. @function gtkalpha($c,$a) {
  23. @return unquote("alpha(#{$c},#{$a})");
  24. }
  25. $roundness: 2px;
  26. $border_width: 1px;
  27. $pos_list: ((top, bottom),(bottom,top),(left,right),(right,left));
  28. // Container for both the "panel" area and the shadow. Wise to keep
  29. // this transparent..
  30. .budgie-container {
  31. background-color: transparent;
  32. &:backdrop { background-color: transparent; }
  33. popover list,
  34. popover row {
  35. border: none;
  36. background: none;
  37. padding: 0;
  38. margin: 0;
  39. }
  40. }
  41. .budgie-popover .container,
  42. .budgie-popover border,
  43. .budgie-popover list,
  44. .budgie-popover row {
  45. @extend %reset_style
  46. }
  47. %reset_style {
  48. padding: 0;
  49. margin: 0;
  50. background: none;
  51. border: none;
  52. box-shadow: none;
  53. text-shadow: none;
  54. -gtk-icon-shadow: none;
  55. opacity: 1;
  56. min-width: 0;
  57. min-height: 0;
  58. }
  59. .budgie-popover,
  60. .budgie-popover.background {
  61. border-radius: 2px;
  62. padding: 0;
  63. background-color: transparentize(if($variant=='light',$popover_bg_color,$bg_color),if($variant=='light',0.04,0.02));
  64. background-clip: border-box;
  65. box-shadow: 0 2px 3px 1px transparentize(black, 0.65);
  66. border: 1px solid #{"@borders"};
  67. list,
  68. row {
  69. &:hover { background: none; }
  70. }
  71. > frame.container {
  72. margin: 0 -1px -1px; // remove gap
  73. padding: 2px 0 0;
  74. }
  75. }
  76. .budgie-popover > .container {
  77. padding: 2px;
  78. }
  79. // Budgie Menu
  80. .budgie-menu {
  81. .container { padding: 0; }
  82. button:hover { -gtk-icon-filter: none; }
  83. entry.search {
  84. border: none;
  85. background: none;
  86. padding: 5px 2px;
  87. border-bottom: 1px solid #{"@borders"};
  88. border-radius: 0;
  89. font-size: 120%;
  90. box-shadow: none;
  91. image {
  92. &:dir(ltr) { padding-left: 8px; padding-right: 12px; }
  93. &:dir(rtl) { padding-left: 12px; padding-right: 8px; }
  94. }
  95. }
  96. .categories {
  97. border-width: 0;
  98. margin-left: 3px;
  99. background-color: transparent;
  100. &:dir(ltr) { border-right: 1px solid #{"@borders"}; }
  101. &:dir(rtl) { border-left: 1px solid #{"@borders"}; }
  102. }
  103. .category-button {
  104. padding: 8px;
  105. border-radius: 2px 0 0 2px;
  106. &:hover {
  107. background-color: if(variant == light, transparentize($fg_color, 0.9), transparentize($fg_color, 0.95));
  108. color: $fg_color;
  109. }
  110. &:active { box-shadow: inset 0 2px 2px -2px transparentize(black, 0.8); }
  111. &:checked {
  112. color: $selected_fg_color;
  113. background-color: transparentize( darken($selected_bg_color,5%),0.2);
  114. }
  115. &:checked:disabled {
  116. opacity: 0.5;
  117. label { color: transparentize($selected_fg_color, 0.3); }
  118. }
  119. }
  120. scrollbar {
  121. background-color: transparent;
  122. border-color: transparent;
  123. }
  124. button:not(.category-button) {
  125. padding-top: 5px;
  126. padding-bottom: 5px;
  127. border-radius: 0;
  128. box-shadow: none;
  129. }
  130. undershoot, overshoot { background: none; }
  131. }
  132. // Menu Button
  133. button.budgie-menu-launcher {
  134. padding: 0 2px;
  135. color: $headerbar_fg_color;
  136. box-shadow: none;
  137. background-color: transparent;
  138. &:hover { color: $headerbar_fg_color; }
  139. &:active, &:checked { color: $headerbar_fg_color; }
  140. &:backdrop {
  141. color: $headerbar_fg_color;
  142. background-color: transparent;
  143. &:hover { color: $headerbar_fg_color; }
  144. &:active, &:checked {
  145. color: $selected_bg_color;
  146. box-shadow: none;
  147. background-color: transparent;
  148. }
  149. }
  150. }
  151. // User Menu
  152. .user-menu {
  153. .content-box separator {
  154. margin-left: 6px;
  155. margin-right: 6px;
  156. background-color: transparentize($fg_color, 0.9);
  157. }
  158. button { margin: 5px; }
  159. // top-row (user-name and avatar)
  160. > box.vertical row.activatable:first-child,
  161. > frame.container > box.vertical row.activatable:first-child {
  162. .indicator-item {
  163. box-shadow: $depth;
  164. background-color: $cyan;
  165. transition-duration: 0.2s;
  166. &:dir(ltr) { // mask avatar's background
  167. padding-left: 7px; // non-scaling unit
  168. background-position: left center;
  169. background-repeat: no-repeat;
  170. background-size: 38px auto; // non-scaling unit
  171. }
  172. &:dir(rtl) {
  173. padding-right: 7px;
  174. background-position: right center;
  175. background-repeat: no-repeat;
  176. background-size: 38px auto;
  177. }
  178. label {
  179. color: $selected_fg_color;
  180. &:dir(ltr) { padding-left: 5px; }
  181. &:dir(rtl) { padding-right: 5px; }
  182. }
  183. image {
  184. color: $selected_fg_color;
  185. &:first-child { // avatar image
  186. min-width: 24px;
  187. min-height: 20px;
  188. }
  189. }
  190. }
  191. }
  192. }
  193. // Raven Trigger
  194. button.raven-trigger {
  195. padding-left: 2px;
  196. padding-right: 2px;
  197. color: $headerbar_fg_color;
  198. box-shadow: none;
  199. &:hover {
  200. color: $headerbar_fg_color;
  201. background-color: transparent;
  202. }
  203. &:active, &:checked {
  204. box-shadow: none;
  205. background-color: transparent;
  206. color: $selected_bg_color;
  207. }
  208. &:backdrop {
  209. color: $headerbar_fg_color;
  210. &:hover {
  211. color: $headerbar_fg_color;
  212. }
  213. &:active, &:checked {
  214. box-shadow: none;
  215. color: $selected_bg_color;
  216. background-color: transparent;
  217. }
  218. }
  219. }
  220. // Places Menu
  221. .places-menu {
  222. .container { padding: 0; }
  223. .message-bar {
  224. border-top-left-radius: 3px;
  225. border-top-right-radius: 3px;
  226. }
  227. .name-button {
  228. border: 0;
  229. border-radius: 0;
  230. padding: 4px 6px;
  231. }
  232. .unmount-button {
  233. padding: 4px 4px;
  234. border: 0;
  235. border-radius: 0;
  236. }
  237. .places-section-header {
  238. padding: 0px;
  239. border-bottom: 1px solid $raven_expander_border;
  240. box-shadow: 0px 1px 1px #{"alpha(@theme_fg_color, 0.03)"};
  241. }
  242. .places-section-header > button {
  243. padding: 8px;
  244. border: none;
  245. border-bottom-left-radius: 0px;
  246. border-bottom-right-radius: 0px;
  247. }
  248. .places-list {
  249. background: transparentize($fg_color, 0.96);
  250. border-bottom: 1px solid $raven_expander_border;
  251. }
  252. .unlock-area {
  253. border-top: 1px solid transparentize($raven_expander_border, 0.1);
  254. border-bottom: 1px solid transparentize($raven_expander_border, 0.1);
  255. }
  256. .unlock-area entry {
  257. border-radius: 0;
  258. border: 0;
  259. }
  260. .unlock-area button {
  261. border-radius: 0;
  262. border: 0;
  263. border-left: 1px solid transparentize($raven_expander_border, 0.1);
  264. }
  265. .alternative-label {
  266. font-size: 15px;
  267. padding: 3px;
  268. }
  269. .always-expand {
  270. background: transparent;
  271. border-bottom: none;
  272. }
  273. }
  274. // Night Light indicator
  275. .night-light-indicator {
  276. .container { padding: 0; }
  277. .view-header {
  278. font-size: 14px;
  279. padding: 10px;
  280. border-bottom: #{"1px solid mix(@theme_base_color, #000000, 0.35)"};
  281. box-shadow: #{"0px 1px 1px alpha(@theme_fg_color, 0.04)"};
  282. }
  283. .display-settings-button {
  284. border-top-left-radius: 0px;
  285. border-top-right-radius: 0px;
  286. border: none;
  287. padding: 3px;
  288. border-top: #{"1px solid mix(@theme_base_color, #000000, 0.35)"};
  289. box-shadow: #{"inset 0px 1px 1px alpha(@theme_fg_color, 0.04)"};
  290. }
  291. }
  292. // Panel
  293. .budgie-panel {
  294. color: $headerbar_fg_color;
  295. background-color: $panel_bg;
  296. background-image: none;
  297. box-shadow: none;
  298. border: none;
  299. transition: all 150ms ease-in;
  300. .alert { color: $alert_color; }
  301. &:backdrop {
  302. color: $headerbar_fg_color;
  303. background-color: $panel_bg;
  304. }
  305. button {
  306. border-top-width: 0;
  307. border-bottom-width: 0;
  308. border-radius: 0;
  309. }
  310. popover list,
  311. popover row {
  312. padding: 0;
  313. margin: 0;
  314. }
  315. label {
  316. color: $headerbar_fg_color;
  317. font-weight: 700;
  318. }
  319. &.transparent {
  320. background-color: transparentize($panel_bg, 0.75);
  321. .top & {
  322. border-bottom-color: transparent;
  323. }
  324. .bottom & {
  325. border-top-color: transparent;
  326. }
  327. .left & {
  328. border-right-color: transparent;
  329. }
  330. .right & {
  331. border-left-color: transparent;
  332. }
  333. }
  334. .end-region {
  335. border-radius: 0px;
  336. separator { background-color: transparentize($headerbar_fg_color, 0.85); }
  337. label {
  338. font-weight: 700;
  339. color: $headerbar_fg_color;
  340. }
  341. }
  342. }
  343. // Tasklist
  344. .budgie-panel #tasklist-button,
  345. .budgie-panel #tasklist-button:backdrop {
  346. outline-color: transparent;
  347. transition: all 100ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  348. border-color: transparentize($panel_bg,1); // fixes the transition
  349. border-radius: 0;
  350. background-color: transparent;
  351. box-shadow: none;
  352. background-clip: padding-box;
  353. @extend %underscores;
  354. }
  355. // Icon Tasklist
  356. .budgie-panel {
  357. button.flat.launcher {
  358. outline-color: transparent;
  359. transition: all 100ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  360. border-color: transparentize($panel_bg,1); // fixes the transition
  361. border-radius: 0;
  362. padding: 0;
  363. background-clip: padding-box;
  364. background-color: transparent;
  365. & { box-shadow: none; }
  366. }
  367. .unpinned button.flat.launcher,
  368. .pinned button.flat.launcher.running { @extend %underscores; }
  369. }
  370. %underscores {
  371. &:hover { box-shadow: none; }
  372. &:active, &:checked { box-shadow: none; }
  373. @each $pos, $b_pos in $pos_list {
  374. .#{$pos} & {
  375. padding-#{$b_pos}: 2px;
  376. border-#{$pos}: 2px solid transparent;
  377. @at-root {
  378. .#{$pos} .budgie-panel .pinned button.flat.launcher:not(.running) { border-#{$pos}: 2px solid transparent; }
  379. .#{$pos} .budgie-panel .pinned button.flat.launcher:not(.running):hover { border-#{$pos}: 2px solid transparentize(white, 0.9); }
  380. .#{$pos} .budgie-panel .unpinned button.flat.launcher,
  381. .#{$pos} .budgie-panel .pinned button.flat.launcher.running { border-#{$pos}: 2px solid transparentize(white, 0.9); }
  382. }
  383. &:hover {
  384. border-#{$pos}: 2px solid transparentize(white, 0.75);
  385. }
  386. &:active, &:checked {
  387. border-#{$pos}: 2px solid $selected_bg_color;
  388. }
  389. }
  390. }
  391. }
  392. @each $pos, $b_pos in $pos_list {
  393. // Panel borders
  394. .#{$pos} .budgie-panel { border-#{$b_pos}: $border_width solid $panel_border; }
  395. // Raven borders
  396. .#{$pos} .raven-frame {
  397. padding: 0;
  398. background: none;
  399. border {
  400. border: none;
  401. border-#{$b_pos}: $border_width solid $raven_border;
  402. }
  403. }
  404. // Shadows
  405. .#{$pos} .shadow-block {
  406. background-color: transparent;
  407. background-image: linear-gradient(to $b_pos,
  408. $panel_shadow,
  409. transparent);
  410. }
  411. }
  412. // Raven
  413. .raven {
  414. padding: 0;
  415. color: $fg_color;
  416. background-color: $raven_bg;
  417. transition: 170ms ease-out;
  418. .raven-header {
  419. * {
  420. padding-top: 0;
  421. padding-bottom: 0;
  422. }
  423. min-height: 32px;
  424. color: $fg_color;
  425. border: solid $raven_expander_border;
  426. border-width: 1px 0;
  427. background-color: $raven_expander_bg;
  428. &.top {
  429. border-top-style: none;
  430. border-color: transparent;
  431. margin-top: 3px;
  432. min-height: 32px;
  433. button.image-button {
  434. &:hover {
  435. color: darken($selected_bg_color,5%);
  436. box-shadow: none;
  437. }
  438. }
  439. }
  440. > button.text-button {
  441. border-radius: 2px;
  442. color: $selected_fg_color;
  443. background-color: transparentize(darken($red,5%), 0.1);
  444. @include _shadows(inset 0px 1px 0px 0px $top_highlight,inset 0px -1px 0px 0px $bottom_highlight);
  445. &:hover {
  446. border-radius: 2px;
  447. color: $selected_fg_color;
  448. background-color: transparentize($red, 0.1);
  449. @include _shadows(inset 0px 1px 0px 0px $top_highlight,inset 0px -1px 0px 0px $bottom_highlight);
  450. }
  451. &:active {
  452. color: $selected_fg_color;
  453. background-color: transparentize(lighten($red,5%), 0.1);
  454. @include _shadows(inset 0px 1px 0px 0px $top_highlight,inset 0px -1px 0px 0px $bottom_highlight);
  455. }
  456. }
  457. &.bottom { border-bottom-style: none; }
  458. button {
  459. background-color: transparent;
  460. color: $fg_color;
  461. border-radius: 0;
  462. border: none;
  463. box-shadow: none;
  464. margin-top: -4px;
  465. margin-bottom: -4px;
  466. min-height: 32px;
  467. &:hover {
  468. border-radius: 0;
  469. background-color: transparent;
  470. color: $selected_bg_color;
  471. }
  472. &:active,
  473. &:checked {
  474. color: $selected_bg_color;
  475. border-radius: 0;
  476. background-color: transparent;
  477. }
  478. &:disabled {
  479. color: $insensitive_fg_color;
  480. }
  481. }
  482. }
  483. list {
  484. background-color: transparent;
  485. &:selected { background-color: transparentize($selected_bg_color,0.1); }
  486. row,
  487. row.activatable {
  488. background-color: transparent;
  489. &:selected { background-color: transparentize($selected_bg_color,0.1); }
  490. }
  491. }
  492. .raven-background {
  493. color: $fg_color;
  494. background-color: transparent;
  495. border-color: transparent;
  496. &.middle { border-bottom-style: none; } // applet background between two headers
  497. }
  498. .powerstrip {
  499. background-color: transparent;
  500. border-top-color: transparent;
  501. }
  502. .powerstrip button.image-button {
  503. border-radius:50%;
  504. padding: 5px;
  505. min-width: 32px;
  506. margin-bottom: 3px;
  507. background: transparentize($darkpurple,0.3);
  508. color: $selected_fg_color;
  509. box-shadow: $depth;
  510. border: none;
  511. font-size: 100%;
  512. &:hover {
  513. transition: 170ms ease all;
  514. background: transparentize($darkpurple,0.15);
  515. color: $selected_fg_color;
  516. }
  517. &:active {
  518. transition: 170ms ease all;
  519. background: $darkpurple;
  520. color: $selected_fg_color;
  521. }
  522. &:first-child {
  523. background: transparentize($cyan,0.3);
  524. &:hover {
  525. background: transparentize($cyan,0.15);
  526. }
  527. &:active {
  528. background: $cyan;
  529. }
  530. }
  531. &:last-child {
  532. background: transparentize($red,0.3);
  533. &:hover {
  534. background: transparentize($red,0.15);
  535. }
  536. &:active {
  537. background: $red;
  538. }
  539. }
  540. }
  541. .option-subtitle {
  542. font-size: 13px;
  543. }
  544. }
  545. // Calendar
  546. calendar.raven-calendar {
  547. padding: 4px;
  548. color: $fg_color;
  549. background-color: transparentize($bg_color, 0.8);
  550. border-color: transparent;
  551. &:indeterminate { color: gtkalpha(currentColor,0.3); }
  552. &:selected {
  553. background: transparent;
  554. color: $selected_bg_color;
  555. font-weight: bold;
  556. }
  557. &:backdrop { background-color: transparent; }
  558. &.header {
  559. color: $fg_color;
  560. border: none;
  561. border-radius: 0;
  562. background-color: transparent;
  563. }
  564. & button, & button:focus {
  565. color: gtkalpha(currentColor,0.5);
  566. background-color: transparent;
  567. &:hover {
  568. color: $fg_color;
  569. background-color: transparent;
  570. }
  571. }
  572. }
  573. // MPRIS Applet
  574. .raven-mpris {
  575. color: $mpris_overlay_fg;
  576. background-color: $mpris_overlay_bg;
  577. border: solid $mpris_overlay_border;
  578. border-width: 1px 0;
  579. border-bottom-color: $bottom_highlight;
  580. button.image-button {
  581. padding: 10px;
  582. background-color: $base_color;
  583. box-shadow: $depth;
  584. &:hover { background-color: $selected_bg_color; }
  585. &:active { background-color: darken($selected_bg_color,5%); }
  586. &:first-child { margin-right: 4px; }
  587. &:last-child { margin-left: 4px; }
  588. &:last-child,
  589. &:first-child {
  590. padding: 4px;
  591. margin-top: 6px;
  592. margin-bottom: 6px;
  593. }
  594. }
  595. }
  596. // Notifications
  597. .budgie-notification-window {
  598. background: none;
  599. border-radius: 1px;
  600. button {
  601. background-color: $cyan;
  602. color: darken($selected_fg_color, 75%);
  603. border: none;
  604. margin: 0 3px;
  605. &:hover {
  606. background-color: darken($cyan, 5%);
  607. border: none;
  608. }
  609. &:active, &:checked { background-color: darken($cyan, 5%); }
  610. }
  611. }
  612. .budgie-notification {
  613. &.background {
  614. border-radius: 1px;
  615. }
  616. .notification-title {
  617. font-size: 110%;
  618. color: $headerbar_fg_color;
  619. }
  620. .notification-body { color: transparentize($headerbar_fg_color, 0.3); }
  621. button {
  622. background-color: transparent;
  623. color: $selected_fg_color;
  624. &:hover {
  625. background-color: transparent;
  626. color: $red;
  627. box-shadow: none;
  628. }
  629. &:active, &:checked {
  630. background-color: transparent;
  631. color: darken($red, 5%);
  632. }
  633. }
  634. }
  635. .drop-shadow {
  636. color: $headerbar_fg_color;
  637. background-color: transparentize(if($variant=='light', $headerbar_color, $bg_color), 0.05);
  638. box-shadow: 0 1px 2px 0 transparentize(black, 0.8);
  639. border-radius: 2px;
  640. }
  641. // On Screen Display in Budgie
  642. .budgie-osd-window {
  643. @extend .budgie-notification-window;
  644. }
  645. // Internal part of the OSD
  646. .budgie-osd {
  647. @extend .budgie-notification;
  648. }
  649. // Alt+tab switcher in Budgie
  650. .budgie-switcher-window {
  651. @extend .budgie-notification-window;
  652. // Flowbox
  653. flowbox { color: $fg_color; }
  654. flowboxchild {
  655. padding: 3px;
  656. margin: 3px;
  657. color: $fg_color;
  658. &:hover { background-color: $button_bg; }
  659. &:active { color: $fg_color; }
  660. &:selected {
  661. color: $selected_fg_color;
  662. background-color: $selected_bg_color;
  663. &:active { color: $selected_fg_color; }
  664. &:hover { background-color: mix(black, $selected_bg_color, 10%); }
  665. &:disabled {
  666. color: transparentize($selected_fg_color, 0.3);
  667. background-color: transparentize($selected_bg_color, 0.2);
  668. label { color: transparentize($selected_fg_color, 0.2); }
  669. }
  670. }
  671. }
  672. }
  673. // Internal part of the Switcher
  674. .budgie-switcher {
  675. @extend .budgie-notification;
  676. }
  677. // Session Dialog
  678. .budgie-session-dialog {
  679. color: $headerbar_fg_color;
  680. background-color: $panel_bg;
  681. label:backdrop { color: $backdrop_headerbar_fg_color; }
  682. &.background { @extend .drop-shadow; }
  683. .dialog-title { font-size: 120%; }
  684. .linked.horizontal > button {
  685. margin-bottom: 0;
  686. min-height: 32px;
  687. border-bottom: none;
  688. border-radius: 0;
  689. color: $headerbar_fg_color;
  690. background-color: transparent;
  691. box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(0, 0, 0, 0.20);
  692. label { font-weight: 700; }
  693. &:first-child { border-left: none; border-bottom-left-radius: 2px; }
  694. &:last-child { border-right: none; border-bottom-right-radius: 2px; }
  695. &:hover {
  696. background-color: transparentize($selected_bg_color, 0.1);
  697. &:backdrop {
  698. label { color: transparentize(white, 0.5); }
  699. }
  700. }
  701. @each $b_type, $b_color in (suggested-action, $cyan),
  702. (destructive-action, $destructive_color) {
  703. &.#{$b_type} {
  704. background-color: transparentize($b_color, 0.1);
  705. &:hover { background-color: transparentize(lighten($b_color,5%), 0.1); }
  706. &:active, &:checked { background-color: transparentize(lighten($b_color,5%), 0.1); }
  707. }
  708. }
  709. }
  710. entry {
  711. background-color: #505359;
  712. color: $headerbar_fg_color;
  713. &:focus { background-color: #505359; }
  714. &:backdrop { background-color: #505359; }
  715. }
  716. }
  717. // PolKit Dialog
  718. .budgie-polkit-dialog {
  719. @extend .budgie-session-dialog;
  720. .message { color: transparentize($headerbar_fg_color, 0.3); }
  721. .failure { color: $alert_color; }
  722. }
  723. // Run Dialog
  724. .budgie-run-dialog {
  725. @extend .budgie-session-dialog;
  726. entry.search, entry.search:focus {
  727. font-size: 120%;
  728. padding: 8px 5px;
  729. border: none;
  730. box-shadow: none;
  731. image {
  732. color: $headerbar_fg_color;
  733. &:dir(ltr) { padding-left: 8px; padding-right: 12px; }
  734. &:dir(rtl) { padding-left: 12px; padding-right: 8px; }
  735. }
  736. }
  737. list row:selected .dim-label { opacity: 1; }
  738. scrolledwindow { border-top: 1px solid darken($entry_border, 5%); }
  739. }
  740. // Budgie styled Gtk Menus
  741. .budgie-menubar {
  742. menu {
  743. margin: 4px;
  744. padding: 5px;
  745. border-radius: 0;
  746. background-color: $panel_bg;
  747. menuitem:hover {
  748. background-color: $selected_bg_color;
  749. color: $selected_fg_color;
  750. }
  751. }
  752. arrow {
  753. border:none;
  754. min-width:16px;
  755. min-height:16px;
  756. &.top {
  757. -gtk-icon-source:-gtk-icontheme("pan-up-symbolic");
  758. border-bottom: 1px solid mix($fg_color, $raven_bg, 10%);
  759. }
  760. &.bottom {
  761. -gtk-icon-source:-gtk-icontheme("pan-down-symbolic");
  762. border-top: 1px solid mix($fg_color, $raven_bg, 10%);
  763. }
  764. }
  765. menuitem {
  766. accelerator {
  767. color: transparentize($fg_color, 0.65);
  768. }
  769. check, radio {
  770. min-height: 16px;
  771. min-width: 16px;
  772. }
  773. }
  774. }
  775. // settings-window
  776. window.background.budgie-settings-window.csd {
  777. > box.horizontal > stack > scrolledwindow {
  778. // hide double-borders
  779. buttonbox.inline-toolbar { border-style: none none solid; }
  780. }
  781. }
  782. .workspace-switcher {
  783. .workspace-layout {
  784. border: 0 solid $panel_bg;
  785. .top &,
  786. .bottom & {
  787. &:dir(ltr) { border-left-width: 1px; }
  788. &:dir(rtl) { border-right-width: 1px; }
  789. }
  790. .left &,
  791. .right & { border-top-width: 1px; }
  792. }
  793. .workspace-item,
  794. .workspace-add-button {
  795. border: 0 solid lighten($panel_bg, 10%);
  796. .top &,
  797. .bottom & {
  798. &:dir(ltr) { border-right-width: 1px; }
  799. &:dir(rtl) { border-left-width: 1px; }
  800. }
  801. .left &,
  802. .right & { border-bottom-width: 1px; }
  803. }
  804. .workspace-item {
  805. &.current-workspace { background-color: darken($panel_bg, 5%); }
  806. }
  807. .workspace-add-button {
  808. border: none;
  809. background: transparent;
  810. box-shadow: none;
  811. &:hover { box-shadow: none; }
  812. &:active { background-image: none; }
  813. &:active image { margin: 1px 0 -1px; }
  814. }
  815. .workspace-icon-button {
  816. .budgie-panel & { // to overwrite the .budgie-panel button style below
  817. min-height: 24px;
  818. min-width: 24px;
  819. padding: 0;
  820. border-radius: 2px;
  821. }
  822. }
  823. }