_common.scss 49 KB

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