_common.scss 51 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306
  1. $corner-radius: 2px;
  2. /* GLOBALS */
  3. $font-size: 11;
  4. $_bubble_bg_color: $osd_bg_color;
  5. $_bubble_fg_color: $fg_color;
  6. $_bubble_borders_color: $fg_color;
  7. $_bubble_transparent: transparentize($osd_bg_color, 0.17);
  8. $topbar_bg_color: transparentize($main_dark, 0.05);
  9. stage {
  10. @include fontsize($font-size);
  11. color: $fg_color;
  12. }
  13. /* WIDGETS */
  14. /* Buttons */
  15. .button, %button {
  16. @include button(normal);
  17. border-radius: 5px;
  18. padding: 4px 32px;
  19. &:focus { @include button(focus); }
  20. &:insensitive { @include button(insensitive); }
  21. &:active { @include button(active); }
  22. &:hover {
  23. @include button(hover);
  24. }
  25. }
  26. .modal-dialog-linked-button {
  27. padding: 10px;
  28. @include button(normal);
  29. &:insensitive { @include button(insensitive); }
  30. &:active {
  31. @include button(active);
  32. }
  33. &:focus {
  34. @include button(focus);
  35. &:hover {
  36. @include button(focus);
  37. }
  38. }
  39. &:hover {
  40. @include button(hover);
  41. }
  42. &:first-child { border-radius: 0px 0px 0px 10px; }
  43. &:last-child { border-radius: 0px 0px 10px 0px; }
  44. &:first-child:last-child { border-radius: 0px 0px 10px 10px; }
  45. }
  46. /* Entries */
  47. StEntry {
  48. @include entry(normal);
  49. border-radius: 6px;
  50. padding: 4px;
  51. color: $fg_color;
  52. border-width: 1px;
  53. &:hover { @include entry(hover);}
  54. &:focus { @include entry(focus,$fc:transparentize($fg_color,0.5));}
  55. &:insensitive { @include entry(insensitive);}
  56. selection-background-color: $selected_bg_color;
  57. selected-color: $selected_fg_color;
  58. StIcon.capslock-warning {
  59. icon-size: 16px;
  60. warning-color: $warning_color;
  61. padding: 0 4px;
  62. }
  63. StLabel.hint-text { color: transparentize($fg_color, 0.3); }
  64. }
  65. /* Scrollbars */
  66. StScrollView {
  67. &.vfade { -st-vfade-offset: 68px; }
  68. &.hfade { -st-hfade-offset: 68px; }
  69. }
  70. StScrollBar {
  71. padding: 0;
  72. StScrollView & {
  73. min-width: 14px;
  74. min-height: 14px;
  75. }
  76. StBin#trough {
  77. border-radius: 0;
  78. background-color: transparent;
  79. }
  80. StButton#vhandle, StButton#hhandle {
  81. border-radius: 8px;
  82. background-color: mix($fg_color, $bg_color, 20%);
  83. //border: 3px solid transparent; //would be nice to margin or at least to transparent
  84. margin: 3px;
  85. &:hover { background-color: mix($fg_color, $bg_color, 80%); }
  86. &:active { background-color: $selected_bg_color; }
  87. }
  88. }
  89. /* Slider */
  90. .slider {
  91. height: 1em;
  92. color: $fg_color;
  93. border-color: black;
  94. box-shadow: none;
  95. -slider-height: 0.1em;
  96. -slider-background-color: $gray; //background of the trough
  97. -slider-border-color: black; //trough border color
  98. -slider-active-background-color: $teal; //active trough fill
  99. -slider-active-border-color: $lime; //active trough border
  100. -slider-border-width: 0;
  101. -slider-handle-radius: 6px;
  102. -slider-handle-border-width: 1px;
  103. -slider-handle-border-color: $fg_color; // because 0 width
  104. -barlevel-height: 0.2em;
  105. -barlevel-background-color: $gray;
  106. -barlevel-border-color: black;
  107. -barlevel-active-background-color: $teal;
  108. -barlevel-active-border-color: $lime;
  109. -barlevel-border-width: 0;
  110. -barlevel-handle-radius: 6px;
  111. -barlevel-overdrive-color: $teal;
  112. -barlevel-overdrive-border-color: transparent;
  113. -barlevel-overdrive-separator-width: 0px;
  114. }
  115. /* Check Boxes */
  116. .check-box {
  117. StBoxLayout { spacing: .8em; }
  118. StBin {
  119. width: 24px;
  120. height: 22px;
  121. background-image: url("assets/checkbox-off.svg");
  122. }
  123. &:focus, &:hover StBin { background-image: url("assets/checkbox-off-focused.svg"); }
  124. &:checked StBin { background-image: url("assets/checkbox.svg"); }
  125. &:focus:checked StBin { background-image: url("assets/checkbox-focused.svg"); }
  126. }
  127. /* Switches */
  128. .toggle-switch {
  129. width: 65px;
  130. height: 22px;
  131. background-size: contain;
  132. //Gnome 3.32//
  133. background-image: url("assets/toggle-off.svg");
  134. &:checked { background-image: url("assets/toggle-on.svg"); }
  135. }
  136. @each $v in us, intl {
  137. .toggle-switch-#{$v} {
  138. background-image: url("assets/toggle-off.svg");
  139. &:checked { background-image: url("assets/toggle-on.svg"); }
  140. }
  141. }
  142. /* links */
  143. .shell-link {
  144. color: $link_color;
  145. &:hover { color: lighten($link_color,10%); }
  146. }
  147. /* Modal Dialogs */
  148. .headline { font-size: 110%; }
  149. .lightbox { background-color: black; }
  150. .flashspot { background-color: white; }
  151. .modal-dialog {
  152. border: 1px solid $borders_color;
  153. border-radius: 10px;
  154. color: $osd_fg_color;
  155. background-color: darken($osd_bg_color,5%);
  156. box-shadow: $depth6;
  157. .modal-dialog-content-box { padding: 24px; }
  158. .run-dialog-entry {
  159. width: 20em;
  160. margin-bottom: 6px;
  161. }
  162. .run-dialog-error-box {
  163. color: $error_color;
  164. padding-top: 16px;
  165. spacing: 6px;
  166. }
  167. .run-dialog-button-box { padding-top: 1em; }
  168. .run-dialog-label {
  169. @include fontsize($font-size + 1.1);
  170. font-weight: bold;
  171. color: darken($osd_fg_color,10%);
  172. padding-bottom: .4em;
  173. }
  174. .run-dialog-description {
  175. color: $fg_color;
  176. }
  177. }
  178. .mount-dialog-subject,
  179. .end-session-dialog-subject { //this should be a generic header class
  180. @include fontsize($font-size * 1.3);
  181. }
  182. /* Message Dialog */
  183. .message-dialog-main-layout {
  184. padding: 12px 20px 0;
  185. spacing: 12px;
  186. }
  187. .message-dialog-content {
  188. max-width: 28em;
  189. spacing: 20px;
  190. }
  191. .message-dialog-icon {
  192. min-width: 48px;
  193. icon-size: 48px;
  194. }
  195. .message-dialog-title {
  196. font-weight: bold;
  197. }
  198. .message-dialog-subtitle {
  199. color: darken($fg_color,40%);
  200. font-weight: bold;
  201. }
  202. /* End Session Dialog */
  203. .end-session-dialog {
  204. spacing: 42px;
  205. border: none;
  206. & .modal-dialog-linked-button:last-child {
  207. background-color: $red;
  208. color: #fff;
  209. &:hover, &:focus {
  210. background: darken($error_color, 3%);
  211. color: #fff;
  212. }
  213. }
  214. }
  215. .end-session-dialog-list {
  216. padding-top: 20px;
  217. }
  218. .end-session-dialog-layout {
  219. padding-left: 17px;
  220. &:rtl { padding-right: 17px; }
  221. }
  222. .end-session-dialog-description {
  223. width: 28em;
  224. padding-bottom: 10px;
  225. &:rtl {
  226. text-align: right;
  227. }
  228. }
  229. .end-session-dialog-warning {
  230. width: 28em;
  231. color: $warning_color;
  232. padding-top: 6px;
  233. &:rtl {
  234. text-align: right;
  235. }
  236. }
  237. .end-session-dialog-logout-icon {
  238. //border: 2px solid #8b8b8b;
  239. border-radius: 3px;
  240. width: 48px;
  241. height: 48px;
  242. background-size: contain;
  243. }
  244. .end-session-dialog-shutdown-icon {
  245. color: $error_color;
  246. width: 48px;
  247. height: 48px;
  248. }
  249. .end-session-dialog-inhibitor-layout {
  250. spacing: 16px;
  251. max-height: 200px;
  252. padding-right: 65px;
  253. padding-left: 65px;
  254. }
  255. .end-session-dialog-session-list,
  256. .end-session-dialog-app-list {
  257. spacing: 1em;
  258. }
  259. .end-session-dialog-list-header {
  260. font-weight: bold;
  261. &:rtl { text-align: right; }
  262. }
  263. .end-session-dialog-app-list-item,
  264. .end-session-dialog-session-list-item {
  265. spacing: 1em;
  266. }
  267. .end-session-dialog-app-list-item-name,
  268. .end-session-dialog-session-list-item-name {
  269. font-weight: bold;
  270. }
  271. .end-session-dialog-app-list-item-description {
  272. color: darken($fg_color,5%);
  273. font-size: 10pt;
  274. }
  275. /* ShellMountOperation Dialogs */
  276. .shell-mount-operation-icon { icon-size: 48px; }
  277. .mount-dialog {
  278. spacing: 24px;
  279. .message-dialog-title {
  280. padding-top: 10px;
  281. padding-left: 17px;
  282. padding-bottom: 6px;
  283. max-width: 34em;
  284. }
  285. .message-dialog-title:rtl {
  286. padding-left: 0px;
  287. padding-right: 17px;
  288. }
  289. .message-dialog-body {
  290. padding-left: 17px;
  291. width: 28em;
  292. }
  293. .message-dialog-body:rtl {
  294. padding-left: 0px;
  295. padding-right: 17px;
  296. }
  297. }
  298. .mount-dialog-app-list {
  299. max-height: 200px;
  300. padding-top: 24px;
  301. padding-left: 49px;
  302. padding-right: 32px;
  303. }
  304. .mount-dialog-app-list:rtl {
  305. padding-right: 49px;
  306. padding-left: 32px;
  307. }
  308. .mount-dialog-app-list-item {
  309. color: darken($fg_color,10%);
  310. &:hover { color: $fg_color; }
  311. &:ltr { padding-right: 1em; }
  312. &:rtl { padding-left: 1em; }
  313. }
  314. .mount-dialog-app-list-item-icon {
  315. &:ltr { padding-right: 17px; }
  316. &:rtl { padding-left: 17px; }
  317. }
  318. .mount-dialog-app-list-item-name {
  319. font-size: 10pt;
  320. }
  321. /* Password or Authentication Dialog */
  322. .prompt-dialog {
  323. //this is the width of the entire modal popup
  324. width: 34em;
  325. border: none;
  326. border-radius: 10px;
  327. .message-dialog-main-layout { spacing: 24px; padding: 10px; }
  328. .message-dialog-content { spacing: 16px; }
  329. .message-dialog-title { color: darken($osd_fg_color,25%); }
  330. }
  331. .prompt-dialog-description:rtl {
  332. text-align: right;
  333. }
  334. .prompt-dialog-password-box {
  335. spacing: 1em;
  336. padding-bottom: 1em;
  337. }
  338. .prompt-dialog-error-label {
  339. font-size: 10pt;
  340. color: $error_color;
  341. padding-bottom: 8px;
  342. }
  343. .prompt-dialog-info-label {
  344. font-size: 10pt;
  345. padding-bottom: 8px;
  346. }
  347. .hidden {
  348. color: rgba(0,0,0,0);
  349. }
  350. .prompt-dialog-null-label {
  351. font-size: 10pt;
  352. padding-bottom: 8px;
  353. }
  354. /* Polkit Dialog */
  355. .polkit-dialog-user-layout {
  356. padding-left: 10px;
  357. spacing: 10px;
  358. &:rtl {
  359. padding-left: 0px;
  360. padding-right: 10px;
  361. }
  362. }
  363. .polkit-dialog-user-root-label {
  364. color: $warning_color;
  365. }
  366. .polkit-dialog-user-icon {
  367. border-radius: 3px;
  368. background-size: contain;
  369. width: 48px;
  370. height: 48px;
  371. }
  372. /* Audio selection dialog */
  373. .audio-device-selection-dialog {
  374. spacing: 30px;
  375. }
  376. .audio-selection-content {
  377. spacing: 20px;
  378. padding: 24px;
  379. }
  380. .audio-selection-title {
  381. font-weight: bold;
  382. text-align: center;
  383. }
  384. .audio-selection-box {
  385. spacing: 20px;
  386. }
  387. .audio-selection-device {
  388. border: 1px solid $_bubble_borders_color;
  389. border-radius: 12px;
  390. &:active,&:hover,&:focus { background-color: $selected_bg_color; }
  391. }
  392. .audio-selection-device-box {
  393. padding: 20px;
  394. spacing: 20px;
  395. }
  396. .audio-selection-device-icon {
  397. icon-size: 64px;
  398. }
  399. /* Access Dialog */
  400. .access-dialog {
  401. spacing: 30px;
  402. }
  403. /* Geolocation Dialog */
  404. .geolocation-dialog {
  405. spacing: 30px;
  406. }
  407. /* Extension Dialog */
  408. .extension-dialog {
  409. .message-dialog-main-layout { spacing: 24px; padding: 10px; }
  410. .message-dialog-title { color: darken($osd_fg_color,25%); }
  411. }
  412. /* Inhibit-Shortcuts Dialog */
  413. .inhibit-shortcuts-dialog {
  414. spacing: 30px;
  415. }
  416. /* Network Agent Dialog */
  417. .network-dialog-secret-table {
  418. spacing-rows: 15px;
  419. spacing-columns: 1em;
  420. }
  421. .keyring-dialog-control-table {
  422. spacing-rows: 15px;
  423. spacing-columns: 1em;
  424. }
  425. /* Popovers/Menus */
  426. .popup-menu {
  427. min-width: 15em;
  428. background-color: transparent;
  429. color: $fg_color;
  430. //.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is
  431. &.panel-menu {
  432. -boxpointer-gap: 4px;
  433. margin-bottom: 1.75em;
  434. }
  435. }
  436. .popup-menu-arrow { } //defined globally in the TOP BAR
  437. .popup-sub-menu {
  438. background-color: lighten($bg_color, 2%);
  439. box-shadow: $depth6;
  440. border: none;
  441. border-radius: 0px 0px 6px 6px;
  442. .popup-menu-item {
  443. border-radius: 0;
  444. margin: 0;
  445. &:last-child {
  446. border-radius: 0 0 6px 6px;
  447. }
  448. &:active,
  449. &.selected,
  450. &:hover,
  451. &:focus { background-color: lighten($bg_color, 9%) !important; color: $fg_color; }
  452. }
  453. }
  454. .popup-menu-content {
  455. padding: 6px;
  456. background: $main_dark;
  457. border-radius: 12px;
  458. border: 1px solid $borders_color;
  459. }
  460. .popup-menu-item {
  461. spacing: 6px;
  462. border-radius: 6px;
  463. background-gradient-direction: none;
  464. &:ltr {padding-left: 6px;}
  465. &:rtl {padding-right: 6px;}
  466. &:active,
  467. &.selected,
  468. &:hover,
  469. &:focus { background-color: lighten($bg_color, 3%) !important; color: $fg_color !important; }
  470. &:checked {
  471. background-color: lighten($bg_color, 7%) !important;
  472. border-radius: 6px 6px 0px 0px;
  473. box-shadow: none;
  474. color: $selected_fg_color !important;
  475. }
  476. &:insensitive { color: transparentize($fg_color,.5); }
  477. }
  478. .popup-inactive-menu-item { //all icons and other graphical elements
  479. color: $fg_color;
  480. &:insensitive { color: transparentize($fg_color,0.5); }
  481. }
  482. // symbolic icons in popover
  483. .popup-menu-arrow,
  484. .popup-menu-icon {
  485. icon-size: 16px !important; // for some reason the variable doesn't work here
  486. }
  487. .popup-menu-ornament {
  488. text-align: right;
  489. width: 1.2em;
  490. }
  491. // separator
  492. .popup-separator-menu-item {
  493. margin: 6px 0;
  494. padding:0 !important;
  495. &:ltr { margin-right: 6px;}
  496. &:rtl { margin-left: 6px;}
  497. .popup-separator-menu-item-separator {
  498. height: 1px; //not really the whole box
  499. background-color: $gray;
  500. }
  501. .popup-menu-ornament {
  502. width: 0 !important;
  503. }
  504. // separators in submenus
  505. .popup-sub-menu & {
  506. background-color: transparent;
  507. // account for ornament
  508. &:ltr { margin-right: 2.5em;}
  509. &:rtl { margin-left: 2.5em;}
  510. .popup-separator-menu-item-separator {
  511. background-color: lighten($gray, 7%);
  512. }
  513. }
  514. }
  515. // Background menu
  516. .background-menu { -boxpointer-gap: 4px; -arrow-rise: 0px; }
  517. /* fallback menu
  518. - odd thing for styling App menu when apparently not running under shell. Light Adwaita styled
  519. app menu inside the main app window itself rather than the top bar
  520. */
  521. /* OSD */
  522. .osd-window {
  523. text-align: center;
  524. font-weight: bold;
  525. spacing: 1em;
  526. margin: 32px;
  527. min-width: 64px;
  528. min-height: 64px;
  529. .osd-monitor-label { font-size: 3em; }
  530. .level {
  531. height: 0.4em;
  532. border-radius: 0.3em;
  533. color: $osd_fg_color;
  534. border: 1px solid $borders_color;
  535. -barlevel-height: 0.4em;
  536. -barlevel-background-color: $gray;
  537. -barlevel-active-background-color: $selected_bg_color;
  538. -barlevel-overdrive-color: $red;
  539. -barlevel-overdrive-separator-width: 0.2em;
  540. }
  541. .level-bar {
  542. background-color: $selected_bg_color;
  543. border-radius: 0.3em;
  544. }
  545. }
  546. /* Pad OSD */
  547. .pad-osd-window {
  548. padding: 32px;
  549. background-color: transparentize(black, 0.2);
  550. .pad-osd-title-box { spacing: 12px; }
  551. .pad-osd-title-menu-box { spacing: 6px; }
  552. }
  553. .combo-box-label {
  554. width: 15em;
  555. }
  556. /* App Switcher */
  557. .switcher-popup {
  558. padding: 8px;
  559. spacing: 16px;
  560. }
  561. .osd-window,
  562. .resize-popup,
  563. .switcher-list {
  564. @extend %osd-panel;
  565. }
  566. .switcher-list-item-container { spacing: 8px; }
  567. .switcher-list .item-box {
  568. padding: 8px;
  569. border-radius: 4px;
  570. }
  571. .switcher-list .item-box:outlined {
  572. padding: 6px;
  573. border: 2px solid darken($borders_color,10%);
  574. }
  575. .switcher-list .item-box:selected {
  576. background-color: $selected_bg_color;
  577. color: $selected_fg_color;
  578. }
  579. .switcher-list .thumbnail-box {
  580. padding: 2px;
  581. spacing: 4px;
  582. }
  583. .switcher-list .thumbnail {
  584. width: 256px;
  585. }
  586. .switcher-list .separator {
  587. width: 1px;
  588. background: $borders_color;
  589. }
  590. .switcher-arrow {
  591. border-color: rgba(0,0,0,0);
  592. color: transparentize($fg_color,0.2);
  593. &:highlighted {
  594. color: $fg_color;
  595. }
  596. }
  597. .input-source-switcher-symbol {
  598. font-size: 34pt;
  599. width: 96px;
  600. height: 96px;
  601. }
  602. /* Window Cycler */
  603. .cycler-highlight { border: 5px solid $selected_bg_color; }
  604. /* Workspace Switcher */
  605. .workspace-switcher-group { padding: 12px; }
  606. .workspace-switcher-container {
  607. @extend %osd-panel;
  608. }
  609. .workspace-switcher {
  610. background: transparent;
  611. border: 0px;
  612. border-radius: 0px;
  613. padding: 0px;
  614. spacing: 8px;
  615. }
  616. .ws-switcher-active-up,
  617. .ws-switcher-active-down,
  618. .ws-switcher-active-left,
  619. .ws-switcher-active-right {
  620. height: 50px;
  621. background-color: $selected_bg_color;
  622. color: $selected_fg_color;
  623. border: none;
  624. background-size: 32px;
  625. border-radius: 8px;
  626. }
  627. .ws-switcher-active-up {
  628. background-image: url("assets/ws-switch-arrow-up.png"); }
  629. .ws-switcher-active-down {
  630. background-image: url("assets/ws-switch-arrow-down.png"); }
  631. .ws-switcher-box {
  632. height: 50px;
  633. border: 1px solid transparentize($osd_fg_color,0.9);
  634. background: darken($_bubble_bg_color, 10%);
  635. border-radius: 8px;
  636. }
  637. %osd-panel {
  638. color: $_bubble_fg_color;
  639. background-color: $_bubble_bg_color;
  640. border: 1px solid $borders_color;
  641. box-shadow: 0px 0px 7px $borders_color;
  642. border-radius: 5px;
  643. padding: 12px;
  644. }
  645. /* Tiled window previews */
  646. .tile-preview {
  647. background-color: transparentize($selected_bg_color, 0.2);
  648. border: 1px solid $selected_bg_color;
  649. }
  650. .tile-preview-left.on-primary {
  651. border-radius: $corner-radius $corner-radius 0 0;
  652. }
  653. .tile-preview-right.on-primary {
  654. border-radius: 0 $corner-radius 0 0;
  655. }
  656. .tile-preview-left.tile-preview-right.on-primary {
  657. border-radius: $corner-radius $corner-radius 0 0;
  658. }
  659. /* TOP BAR */
  660. #panel {
  661. background-gradient-direction: none;
  662. background-color: $topbar_bg_color;
  663. /* transition from solid to transparent */
  664. transition-duration: 500ms;
  665. font-weight: bold;
  666. height: 2.1em;
  667. padding: 0px 0px;
  668. &.unlock-screen,
  669. &.login-screen,
  670. &.lock-screen {
  671. background-color: transparent;
  672. }
  673. #panelLeft, #panelCenter { // spacing between activities<>app menu and such
  674. spacing: 4px;
  675. }
  676. .panel-corner {
  677. -panel-corner-radius: 0px;
  678. -panel-corner-background-color: rgba(0, 0, 0, 0.2);
  679. -panel-corner-border-width: 2px;
  680. -panel-corner-border-color: transparent;
  681. &:active, &:overview, &:focus {
  682. -panel-corner-border-color: lighten($selected_bg_color,5%);
  683. }
  684. &.lock-screen, &.login-screen, &.unlock-screen {
  685. -panel-corner-radius: 0;
  686. -panel-corner-background-color: transparent;
  687. -panel-corner-border-color: transparent;
  688. }
  689. }
  690. .panel-button {
  691. -natural-hpadding: 12px;
  692. -minimum-hpadding: 6px;
  693. font-weight: bold;
  694. color: $topbar_color;
  695. transition-duration: 100ms;
  696. .app-menu-icon {
  697. -st-icon-style: symbolic;
  698. margin-left: 4px;
  699. margin-right: 4px;
  700. //dimensions of the icon are hardcoded
  701. }
  702. .system-status-icon,
  703. .app-menu-icon > StIcon,
  704. .popup-menu-arrow {
  705. icon-shadow: none;
  706. }
  707. &:hover {
  708. box-shadow: inset 0 0 0 100px lighten($topbar_bg_color, 10%);
  709. color: lighten($topbar_color, 10%);
  710. transition-duration: 200ms;
  711. &.clock-display {
  712. box-shadow: none;
  713. .clock {
  714. box-shadow: inset 0 0 0 100px lighten($topbar_bg_color, 10%);
  715. }
  716. }
  717. }
  718. &:active, &:overview, &:focus, &:checked {
  719. // Trick due to St limitations. It needs a background to draw
  720. // a box-shadow
  721. box-shadow: inset 0 0 0 100px $selected_bg_color;
  722. color: $selected_fg_color;
  723. transition-duration: 200ms;
  724. &.clock-display {
  725. box-shadow: none;
  726. .clock {
  727. box-shadow: inset 0 0 0 100px $selected_bg_color;
  728. }
  729. }
  730. }
  731. .system-status-icon { icon-size: 1.09em; padding: 0 5px; }
  732. .unlock-screen &,
  733. .login-screen &,
  734. .lock-screen & {
  735. color: lighten($fg_color, 10%);
  736. &:focus, &:hover, &:active { color: lighten($fg_color, 10%); }
  737. }
  738. }
  739. .panel-status-indicators-box,
  740. .panel-status-menu-box {
  741. spacing: 2px;
  742. }
  743. // spacing between power icon and (optional) percentage label
  744. .power-status.panel-status-indicators-box {
  745. spacing: 0;
  746. }
  747. .screencast-indicator { color: $warning_color; }
  748. &.solid {
  749. background-color: $dracula;
  750. /* transition from transparent to solid */
  751. transition-duration: 300ms;
  752. .panel-corner {
  753. -panel-corner-background-color: black;
  754. }
  755. .system-status-icon,
  756. .app-menu-icon > StIcon,
  757. .popup-menu-arrow {
  758. icon-shadow: none;
  759. }
  760. }
  761. }
  762. .calendar {
  763. background: transparent;
  764. border: none;
  765. box-shadow: none;
  766. }
  767. .world-clocks-button, .weather-button, .events-button {
  768. background: darken($bg_color, 0.7%);
  769. border-radius: 7px;
  770. box-shadow: 0px 0px 1px 1px $borders_color inset;
  771. color: $fg_color;
  772. }
  773. .datemenu-calendar-column {
  774. border: none;
  775. }
  776. .datemenu-today-button,
  777. .events-section-title,
  778. .message-list-section-title{
  779. border-radius: 4px;
  780. color: $fg_color;
  781. padding: .4em;
  782. }
  783. .datemenu-today-button,
  784. .world-clocks-button,
  785. .weather-button,
  786. .events-section-title,
  787. .message-list-section-title,
  788. .events-button {
  789. &:hover,&:focus { background-color: lighten($bg_color,5%); }
  790. &:active {
  791. color: lighten($selected_fg_color,5%);
  792. background-color: $selected_bg_color;
  793. }
  794. }
  795. .datemenu-today-button .day-label {
  796. }
  797. .datemenu-today-button .date-label {
  798. font-size: 1.5em;
  799. }
  800. .world-clocks-header,
  801. .weather-header,
  802. .events-section-title,
  803. .message-list-section-title,
  804. .events-title {
  805. color: darken($fg_color, 10%);
  806. font-weight: bold;
  807. }
  808. .events-button .event-time {
  809. color: darken($fg_color, 4%);
  810. }
  811. .world-clocks-grid {
  812. spacing-rows: 0.4em;
  813. }
  814. .weather-box {
  815. spacing: 0.4em;
  816. }
  817. .calendar-month-label {
  818. color: darken($fg_color,5%);
  819. font-weight: bold;
  820. padding: 8px 0;
  821. &:focus {}
  822. }
  823. .pager-button {
  824. color: white;
  825. background-color: transparent;
  826. width: 32px;
  827. border-radius: 4px;
  828. &:hover, &:focus { background-color: transparentize($fg_color,0.95); }
  829. &:active { background-color: transparentize($bg_color,0.95); }
  830. }
  831. .calendar-change-month-back { //arrow back
  832. background-image: url("assets/calendar-arrow-left.svg");
  833. &:rtl { background-image: url("assets/calendar-arrow-right.svg"); }
  834. }
  835. .calendar-change-month-forward { //arrow foreward
  836. background-image: url("assets/calendar-arrow-right.svg");
  837. &:rtl { background-image: url("assets/calendar-arrow-left.svg"); }
  838. }
  839. .calendar-change-month-back StIcon,
  840. .calendar-change-month-forward StIcon {
  841. color: darken($fg_color, 5%);
  842. }
  843. .calendar-day-base {
  844. font-size: 80%;
  845. text-align: center;
  846. width: 2.4em; height: 2.4em;
  847. padding: 0.1em;
  848. margin: 2px;
  849. border-radius: 99px;
  850. color: $fg_color;
  851. background-gradient-direction: none;
  852. &:hover,&:focus {
  853. background-color: lighten($bg_color, 7%);
  854. box-shadow: none;
  855. }
  856. &:active,&:selected {
  857. color: lighten($selected_fg_color,5%);
  858. background-color: $selected_bg_color;
  859. border-color: transparent; //avoid jumparound due to today
  860. box-shadow: none;
  861. }
  862. &.calendar-day-heading { //day of week heading
  863. color: $fg_color;
  864. margin-top: 1em;
  865. font-size: 70%;
  866. }
  867. }
  868. .calendar-day { //border collapse hack - see calendar.js
  869. border-width: 0;
  870. }
  871. .calendar-day-top { border-top-width: 1px; }
  872. .calendar-day-left { border-left-width: 1px; }
  873. .calendar-work-day {
  874. }
  875. .calendar-nonwork-day {
  876. color: $insensitive_fg_color;
  877. }
  878. // Today
  879. .calendar-today {
  880. font-weight: bold;
  881. border: 1px solid $selected_bg_color;
  882. background-color: transparent;
  883. color: $selected_fg_color !important;
  884. &:hover,&:focus {
  885. background-color:lighten($selected_bg_color, 3%);
  886. color: $selected_fg_color;
  887. }
  888. &:active,&:selected {
  889. background-color: $selected_bg_color;
  890. color: $selected_fg_color;
  891. &:hover,&:focus {
  892. background-color:lighten($selected_bg_color, 3%);
  893. color: $selected_fg_color;
  894. }
  895. }
  896. }
  897. .calendar-day-with-events {
  898. color: lighten($fg_color,10%);
  899. font-weight: bold;
  900. background-image: url("assets/calendar-today.svg");
  901. }
  902. .calendar-other-month-day {
  903. color: $insensitive_fg_color;
  904. opacity: 0.5;
  905. }
  906. .calendar-week-number {
  907. font-size: 70%;
  908. font-weight: bold;
  909. width: 2.3em; height: 1.8em;
  910. border-radius: 2px;
  911. padding: 0.5em 0 0;
  912. margin: 6px;
  913. background-color: transparentize($fg_color,0.7);
  914. color: $bg_color;
  915. }
  916. /* Message list */
  917. .message-list {
  918. border-color: $gray;
  919. .message-title, .message-content, .message-body {
  920. color: darken($fg_color, 2%);
  921. }
  922. }
  923. .message-list-sections {
  924. spacing: 1em;
  925. }
  926. .message-list-section,
  927. .message-list-section-list {
  928. spacing: 0.4em;
  929. }
  930. .message-list-section-close{
  931. & > StIcon {
  932. icon-size: 16px;
  933. border-radius: 16px;
  934. padding: 8px;
  935. color: $fg_color;
  936. background-color: transparent;
  937. }
  938. &:hover > StIcon,
  939. &:focus > StIcon
  940. &:active > StIcon{
  941. color: $selected_fg_color;
  942. background: transparent;
  943. }
  944. }
  945. .message {
  946. &:hover,&:focus {
  947. background-color: lighten($base_color, 4%);
  948. }
  949. background: $base_color;
  950. border: 1px solid $borders_color;
  951. border-radius: 8px;
  952. box-shadow: none;
  953. }
  954. .message-close-button {
  955. color: $fg_color;
  956. &:hover > StIcon,
  957. &:focus > StIcon
  958. &:active > StIcon{
  959. color: $selected_fg_color;
  960. background: transparent;
  961. }
  962. }
  963. .message-secondary-bin > .event-time {
  964. color: darken($fg_color, 15%);
  965. font-size: 0.7em;
  966. /* HACK: the label should be baseline-aligned with a 1em label,
  967. fake this with some bottom padding */
  968. padding-bottom: 0.13em;
  969. }
  970. .message-secondary-bin > StIcon {
  971. icon-size: 16px;
  972. }
  973. .message-title {
  974. //color: darken($fg_color,5%);
  975. }
  976. .message-content {
  977. // color: darken($fg_color,20%);
  978. padding: 10px;
  979. }
  980. /* Media Controls */
  981. .message-media-control {
  982. color: $fg_color;
  983. // colors are lightened since the media controls are in a card
  984. &:hover {
  985. background-color: lighten($base_color, 8%);
  986. color: $selected_fg_color;
  987. }
  988. &:active {
  989. background-color: lighten($base_color, 12%);
  990. color: $selected_fg_color;
  991. }
  992. &:insensitive { color: lighten($insensitive_fg_color, 5%); }
  993. }
  994. .media-message-cover-icon {
  995. icon-size: 48px !important;
  996. &.fallback {
  997. color: lighten($bg_color,10%);
  998. background-color: $bg_color;
  999. border: 2px solid $bg_color;
  1000. border-radius: 2px;
  1001. icon-size: 16px;
  1002. padding: 8px; }
  1003. }
  1004. /* World clocks */
  1005. .world-clocks-button {
  1006. // city label
  1007. .world-clocks-city {
  1008. color: $fg_color;
  1009. font-weight: normal;
  1010. }
  1011. // timezone time
  1012. .world-clocks-time {
  1013. font-weight: bold;
  1014. color: $fg_color;
  1015. font-feature-settings: "lnum";
  1016. text-align: right;
  1017. }
  1018. // timezone offset label
  1019. .world-clocks-timezone {
  1020. color: darken($fg_color, 20%);
  1021. font-feature-settings: "tnum";
  1022. }
  1023. }
  1024. /* Weather */
  1025. .weather-button {
  1026. .weather-header {
  1027. color: darken($fg_color, 10%);
  1028. font-weight: bold;
  1029. &.location {
  1030. font-weight: normal;
  1031. }
  1032. }
  1033. .weather-forecast-time {
  1034. color: darken($fg_color, 10%);
  1035. font-feature-settings: "tnum";
  1036. font-weight: normal;
  1037. padding-top: 0.2em;
  1038. padding-bottom: 0.4em;
  1039. }
  1040. .weather-forecast-temp {
  1041. font-weight: bold;
  1042. }
  1043. }
  1044. // a little unstructured mess:
  1045. .system-switch-user-submenu-icon.user-icon {
  1046. icon-size: 20px;
  1047. padding: 0 2px;
  1048. }
  1049. .system-switch-user-submenu-icon.default-icon {
  1050. icon-size: 16px;
  1051. padding: 0 4px;
  1052. }
  1053. #appMenu {
  1054. spinner-image: url("assets/process-working.svg");
  1055. spacing: 4px;
  1056. .label-shadow { color: transparent; }
  1057. }
  1058. .aggregate-menu {
  1059. min-width: 21em;
  1060. .popup-menu-icon { padding: 0 4px; }
  1061. }
  1062. .system-menu-action {
  1063. color: $fg_color;
  1064. border-radius: 32px; /* wish we could do 50% */
  1065. border: 1px solid $borders_color;
  1066. background: darken($bg_color, 3%);
  1067. padding: 13px;
  1068. &:hover, &:focus {
  1069. border: 1px solid $selected_bg_color;
  1070. color: $selected_bg_color;
  1071. background: transparent;
  1072. }
  1073. &:active {
  1074. background-color: darken($selected_bg_color, 10%);
  1075. color: $selected_fg_color;
  1076. border: 1px solid darken($selected_bg_color, 10%);
  1077. }
  1078. & > StIcon { icon-size: 16px; }
  1079. }
  1080. //Activities Ripples
  1081. .ripple-box {
  1082. width: 52px;
  1083. height: 52px;
  1084. background-image: url("assets/corner-ripple-ltr.png");
  1085. background-size: contain;
  1086. }
  1087. .ripple-box:rtl {
  1088. background-image: url("assets/corner-ripple-rtl.png");
  1089. }
  1090. // not really top bar only
  1091. .popup-menu-arrow { width: 16px; height: 16px; }
  1092. .popup-menu-icon { icon-size: 1.09em; }
  1093. //close buttons
  1094. .window-close {
  1095. background-color: $main_dark;
  1096. color: lighten($fg_color, 4%);
  1097. border-radius: 30px * 0.5 + 3px * 2;
  1098. border: 2px solid $borders_color;
  1099. padding: 3px;
  1100. height: 28px;
  1101. width: 28px;
  1102. box-shadow: -1px 1px 5px 0px rgba(0,0,0,0.5);
  1103. transition-duration: 300ms;
  1104. & StIcon { icon-size: 23px; }
  1105. &:hover {
  1106. border-color: $selected_bg_color;
  1107. }
  1108. &:active {
  1109. color: $purple;
  1110. background-color: darken($osd_bg_color, 5%);
  1111. }
  1112. }
  1113. .window-close {
  1114. -shell-close-overlap: 16px;
  1115. &:rtl { -st-background-image-shadow: 2px 2px 6px rgba(0,0,0,0.5); }
  1116. }
  1117. /* NETWORK DIALOGS */
  1118. .nm-dialog {
  1119. max-height: 34em;
  1120. min-height: 31em;
  1121. min-width: 32em;
  1122. }
  1123. .nm-dialog-content {
  1124. spacing: 20px;
  1125. padding: 24px;
  1126. }
  1127. .nm-dialog-header-hbox { spacing: 10px; }
  1128. .nm-dialog-airplane-box { spacing: 12px; }
  1129. .nm-dialog-airplane-headline {
  1130. font-weight: bold;
  1131. text-align: center;
  1132. }
  1133. .nm-dialog-airplane-text { color: $fg_color; }
  1134. .nm-dialog-header-icon { icon-size: 32px; }
  1135. .nm-dialog-scroll-view { border: 2px solid $borders_color; background: $bg_color; }
  1136. .nm-dialog-header { font-weight: bold; }
  1137. .nm-dialog-item {
  1138. font-size: 110%;
  1139. border-bottom: 1px solid $borders_color;
  1140. padding: 12px;
  1141. spacing: 20px;
  1142. }
  1143. .nm-dialog-item:selected {
  1144. background-color: $selected_bg_color;
  1145. color: $selected_fg_color;
  1146. }
  1147. .nm-dialog-icons { spacing: .5em; }
  1148. .nm-dialog-icon { icon-size: 16px; }
  1149. .no-networks-label { color: #999999; }
  1150. .no-networks-box { spacing: 12px; }
  1151. /* OVERVIEW */
  1152. #overview,.controls-manager, .secondary-monitor-workspaces {
  1153. spacing: 24px; //
  1154. }
  1155. #overviewGroup {
  1156. background-color: $base_color;
  1157. }
  1158. .overview-controls {
  1159. padding-bottom: 32px;
  1160. }
  1161. .window-picker { //container around window thumbnails
  1162. -horizontal-spacing: 16px;
  1163. -vertical-spacing: 16px;
  1164. &.external-monitor { padding: 16px; }
  1165. }
  1166. .window-clone-border {
  1167. border: 1px solid transparentize(rgba(255, 255, 255, 0.3),.7);
  1168. border-radius: 0px;
  1169. // For window decorations with round corners we can't match
  1170. // the exact shape when the window is scaled. So apply a shadow
  1171. // to fix that case
  1172. box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  1173. }
  1174. .window-caption {
  1175. spacing: 20px;
  1176. color: $topbar_color;
  1177. background-color: $main_dark;
  1178. border: 1px solid $borders_color;
  1179. padding: 4px 8px;
  1180. }
  1181. //search entry
  1182. .search-entry {
  1183. width: 320px;
  1184. padding: 9px;
  1185. border-radius: 10px;
  1186. color: $fg_color;
  1187. border-color: transparent;
  1188. .search-entry-icon { icon-size: 1em; padding: 0 4px; color: transparentize($fg_color,.3); }
  1189. }
  1190. //search results
  1191. %search-section-content-item {
  1192. &:focus,
  1193. &:hover,
  1194. &:selected {
  1195. background-color: transparentize($osd_fg_color, .9);
  1196. transition-duration: 200ms;
  1197. }
  1198. &:active,
  1199. &:checked {
  1200. background-color: transparentize(darken($osd_bg_color, 10%), .1);
  1201. }
  1202. }
  1203. #searchResultsBin {
  1204. max-width: 1000px;
  1205. }
  1206. #searchResultsContent {
  1207. padding-left: 20px;
  1208. padding-right: 20px;
  1209. spacing: 16px;
  1210. }
  1211. .search-section { spacing: 16px; } // This should be equal to #searchResultsContent spacing
  1212. .search-section-content {
  1213. background-color: transparent;
  1214. border-radius: 0;
  1215. border: none;
  1216. box-shadow: none;
  1217. // This is the space between the provider icon and the results container
  1218. spacing: 32px;
  1219. }
  1220. .search-statustext { // "no results"
  1221. @extend %status_text;
  1222. }
  1223. .list-search-results { spacing: 3px; }
  1224. .search-section-separator { height: 2px; background-color: $gray; }
  1225. .list-search-result-content { spacing: 30px; }
  1226. .list-search-result-title { color: lighten($topbar_color,5%); spacing: 12px; }
  1227. .list-search-result-description { color: transparentize(lighten($topbar_color,15%), 0.5); }
  1228. .list-search-provider-details { width: 150px; color: lighten($topbar_color,5%); margin-top: 0.24em; }
  1229. .list-search-provider-content { spacing: 20px; }
  1230. .search-provider-icon { padding: 15px; }
  1231. //Icon tile
  1232. .search-provider-icon,
  1233. .list-search-result {
  1234. @extend %search-section-content-item;
  1235. }
  1236. /* DASHBOARD */
  1237. .dash-background {
  1238. background-color: $main_dark;
  1239. }
  1240. .dash-separator {
  1241. width: 1px;
  1242. background-color: $gray;
  1243. }
  1244. .dash-label { //osd tooltip
  1245. border-radius: 7px;
  1246. padding: 4px 12px;
  1247. color: $topbar_color;
  1248. background-color: $topbar_bg_color;
  1249. text-align: center;
  1250. -x-offset: 8px;
  1251. }
  1252. /* App Vault/Grid */
  1253. .icon-grid {
  1254. spacing: 30px;
  1255. -shell-grid-horizontal-item-size: 136px;
  1256. -shell-grid-vertical-item-size: 136px;
  1257. .overview-icon { icon-size: 96px; }
  1258. }
  1259. //.app-display { spacing: 20px; }
  1260. .system-action-icon {
  1261. background-color: black;
  1262. color: white;
  1263. border-radius: 99px;
  1264. icon-size: 48px;
  1265. }
  1266. .app-view-controls { //favorties | all toggle container
  1267. padding-bottom: 32px;
  1268. }
  1269. .app-view-control { //favorties | all toggle button
  1270. padding: 4px 32px;
  1271. &:checked { @include button(active); }
  1272. &:first-child {
  1273. border-right-width: 0;
  1274. border-radius: 3px 0 0 3px;
  1275. }
  1276. &:last-child {
  1277. border-radius: 0 3px 3px 0;
  1278. }
  1279. }
  1280. .app-well-app,
  1281. .app-well-app.app-folder,
  1282. .show-apps,
  1283. .grid-search-result {
  1284. border: none;
  1285. & .overview-icon {
  1286. @extend %icon_tile;
  1287. }
  1288. &:hover .overview-icon,
  1289. &:focus .overview-icon,
  1290. &:selected .overview-icon {
  1291. background-color: lighten($bg_color, 7%);
  1292. transition-duration: 0ms;
  1293. border-image: none;
  1294. background-image: none;
  1295. }
  1296. &:active .overview-icon,
  1297. &:checked .overview-icon {
  1298. background-color: lighten($bg_color, 7%);
  1299. box-shadow: inset $depth2;
  1300. color: $fg_color;
  1301. }
  1302. }
  1303. .app-well-app-running-dot { //running apps indicator
  1304. width: 4px; height: 4px;
  1305. background-color: $selected_bg_color;
  1306. border-radius: 10px !important;
  1307. box-shadow: 0px 0px 5px 4px transparentize($purple, 0.2);
  1308. margin-bottom: 0px;
  1309. }
  1310. %icon_tile {
  1311. color: $selected_fg_color;
  1312. padding: 6px;
  1313. border: none;
  1314. transition-duration: 100ms;
  1315. text-align: center;
  1316. box-shadow: none;
  1317. }
  1318. /* App Folders */
  1319. .app-well-app.app-folder {
  1320. background-color: lighten($bg_color, 7%);
  1321. border-radius: 10px;
  1322. }
  1323. // expanded folder
  1324. .app-folder-dialog { //style like the dash
  1325. background-color: $main_dark;
  1326. border: none;
  1327. & .folder-name-label { color: $fg_color; }
  1328. .edit-folder-button {
  1329. @extend %button;
  1330. padding: 0;
  1331. width: 36px;
  1332. height: 36px;
  1333. border-radius: 18px;
  1334. & > StIcon { icon-size: 16px }
  1335. }
  1336. }
  1337. .app-well-app.app-folder > .overview-icon {
  1338. background-color: transparentize($osd_bg_color,.6);
  1339. }
  1340. .show-apps .show-apps-icon {
  1341. color: $topbar_color;
  1342. }
  1343. .show-apps:checked .show-apps-icon,
  1344. .show-apps:focus .show-apps-icon {
  1345. color: $fg_color;
  1346. transition-duration: 100ms;
  1347. }
  1348. // Collections
  1349. .app-folder-popup { //expanded collection
  1350. -arrow-border-radius: 8px;
  1351. -arrow-background-color: transparentize($bg_color,0.5);
  1352. -arrow-base: 24px;
  1353. -arrow-rise: 11px;
  1354. }
  1355. .app-folder-popup-bin { padding: 5px; background: transparentize($bg_color,.5);;}
  1356. .app-folder-icon {
  1357. padding: 5px;
  1358. spacing-rows: 5px;
  1359. spacing-columns: 5px;
  1360. }
  1361. .page-indicator {
  1362. padding: 6px 12px;
  1363. .page-indicator-icon {
  1364. width: 12px;
  1365. height: 12px;
  1366. border-radius: 12px;
  1367. background-image: none;
  1368. background-color: lighten($base_color, 30%);
  1369. border: 1px solid $borders_color;
  1370. }
  1371. &:hover .page-indicator-icon {
  1372. background-image: none;
  1373. background-color: rgba(255, 255, 255, 0.5);
  1374. }
  1375. &:active .page-indicator-icon {
  1376. background-image: none;
  1377. background-color: rgba(255, 255, 255, 0.7);
  1378. margin: 0;
  1379. }
  1380. &:checked .page-indicator-icon{
  1381. background-image: none;
  1382. background-color: #FFFFFF;
  1383. transition-duration: 0.3s;
  1384. transition-timing-function: ease-in-out;
  1385. }
  1386. }
  1387. .no-frequent-applications-label { @extend %status_text; }
  1388. .app-well-app > .overview-icon.overview-icon-with-label,
  1389. .grid-search-result .overview-icon.overview-icon-with-label {
  1390. padding: 10px 8px 5px 8px;
  1391. spacing: 4px;
  1392. }
  1393. // Workspace pager
  1394. .workspace-thumbnails { //container ala dash
  1395. @extend %overview-panel;
  1396. visible-width: 32px; //amount visible before hover
  1397. spacing: 11px;
  1398. padding: 8px;
  1399. border-radius: 0;
  1400. //border-width: 1px 0 1px 1px; //fixme: can't have non unoform borders :(
  1401. &:rtl { border-radius: 0;}
  1402. }
  1403. .workspace-thumbnail-indicator {
  1404. border: 4px solid transparentize($selected_bg_color, .1);
  1405. box-shadow: $depth;
  1406. padding: 0;
  1407. }
  1408. //Some hacks I don't even
  1409. .search-display > StBoxLayout,
  1410. .all-apps,
  1411. .frequent-apps > StBoxLayout {
  1412. // horizontal padding to make sure scrollbars or dash don't overlap content
  1413. padding: 0px 88px 10px 88px;
  1414. }
  1415. .page-navigation-arrow {
  1416. & > StIcon {
  1417. margin: 6px;
  1418. padding: 18px;
  1419. width: 24px;
  1420. height: 24px;
  1421. border-radius: 99px;
  1422. }
  1423. &:insensitive > StIcon { @include button(undecorated, $osd_fg_color, transparentize($osd_bg_color, 0.5));}
  1424. &:hover > StIcon { background-color: transparentize($selected_bg_color, 0.2);}
  1425. &:active > StIcon {background-color: $selected_bg_color;}
  1426. }
  1427. %overview-panel {
  1428. color: $_bubble_fg_color;
  1429. background-color: transparent;
  1430. border: none;
  1431. }
  1432. %status_text {
  1433. font-size: 2em;
  1434. font-weight: bold;
  1435. color: $fg_color;
  1436. }
  1437. /* NOTIFICATIONS & MESSAGE TRAY */
  1438. .url-highlighter { link-color: lighten($selected_bg_color,10%); }
  1439. // Banners
  1440. .notification-banner {
  1441. font-size: 11pt;
  1442. width: 34em;
  1443. margin: 5px;
  1444. border-radius: 12px;
  1445. color: $topbar_color;
  1446. background-color: lighten($base_color, 2%);
  1447. border: 1px solid $borders_color;
  1448. box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  1449. &:hover, &:focus {
  1450. background-color: lighten($base_color, 4%);
  1451. border-radius: 12px;
  1452. box-shadow: none;
  1453. }
  1454. *{ color: #fefefe; }
  1455. .notification-icon { padding: 5px; }
  1456. .notification-content { padding: 5px; spacing: 5px; }
  1457. .secondary-icon { icon-size: 1.09em; }
  1458. .notification-actions {
  1459. background-color: darken($bg_color, 2%);
  1460. padding-top: 2px;
  1461. spacing: 1px;
  1462. border-radius: 0px 0px 12px 12px;
  1463. }
  1464. .notification-button {
  1465. padding: 7px;
  1466. background-color: transparentize($bg_color, 0.1);
  1467. box-shadow: none;
  1468. &:first-child { border-radius: 0 0 0 12px; }
  1469. &:last-child { border-radius: 0 0 12px 0; }
  1470. &:hover, &focus { background-color: $selected_bg_color; color: $selected_fg_color;}
  1471. }
  1472. }
  1473. .summary-source-counter {
  1474. font-size: 10pt;
  1475. font-weight: bold;
  1476. height: 1.6em; width: 1.6em;
  1477. -shell-counter-overlap-x: 3px;
  1478. -shell-counter-overlap-y: 3px;
  1479. background-color: $selected_bg_color;
  1480. color: $selected_fg_color;
  1481. border: 2px solid $osd_fg_color;
  1482. box-shadow: 0 2px 2px rgba(0,0,0,0.5);
  1483. border-radius: 0.9em; // should be 0.8 but whatever; wish I could do 50%;
  1484. }
  1485. .secondary-icon { icon-size: 1.09em; }
  1486. //chat bubbles
  1487. .chat-body { spacing: 5px; }
  1488. .chat-response { margin: 5px; }
  1489. .chat-log-message { color: darken($fg_color,10%); }
  1490. .chat-new-group { padding-top: 1em; }
  1491. .chat-received {
  1492. padding-left: 4px;
  1493. &:rtl { padding-left: 0px; padding-right: 4px; }
  1494. }
  1495. .chat-sent {
  1496. padding-left: 18pt;
  1497. color: darken($fg_color, 15%);
  1498. &:rtl { padding-left: 0; padding-right: 18pt; }
  1499. }
  1500. .chat-meta-message {
  1501. padding-left: 4px;
  1502. font-size: 9pt;
  1503. font-weight: bold;
  1504. color: darken($fg_color,20%);
  1505. &:rtl { padding-left: 0; padding-right: 4px; }
  1506. }
  1507. //hotplug
  1508. .hotplug-transient-box {
  1509. spacing: 6px;
  1510. padding: 2px 72px 2px 12px;
  1511. }
  1512. .hotplug-notification-item {
  1513. padding: 2px 10px;
  1514. &:focus { padding: 1px 71px 1px 11px; }
  1515. }
  1516. .hotplug-notification-item-icon {
  1517. icon-size: 24px;
  1518. padding: 2px 5px;
  1519. }
  1520. .hotplug-resident-box { spacing: 8px; }
  1521. .hotplug-resident-mount {
  1522. spacing: 8px;
  1523. border-radius: 4px;
  1524. &:hover { background-color: transparentize($bg_color,0.7); }
  1525. }
  1526. .hotplug-resident-mount-label {
  1527. color: inherit;
  1528. padding-left: 6px;
  1529. }
  1530. .hotplug-resident-mount-icon {
  1531. icon-size: 24px;
  1532. padding-left: 6px;
  1533. }
  1534. .hotplug-resident-eject-icon {
  1535. icon-size: 16px;
  1536. }
  1537. .hotplug-resident-eject-button {
  1538. padding: 7px;
  1539. border-radius: 5px;
  1540. color: pink;
  1541. }
  1542. /* Eeeky things */
  1543. //magnifier
  1544. .magnifier-zoom-region {
  1545. border: 2px solid $selected_bg_color;
  1546. &.full-screen { border-width: 0; }
  1547. }
  1548. //Keyboard
  1549. /* On-screen Keyboard */
  1550. #keyboard {
  1551. background-color: transparentize($osd_bg_color, 0.3);
  1552. }
  1553. .keyboard-layout {
  1554. spacing: 10px;
  1555. padding: 10px;
  1556. }
  1557. .keyboard-row { spacing: 15px; }
  1558. .keyboard-key {
  1559. @include button(normal);
  1560. background-color: $base_color;
  1561. min-height: 2em;
  1562. min-width: 2em;
  1563. font-size: 14pt;
  1564. font-weight: bold;
  1565. border-radius: 5px;
  1566. &:focus { @include button(focus); }
  1567. &:hover,&:checked { @include button(hover); }
  1568. &:active { @include button(active);}
  1569. &:grayed { //FIXME
  1570. background-color: $osd_bg_color;
  1571. color: $osd_fg_color;
  1572. border-color: $osd_borders_color;
  1573. }
  1574. }
  1575. .keyboard-subkeys { //long press on a key popup
  1576. color: white;
  1577. padding: 5px;
  1578. -arrow-border-radius: 10px;
  1579. -arrow-background-color: transparentize($osd_bg_color, 0.3);
  1580. -arrow-border-width: 2px;
  1581. -arrow-border-color: $_bubble_borders_color;
  1582. -arrow-base: 20px;
  1583. -arrow-rise: 10px;
  1584. -boxpointer-gap: 5px;
  1585. }
  1586. // IBus Candidate Popup
  1587. .candidate-popup-content {
  1588. padding: 0.5em;
  1589. spacing: 0.3em;
  1590. }
  1591. .candidate-index {
  1592. padding: 0 0.5em 0 0;
  1593. color: darken($fg_color,10%);
  1594. }
  1595. .candidate-box {
  1596. padding: 0.3em 0.5em 0.3em 0.5em;
  1597. border-radius: 4px;
  1598. &:selected,&:hover { background-color: $selected_bg_color; color: $selected_fg_color; }
  1599. }
  1600. .candidate-page-button-box {
  1601. height: 2em;
  1602. .vertical & { padding-top: 0.5em; }
  1603. .horizontal & { padding-left: 0.5em; }
  1604. }
  1605. .candidate-page-button {
  1606. padding: 4px;
  1607. }
  1608. .candidate-page-button-previous { border-radius: 4px 0px 0px 4px; border-right-width: 0; }
  1609. .candidate-page-button-next { border-radius: 0px 4px 4px 0px; }
  1610. .candidate-page-button-icon { icon-size: 1em; }
  1611. /* Auth Dialogs & Screen Shield */
  1612. .framed-user-icon {
  1613. background-size: contain;
  1614. border: 2px solid $osd_fg_color;
  1615. color: $osd_fg_color;
  1616. border-radius: 3px;
  1617. &:hover {
  1618. border-color: lighten($osd_fg_color,30%);
  1619. color: lighten($osd_fg_color,30%);
  1620. }
  1621. }
  1622. // LOGIN DIALOG
  1623. .login-dialog-banner-view {
  1624. padding-top: 24px;
  1625. max-width: 23em;
  1626. }
  1627. .login-dialog {
  1628. //reset
  1629. border: none;
  1630. background-color: transparent;
  1631. .modal-dialog-button-box { spacing: 3px; }
  1632. .modal-dialog-button {
  1633. padding: 3px 18px;
  1634. &:default {
  1635. @include button(normal,$c:$selected_bg_color);
  1636. &:hover,&:focus { @include button(hover,$c:$selected_bg_color); }
  1637. &:active { @include button(active,$c:$selected_bg_color); }
  1638. &:insensitive { @include button(insensitive); }
  1639. }
  1640. }
  1641. }
  1642. .login-dialog-logo-bin { padding: 24px 0px; }
  1643. .login-dialog-banner { color: darken($osd_fg_color,10%); }
  1644. .login-dialog-button-box { spacing: 5px; }
  1645. .login-dialog-message-warning { color: $warning_color; }
  1646. .login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; }
  1647. .login-dialog-user-selection-box { padding: 100px 0px; }
  1648. .login-dialog-not-listed-label {
  1649. padding-left: 2px;
  1650. .login-dialog-not-listed-button:focus &,
  1651. .login-dialog-not-listed-button:hover & {
  1652. color: $osd_fg_color;
  1653. }
  1654. }
  1655. .login-dialog-not-listed-label {
  1656. font-size: 90%;
  1657. font-weight: bold;
  1658. color: darken($osd_fg_color,30%);
  1659. padding-top: 1em;
  1660. }
  1661. .login-dialog-user-list-view { -st-vfade-offset: 1em; }
  1662. .login-dialog-user-list {
  1663. spacing: 12px;
  1664. padding: .2em;
  1665. width: 23em;
  1666. &:expanded .login-dialog-user-list-item:selected { background-color: $selected_bg_color; color: $selected_fg_color; }
  1667. &:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_bg_color; }
  1668. }
  1669. .login-dialog-user-list-item {
  1670. border-radius: 5px;
  1671. padding: .2em;
  1672. color: darken($osd_fg_color,30%);
  1673. &:ltr { padding-right: 1em; }
  1674. &:rtl { padding-left: 1em; }
  1675. .login-dialog-timed-login-indicator {
  1676. height: 2px;
  1677. margin: 2px 0 0 0;
  1678. background-color: $osd_fg_color;
  1679. }
  1680. &:focus .login-dialog-timed-login-indicator { background-color: $selected_fg_color; }
  1681. }
  1682. .login-dialog-username,
  1683. .user-widget-label {
  1684. color: $osd_fg_color;
  1685. font-size: 120%;
  1686. font-weight: bold;
  1687. text-align: left;
  1688. padding-left: 15px;
  1689. }
  1690. .user-widget-label {
  1691. &:ltr { padding-left: 18px; }
  1692. &:rtl { padding-right: 18px; }
  1693. }
  1694. .login-dialog-prompt-layout {
  1695. padding-top: 24px;
  1696. padding-bottom: 12px;
  1697. spacing: 8px;
  1698. width: 23em;
  1699. }
  1700. .login-dialog-prompt-label {
  1701. color: darken($osd_fg_color, 20%);
  1702. font-size: 110%;
  1703. padding-top: 1em;
  1704. }
  1705. .login-dialog-session-list-button StIcon {
  1706. icon-size: 1.25em;
  1707. }
  1708. .login-dialog-session-list-button {
  1709. color: darken($osd_fg_color,30%);
  1710. &:hover,&:focus { color: $osd_fg_color; }
  1711. &:active { color: darken($osd_fg_color, 50%); }
  1712. }
  1713. //SCREEN SHIELD
  1714. .screen-shield-arrows {
  1715. padding-bottom: 3em;
  1716. }
  1717. .screen-shield-arrows Gjs_Arrow {
  1718. color: white;
  1719. width: 80px;
  1720. height: 48px;
  1721. -arrow-thickness: 12px;
  1722. -arrow-shadow: 0 1px 1px rgba(0,0,0,0.4);
  1723. }
  1724. .screen-shield-clock {
  1725. color: white;
  1726. text-shadow: 0px 1px 2px rgba(0,0,0,0.6);
  1727. font-weight: bold;
  1728. text-align: center;
  1729. padding-bottom: 1.5em;
  1730. }
  1731. .screen-shield-clock-time {
  1732. font-size: 72pt;
  1733. text-shadow: 0px 2px 2px rgba(0,0,0,0.4);
  1734. }
  1735. .screen-shield-clock-date { font-size: 28pt; }
  1736. .screen-shield-notifications-container {
  1737. spacing: 6px;
  1738. width: 30em;
  1739. background-color: transparent;
  1740. max-height: 500px;
  1741. .summary-notification-stack-scrollview {
  1742. padding-top: 0;
  1743. padding-bottom: 0;
  1744. }
  1745. .notification,
  1746. .screen-shield-notification-source {
  1747. padding: 12px 6px;
  1748. border: 1px solid $_bubble_borders_color;
  1749. background-color: transparentize($osd_bg_color,0.5);
  1750. color: $_bubble_fg_color;
  1751. border-radius: 4px;
  1752. }
  1753. .notification { margin-right: 15px; } //compensate for space allocated to the scrollbar
  1754. }
  1755. .screen-shield-notification-label {
  1756. font-weight: bold;
  1757. padding: 0px 0px 0px 12px;
  1758. }
  1759. .screen-shield-notification-count-text { padding: 0px 0px 0px 12px; }
  1760. #panel.lock-screen { background-color: transparentize($_bubble_bg_color, 0.5); }
  1761. .screen-shield-background { //just the shadow, really
  1762. background: black;
  1763. box-shadow: 0px 2px 4px transparentize(black,0.6);
  1764. }
  1765. #lockDialogGroup {
  1766. background: #2e3436 url(resource:///org/gnome/shell/theme/noise-texture.png);
  1767. background-repeat: repeat;
  1768. }
  1769. #screenShieldNotifications {
  1770. StButton#vhandle, StButton#hhandle {
  1771. background-color: transparentize($bg_color,0.7);
  1772. &:hover, &:focus { background-color: transparentize($bg_color,0.5); }
  1773. &:active { background-color: transparentize($selected_bg_color, 0.1); }
  1774. }
  1775. }
  1776. // Looking Glass
  1777. #LookingGlassDialog {
  1778. background-color: rgba(0,0,0,0.80);
  1779. spacing: 4px;
  1780. padding: 4px;
  1781. border: 2px solid grey;
  1782. border-radius: 4px;
  1783. & > #Toolbar {
  1784. border: 1px solid grey;
  1785. border-radius: 4px;
  1786. }
  1787. .labels { spacing: 4px; }
  1788. .notebook-tab {
  1789. -natural-hpadding: 12px;
  1790. -minimum-hpadding: 6px;
  1791. font-weight: bold;
  1792. color: #ccc;
  1793. transition-duration: 100ms;
  1794. padding-left: .3em;
  1795. padding-right: .3em;
  1796. &:hover {
  1797. color: white;
  1798. text-shadow: black 0px 2px 2px;
  1799. }
  1800. &:selected {
  1801. border-bottom-width: 2px;
  1802. border-color: lighten($selected_bg_color,5%);
  1803. color: white;
  1804. text-shadow: black 0px 2px 2px;
  1805. }
  1806. }
  1807. StBoxLayout#EvalBox { padding: 4px; spacing: 4px; }
  1808. StBoxLayout#ResultsArea { spacing: 4px; }
  1809. }
  1810. .lg-dialog {
  1811. StEntry {
  1812. selection-background-color: #bbbbbb;
  1813. selected-color: #333333;
  1814. }
  1815. .shell-link {
  1816. color: #999999;
  1817. &:hover { color: #dddddd; }
  1818. }
  1819. }
  1820. .lg-completions-text {
  1821. font-size: .9em;
  1822. font-style: italic;
  1823. }
  1824. .lg-obj-inspector-title {
  1825. spacing: 4px;
  1826. }
  1827. .lg-obj-inspector-button {
  1828. border: 1px solid gray;
  1829. padding: 4px;
  1830. border-radius: 4px;
  1831. &:hover { border: 1px solid #ffffff; }
  1832. }
  1833. #lookingGlassExtensions { padding: 4px; }
  1834. .lg-extensions-list {
  1835. padding: 4px;
  1836. spacing: 6px;
  1837. }
  1838. .lg-extension {
  1839. border: 1px solid #6f6f6f;
  1840. border-radius: 4px;
  1841. padding: 4px;
  1842. }
  1843. .lg-extension-name {
  1844. font-weight: bold;
  1845. }
  1846. .lg-extension-meta {
  1847. spacing: 6px;
  1848. }
  1849. #LookingGlassPropertyInspector {
  1850. background: rgba(0, 0, 0, 0.8);
  1851. border: 2px solid grey;
  1852. border-radius: 4px;
  1853. padding: 6px;
  1854. }
  1855. // Gnome 43 quick settings menu
  1856. .quick-settings {
  1857. padding: 14px;
  1858. border-radius: 12px;
  1859. .icon-button, .button {
  1860. padding: 6px*1.75;
  1861. }
  1862. }
  1863. $base_padding: 6px;
  1864. .quick-toggle {
  1865. border-radius: 99px;
  1866. min-height: 40px;
  1867. &:checked {
  1868. @include button(active, transparentize($selected_bg_color, 0.35));
  1869. color: $purple;
  1870. }
  1871. & > StBoxLayout { spacing: $base_padding; }
  1872. /* Move padding into the box; this is to allow menu arrows
  1873. to extend to the border */
  1874. &.button { padding: 0; }
  1875. & > StBoxLayout { padding: 0 6px*2; }
  1876. &:ltr > StBoxLayout { padding-left: $base_padding*2.5; }
  1877. &:rtl > StBoxLayout { padding-right: $base_padding*2.5; }
  1878. .quick-toggle-label { font-weight: bold; }
  1879. //.quick-toggle-icon, .quick-toggle-arrow { icon-size: $base_icon_size; }
  1880. }
  1881. .quick-menu-toggle {
  1882. &:ltr > StBoxLayout { padding-right: 0; }
  1883. &:rtl > StBoxLayout { padding-left: 0; }
  1884. & .quick-toggle-arrow {
  1885. background-color: transparentize($fg_color, 0.9);
  1886. padding: $base_padding $base_padding*1.75;
  1887. &:ltr { border-radius: 0 99px 99px 0; }
  1888. &:rtl { border-radius: 99px 0 0 99px; }
  1889. }
  1890. }
  1891. .quick-toggle-menu {
  1892. background-color: $base_color;
  1893. border-radius: 12px;
  1894. padding: $base_padding*2;
  1895. margin: $base_padding*2 $base_padding*3 0;
  1896. .popup-menu-item > StIcon { -st-icon-style: symbolic; }
  1897. & .header {
  1898. spacing-rows: 0.5 * $base_padding;
  1899. spacing-columns: $base_padding*2;
  1900. padding-bottom: 2 * $base_padding;
  1901. & .icon {
  1902. // icon-size: $base_icon_size*1.5; // a non-standard symbolic size but ok
  1903. border-radius: 999px;
  1904. padding: 1.5 * $base_padding;
  1905. background-color: lighten($bg_color, 10%);
  1906. &.active { background-color: $selected_bg_color; }
  1907. }
  1908. }
  1909. }
  1910. .quick-settings-system-item {
  1911. & > StBoxLayout { spacing: 2 * $base_padding; }
  1912. .icon-button {
  1913. @extend %button;
  1914. border-radius: 50px;
  1915. }
  1916. }