_common.scss 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870
  1. $asset_path: if($variant == 'dark', dark-assets, light-assets);
  2. //
  3. // Globals
  4. //
  5. $font-size: 9;
  6. $font-family: Futura Bk bt, sans, Sans-Serif;
  7. $_bubble_bg_color: opacify($osd_bg_color,0.25);
  8. $_bubble_fg_color: $osd_fg_color;
  9. $_bubble_borders_color: transparentize($osd_fg_color,0.8);
  10. $_shell_fg_color: $fg_color;
  11. stage {
  12. color: $fg_color;
  13. }
  14. .label-shadow {
  15. color: rgba(0, 0, 0, 0);
  16. }
  17. %reset_style {
  18. background-color: transparent !important;
  19. background-gradient-direction: none !important;
  20. border: none !important;
  21. border-radius: 0 !important;
  22. }
  23. //
  24. // Buttons
  25. //
  26. %button {
  27. min-height: 20px;
  28. padding: 5px 32px;
  29. transition-duration: 0;
  30. &, &:focus, &:hover, &:hover:focus, &:active, &:active:focus, &:insensitive {
  31. border-radius: 2px;
  32. }
  33. @include button(normal);
  34. &:focus { @include button(focus); }
  35. &:hover { @include button(hover); }
  36. &:hover:focus { @include button(focus-hover); }
  37. &:active, &:active:focus { @include button(active); }
  38. &:insensitive { @include button(insensitive); }
  39. }
  40. %osd_button {
  41. min-height: 20px;
  42. padding: 5px 32px;
  43. transition-duration: 0;
  44. border-radius: 2px;
  45. @include button(osd);
  46. &:hover { @include button(osd-hover); }
  47. &:focus { color: $selected_bg_color; }
  48. &:active { @include button(osd-active); }
  49. &:insensitive { @include button(osd-insensitive); }
  50. }
  51. //
  52. // Entries
  53. //
  54. %entry {
  55. padding: 5px;
  56. caret-size: 1px;
  57. selection-background-color: $selected_bg_color;
  58. selected-color: $selected_fg_color;
  59. transition-duration: 300ms;
  60. border-radius: 3px;
  61. @include entry(normal);
  62. &:focus, &:hover { @include entry(focus); }
  63. &:insensitive { @include entry(insensitive); }
  64. StIcon.capslock-warning {
  65. icon-size: 16px;
  66. warning-color: $warning_color;
  67. padding: 0 4px;
  68. }
  69. }
  70. %osd_entry {
  71. padding: 7px;
  72. caret-size: 1px;
  73. caret-color: $osd_fg_color;
  74. selection-background-color: $selected_bg_color;
  75. selected-color: $selected_fg_color;
  76. transition-duration: 300ms;
  77. border-radius: 3px;
  78. @include entry(osd);
  79. &:focus { @include entry(osd-focus); }
  80. &:insensitive { @include entry(osd-insensitive); }
  81. }
  82. //
  83. // Scrollbars
  84. //
  85. StScrollView {
  86. &.vfade { -st-vfade-offset: 0px; }
  87. &.hfade { -st-hfade-offset: 0px; }
  88. }
  89. StScrollBar {
  90. padding: 8px;
  91. StScrollView & {
  92. min-width: 5px;
  93. min-height: 5px;
  94. }
  95. StBin#trough {
  96. background-color: transparentize($base_color, 0.9);
  97. border-radius: 8px;
  98. }
  99. StButton#vhandle, StButton#hhandle {
  100. border-radius: 2px;
  101. background-color: mix($fg_color, $bg_color, 40%);
  102. border: 0px solid;
  103. margin: 0px;
  104. &:hover { background-color: mix($fg_color, $bg_color, 30%); }
  105. &:active { background-color: $selected_bg_color; }
  106. }
  107. }
  108. .separator {
  109. -gradient-height: 1px;
  110. -gradient-start: rgba(0,0,0,0);
  111. -gradient-end: rgba(0,0,0,0);
  112. -margin-horizontal: 1.5em;
  113. height: 1em;
  114. }
  115. //
  116. // Slider
  117. //
  118. .popup-slider-menu-item,
  119. .slider {
  120. -slider-height: 0.3em;
  121. -slider-background-color: lighten($base_color, 5%); //background of the trough
  122. -slider-border-color: transparentize($bg_color, 0.7); //trough border color
  123. -slider-active-background-color: $selected_bg_color; //active trough fill
  124. -slider-active-border-color: transparentize($bg_color, 0.7); //active trough border
  125. -slider-border-width: 1px;
  126. -slider-handle-radius: 0.5em;
  127. height: 1em;
  128. min-width: 15em;
  129. border: 0 solid transparent;
  130. border-right-width: 1px;
  131. border-left-width: 5px;
  132. .popup-menu-item:active & {
  133. -slider-background-color: transparentize(black, 0.8);
  134. -slider-active-background-color: $selected_fg_color;
  135. }
  136. }
  137. //
  138. // Check Boxes
  139. //
  140. .check-box {
  141. CinnamonGenericContainer {
  142. spacing: .2em;
  143. min-height: 30px;
  144. padding-top: 2px;
  145. }
  146. StLabel { font-weight: normal; }
  147. StBin {
  148. width: 16px;
  149. height: 16px;
  150. background-image: url("#{$asset_path}/checkbox/checkbox-unchecked.svg");
  151. }
  152. &:focus StBin { background-image: url("#{$asset_path}/checkbox/checkbox-unchecked-focused.svg"); }
  153. &:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked.svg"); }
  154. &:focus:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked-focused.svg"); }
  155. }
  156. //
  157. // Radio Buttons
  158. //
  159. .radiobutton {
  160. CinnamonGenericContainer {
  161. spacing: .2em;
  162. height: 26px;
  163. padding-top: 2px;
  164. }
  165. StLabel {
  166. padding-top: 4px;
  167. font-size: 0.9em;
  168. box-shadow: none;
  169. }
  170. StBin {
  171. width: 16px;
  172. height: 16px;
  173. background-image: url("#{$asset_path}/checkbox/checkbox-unchecked.svg");
  174. }
  175. &:focus StBin { background-image: url("#{$asset_path}/checkbox/checkbox-unchecked-focused.svg"); }
  176. &:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked.svg"); }
  177. &:focus:checked StBin { background-image: url("#{$asset_path}/checkbox/checkbox-checked-focused.svg"); }
  178. }
  179. //
  180. // Switches
  181. //
  182. .toggle-switch {
  183. width: 50px;
  184. height: 20px;
  185. background-size: contain;
  186. background-image: url("#{$asset_path}/switch/switch-off.svg");
  187. &:checked { background-image: url("#{$asset_path}/switch/switch-on.svg"); }
  188. .popup-menu-item:active & {
  189. background-image: url("common-assets/switch/switch-off-selected.svg");
  190. &:checked { background-image: url("common-assets/switch/switch-on-selected.svg"); }
  191. }
  192. }
  193. //
  194. // Links
  195. //
  196. .cinnamon-link {
  197. color: $link_color;
  198. text-decoration: underline;
  199. &:hover { color: lighten($link_color,10%); }
  200. }
  201. //
  202. // Tooltip
  203. //
  204. #Tooltip {
  205. border-radius: 3px;
  206. padding: 5px 12px;
  207. background-color: $osd_bg_color;
  208. color: $osd_fg_color;
  209. font-size: 1em;
  210. font-weight: normal;
  211. text-align: center;
  212. }
  213. //
  214. // Popvers/Menus
  215. //
  216. .menu,
  217. .popup-menu,
  218. %menu {
  219. color: $fg_color;
  220. border: 1px solid $borders_color;
  221. border-radius: 6px;
  222. background-color: transparentize($bg_color, 0.01);
  223. &.top {
  224. border-radius: 0 0 6px 6px;
  225. }
  226. &.bottom {
  227. border-radius: 6px 6px 0 0;
  228. }
  229. &.left {
  230. border-radius: 0 6px 6px 0;
  231. }
  232. &.right {
  233. border-radius: 6px 0 0 6px;
  234. }
  235. &-arrow { icon-size: 16px; }
  236. .popup-sub-menu {
  237. box-shadow: none;
  238. background-color: $base_color;
  239. .popup-menu-item:ltr { padding-right: 0em; }
  240. .popup-menu-item:rtl { padding-left: 0em; }
  241. StScrollBar {
  242. padding: 4px;
  243. StBin#trough, StBin#vhandle { border-width: 0; }
  244. }
  245. }
  246. .popup-menu-content { padding: 1em 0em 1em 0em; }
  247. .popup-menu-item {
  248. padding: .4em 1.75em;
  249. spacing: 1em;
  250. // border: 1px solid transparent;
  251. border-left-width: 0;
  252. border-right-width: 0;
  253. &:active {
  254. color: $selected_fg_color;
  255. // border-color: transparentize($fg_color, 0.89);
  256. background-color: $selected_bg_color;
  257. }
  258. &:insensitive {
  259. color: transparentize($fg_color, 0.5);
  260. background: none;
  261. }
  262. }
  263. .popup-inactive-menu-item { //all icons and other graphical elements
  264. color: $fg_color;
  265. &:insensitive { color: $insensitive_fg_color; }
  266. }
  267. .popup-menu-item:active .popup-inactive-menu-item { color: $selected_fg_color; }
  268. &-icon { icon-size: 16px; }
  269. }
  270. .popup-menu-boxpointer {
  271. -arrow-border-radius: 3px;
  272. -arrow-background-color: rgba(0,0,0,0.0);
  273. -arrow-border-width: 1px;
  274. -arrow-border-color: rgba(0,0,0,0.0);
  275. -arrow-base: 0;
  276. -arrow-rise: 0;
  277. }
  278. .popup-combo-menu {
  279. @extend %menu;
  280. padding: 10px 1px;
  281. }
  282. .popup-image-menu-item {}
  283. .popup-combobox-item { spacing: 1em; }
  284. .popup-separator-menu-item {
  285. -gradient-height: 2px;
  286. -gradient-start: transparent;
  287. -gradient-end: transparent;
  288. -margin-horizontal: 1.5em;
  289. height: 1em;
  290. }
  291. .popup-alternating-menu-item:alternate {
  292. font-weight: normal;
  293. }
  294. .popup-device-menu-item { spacing: .5em; }
  295. .popup-subtitle-menu-item { font-weight: normal; }
  296. .nm-menu-item-icons { spacing: .5em; }
  297. //
  298. // Panel
  299. //
  300. #panel {
  301. height: 28px;
  302. width: 32px;
  303. font-weight: 700;
  304. background-color: $panel_bg;
  305. color: $fg_color;
  306. &:highlight {
  307. border-image: none;
  308. background-color: transparentize($error_color, 0.5);
  309. }
  310. &Left {
  311. spacing: 4px;
  312. &:dnd {
  313. background-gradient-direction: vertical;
  314. background-gradient-start: rgba(255,0,0,0.05);
  315. background-gradient-end: rgba(255,0,0,0.2);
  316. }
  317. &:ltr { padding-right: 4px; }
  318. &:rtl { padding-left: 4px; }
  319. &.vertical {
  320. padding: 0;
  321. &:ltr { padding-right: 0px; }
  322. &:rtl { padding-left: 0px; }
  323. }
  324. }
  325. &Right {
  326. &:dnd {
  327. background-gradient-direction: vertical;
  328. background-gradient-start: rgba(0,0,255,0.05);
  329. background-gradient-end: rgba(0,0,255,0.2);
  330. }
  331. &:ltr { padding-left: 4px; spacing: 0px; }
  332. &:rtl { padding-right: 4px; spacing: 0px; }
  333. &.vertical {
  334. padding: 0;
  335. &:ltr { padding-right: 0px; }
  336. &:rtl { padding-left: 0px; }
  337. }
  338. }
  339. &Center {
  340. spacing: 4px;
  341. &:dnd {
  342. background-gradient-direction: vertical;
  343. background-gradient-start: rgba(0,255,0,0.05);
  344. background-gradient-end: rgba(0,255,0,0.2);
  345. }
  346. }
  347. }
  348. .panel {
  349. $_panel_fg_color: $_shell_fg_color;
  350. &-top, &-bottom, &-left, &-right {
  351. color: $_panel_fg_color;
  352. font-size: 1em;
  353. padding: 0px;
  354. }
  355. &-dummy {
  356. background-color: transparentize($error_color, 0.5);
  357. &:entered { background-color: transparentize($error_color, 0.4); }
  358. }
  359. &-status-button {
  360. border-width: 0;
  361. -natural-hpadding: 3px;
  362. -minimum-hpadding: 3px;
  363. font-weight: bold;
  364. color: white;
  365. height: 22px;
  366. &:hover {}
  367. }
  368. &-button {
  369. -natural-hpadding: 6px;
  370. -minimum-hpadding: 2px;
  371. font-weight: bold;
  372. color: green;
  373. transition-duration: 100;
  374. &:hover {}
  375. }
  376. }
  377. .system-status-icon {
  378. icon-size: 16px;
  379. padding: 0 1px;
  380. }
  381. //
  382. // Overview
  383. //
  384. #overview { spacing: 12px; }
  385. .window-caption {
  386. background-color: $osd_bg_color;
  387. border: 1px solid $osd_bg_color;
  388. color: $osd_fg_color;
  389. spacing: 25px;
  390. border-radius: 2px;
  391. font-size: 9pt;
  392. padding: 5px 8px;
  393. -cinnamon-caption-spacing: 4px;
  394. &#selected {
  395. background-color: $selected_bg_color;
  396. color: $selected_fg_color;
  397. border: 1px solid $selected_bg_color;
  398. spacing: 25px;
  399. }
  400. }
  401. .expo-workspaces-name-entry,
  402. .expo-workspaces-name-entry#selected {
  403. height: 15px;
  404. border-radius: 2px;
  405. font-size: 9pt;
  406. padding: 5px 8px;
  407. -cinnamon-caption-spacing: 4px;
  408. @include entry(osd);
  409. &:focus {
  410. border: 1px solid $selected_bg_color;
  411. background-color: $selected_bg_color;
  412. color: $selected_fg_color;
  413. font-style: italic;
  414. transition-duration: 300;
  415. selection-background-color: $selected_fg_color;
  416. selected-color: $selected_bg_color;
  417. }
  418. }
  419. .expo-workspace-thumbnail-frame {
  420. border: 4px solid rgba(255,255,255,0.0);
  421. background-color: rgba(255,255,255,0.0);
  422. border-radius: 2px;
  423. &#active {
  424. border: 4px solid $selected_bg_color;
  425. background-color: black;
  426. border-radius: 2px;
  427. }
  428. }
  429. .expo-background {
  430. background-color: opacify($osd_bg_color, 1);
  431. }
  432. .workspace {
  433. //&-controls { visible-height: 32px; }
  434. &-thumbnails {
  435. spacing: 26px;
  436. &-background, &-background:rtl { padding: 8px; }
  437. }
  438. &-add-button {
  439. background-image: url("common-assets/misc/add-workspace.svg");
  440. height: 200px;
  441. width: 35px;
  442. transition-duration: 100;
  443. &:hover {
  444. background-image: url("common-assets/misc/add-workspace-hover.svg");
  445. transition-duration: 100;
  446. }
  447. &:active {
  448. background-image: url("common-assets/misc/add-workspace-active.svg");
  449. transition-duration: 100;
  450. }
  451. }
  452. &-overview-background-shade { background-color: rgba(0,0,0,0.5); }
  453. }
  454. .workspace-close-button,
  455. .window-close {
  456. background-image: url("common-assets/misc/close.svg");
  457. background-size: 26px;
  458. height: 26px;
  459. width: 26px;
  460. -cinnamon-close-overlap: 10px;
  461. &:hover {
  462. background-image: url("common-assets/misc/close-hover.svg");
  463. background-size: 26px;
  464. height: 26px;
  465. width: 26px;
  466. }
  467. &:active {
  468. background-image: url("common-assets/misc/close-active.svg");
  469. background-size: 26px;
  470. height: 26px;
  471. width: 26px;
  472. }
  473. }
  474. //.workspace-thumbnail-indicator {
  475. // outline: 2px solid red;
  476. // border: 1px solid green;
  477. //}
  478. //
  479. //.window-close:rtl {
  480. // -st-background-image-shadow: 2px 2px 6px rgba(0,0,0,0.5);
  481. //}
  482. .window-close-area {
  483. background-image: url("common-assets/misc/trash-icon.svg");
  484. height: 120px;
  485. width: 400px;
  486. }
  487. //
  488. // About Dialog (applet.js and desklet.js)
  489. //
  490. .about {
  491. &-content {
  492. width: 550px;
  493. height: 250px;
  494. spacing: 8px;
  495. padding-bottom: 10px;
  496. }
  497. &-title {
  498. font-size: 2em;
  499. font-weight: bold;
  500. }
  501. &-uuid {
  502. font-size: 10px;
  503. color: #888;
  504. }
  505. &-icon {
  506. padding-right: 20px;
  507. padding-bottom: 14px;
  508. }
  509. &-scrollBox {
  510. border: 1px solid $borders_color;
  511. border-radius: 2px;
  512. background-color: $base_color;
  513. padding: 4px;
  514. padding-right: 0;
  515. border-radius: 0;
  516. &-innerBox {
  517. padding: 1.2em;
  518. spacing: 1.2em;
  519. }
  520. }
  521. &-description {
  522. padding-top: 4px;
  523. padding-bottom: 16px;
  524. }
  525. &-version {
  526. padding-left: 7px;
  527. font-size: 10px;
  528. color: #888;
  529. }
  530. }
  531. //
  532. // Calendar
  533. //
  534. .calendar {
  535. padding: .4em 1.75em;
  536. spacing-rows: 0px;
  537. spacing-columns: 0px;
  538. }
  539. .calendar-month-label {
  540. color: $fg_color;
  541. font-weight: bold;
  542. padding: 8px 0;
  543. }
  544. .calendar-change-month-back,
  545. .calendar-change-month-forward {
  546. width: 16px;
  547. height: 16px;
  548. }
  549. //arrow back
  550. .calendar-change-month-back {
  551. background-image: url("common-assets/misc/calendar-arrow-left.svg");
  552. &:focus, &:hover { background-image: url("common-assets/misc/calendar-arrow-left-hover.svg"); }
  553. &:active { background-image: url("common-assets/misc/calendar-arrow-left.svg"); }
  554. &:rtl {
  555. background-image: url("common-assets/misc/calendar-arrow-right.svg");
  556. &:focus, &:hover { background-image: url("common-assets/misc/calendar-arrow-right-hover.svg"); }
  557. &:active { background-image: url("common-assets/misc/calendar-arrow-right.svg"); }
  558. }
  559. }
  560. //arrow forward
  561. .calendar-change-month-forward {
  562. background-image: url("common-assets/misc/calendar-arrow-right.svg");
  563. &:focus, &:hover { background-image: url("common-assets/misc/calendar-arrow-right-hover.svg"); }
  564. &:active { background-image: url("common-assets/misc/calendar-arrow-right.svg"); }
  565. &:rtl {
  566. background-image: url("common-assets/misc/calendar-arrow-left.svg");
  567. &:focus, &:hover { background-image: url("common-assets/misc/calendar-arrow-left-hover.svg"); }
  568. &:active { background-image: url("common-assets/misc/calendar-arrow-left.svg"); }
  569. }
  570. }
  571. .datemenu-date-label {
  572. padding: .4em 1.75em;
  573. font-weight: bold;
  574. text-align: center;
  575. color: $fg_color;
  576. border-radius: 2px;
  577. }
  578. .calendar-day-base {
  579. font-size: 80%;
  580. text-align: center;
  581. width: 25px;
  582. height: 25px;
  583. padding: 0.1em;
  584. margin: 2px;
  585. border-radius: 12.5px;
  586. }
  587. .calendar-day-heading {
  588. color: transparentize($fg_color, 0.15);
  589. margin-top: 1em;
  590. font-size: 70%;
  591. }
  592. .calendar-day {
  593. border-width: 0;
  594. color: transparentize($fg_color, 0.2);
  595. }
  596. .calendar-day-top {
  597. border-top-width: 0;
  598. }
  599. .calendar-day-left {
  600. border-left-width: 0;
  601. }
  602. .calendar-nonwork-day {
  603. color: $fg_color;
  604. background-color: transparent;
  605. font-weight: bold;
  606. }
  607. .calendar-today,
  608. .calendar-today:active,
  609. .calendar-today:focus,
  610. .calendar-today:hover {
  611. font-weight: bold;
  612. color: $selected_fg_color;
  613. background-color: $selected_bg_color;
  614. border-width: 0;
  615. }
  616. .calendar-other-month-day {
  617. color: transparentize($fg_color, 0.7);
  618. opacity: 1;
  619. }
  620. .calendar-week-number {
  621. color: transparentize($fg_color, 0.3);
  622. font-size: 80%;
  623. }
  624. //
  625. // Notifications
  626. //
  627. #notification {
  628. border-radius: 3px;
  629. border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
  630. padding: 13px;
  631. spacing-rows: 10px;
  632. spacing-columns: 10px;
  633. margin-from-right-edge-of-screen: 20px;
  634. width: 34em;
  635. color: $osd_fg_color;
  636. .menu &,
  637. .popup-menu & {
  638. &, &.multi-line-notification { color: $fg_color; }
  639. border-image: url("#{$asset_path}/misc/message.svg") 9 9 9 9;
  640. .notification-button, .notification-icon-button {
  641. @extend %button;
  642. padding: 5px;
  643. }
  644. StEntry { @extend %entry; }
  645. }
  646. &.multi-line-notification {
  647. padding-bottom: 13px;
  648. color: $osd_fg_color;
  649. }
  650. &-scrollview {
  651. max-height: 10em;
  652. > .top-shadow, > .bottom-shadow { height: 1em; }
  653. &:ltr > StScrollBar { padding-left: 6px; }
  654. &:rtl > StScrollBar { padding-right: 6px; }
  655. }
  656. &-body { spacing: 5px; }
  657. &-actions { spacing: 10px; }
  658. }
  659. .notification {
  660. &-with-image {
  661. min-height: 159px;
  662. color: $osd_fg_color;
  663. }
  664. &-button, &-icon-button {
  665. @extend %osd_button;
  666. padding: 5px;
  667. }
  668. &-icon-button > StIcon { icon-size: 36px; }
  669. StEntry { @extend %osd_entry; }
  670. }
  671. //
  672. // Alt Tab
  673. ///
  674. #altTabPopup {
  675. padding: 8px;
  676. spacing: 16px;
  677. }
  678. .switcher-list {
  679. color: $osd_fg_color;
  680. background: none;
  681. border: none;
  682. border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
  683. border-radius: 3px;
  684. padding: 20px;
  685. > StBoxLayout {
  686. padding: 4px;
  687. }
  688. &-item-container { spacing: 8px; }
  689. .item-box {
  690. padding: 8px;
  691. border-radius: 2px;
  692. &:outlined {
  693. padding: 8px;
  694. border: 1px solid $selected_bg_color;
  695. }
  696. &:selected {
  697. color: $selected_fg_color;
  698. background-color: $selected_bg_color;
  699. border: 0px solid $selected_bg_color;
  700. }
  701. }
  702. .thumbnail { width: 256px; }
  703. .thumbnail-box {
  704. padding: 2px;
  705. spacing: 4px;
  706. }
  707. .separator {
  708. width: 1px;
  709. background: rgba(255,255,255,0.2);
  710. }
  711. }
  712. .switcher-arrow {
  713. border-color: rgba(0,0,0,0);
  714. color: $osd_fg_color;
  715. &:highlighted {
  716. border-color: rgba(0,0,0,0);
  717. color: $_shell_fg_color;
  718. }
  719. }
  720. //.switcher-preview-backdrop { background-color: rgba(25,25,25,0.95); }
  721. .thumbnail-scroll-gradient-left {
  722. background-color: rgba(0, 0, 0, 0);
  723. border-radius: 24px;
  724. border-radius-topright: 0px;
  725. border-radius-bottomright: 0px;
  726. width: 60px;
  727. }
  728. .thumbnail-scroll-gradient-right {
  729. background-color: rgba(0, 0, 0, 0);
  730. border-radius: 24px;
  731. border-radius-topleft: 0px;
  732. border-radius-bottomleft: 0px;
  733. width: 60px;
  734. }
  735. //
  736. //Activities Ripples
  737. //
  738. .ripple-box {
  739. width: 104px;
  740. height: 104px;
  741. background-image: url("common-assets/misc/corner-ripple.svg");
  742. background-size: contain;
  743. }
  744. //
  745. // Modal dialogs
  746. //
  747. .lightbox { background-color: rgba(0, 0, 0, 0.4); }
  748. .flashspot { background-color: white; }
  749. .modal-dialog {
  750. color: $fg_color;
  751. background-color: transparentize($bg_color, 1);
  752. border: none;
  753. border-image: url("#{$asset_path}/misc/modal.svg") 9 9 9 67;
  754. padding: 0 5px 6px 5px;
  755. > StBoxLayout:first-child {
  756. padding: 20px 10px 10px 10px;
  757. }
  758. &-button-box {
  759. spacing: 0;
  760. margin: 0px;
  761. padding: 14px 10px;
  762. background: none;
  763. border: none;
  764. border-image: url("#{$asset_path}/misc/button-box.svg") 9 9 9 9;
  765. .modal-dialog-button {
  766. padding-top: 0;
  767. padding-bottom: 0;
  768. height: 30px;
  769. @extend %osd_button;
  770. }
  771. }
  772. }
  773. //
  774. // Run dialog
  775. //
  776. .run-dialog {
  777. padding: 0px 15px 10px 15px;
  778. border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
  779. > * { padding: 0; }
  780. &-label {
  781. font-size: 0;
  782. font-weight: bold;
  783. color: $osd_fg_color;
  784. padding-bottom: 0;
  785. }
  786. &-error-label { color: $error_color; }
  787. &-error-box {
  788. padding-top: 15px;
  789. spacing: 5px;
  790. }
  791. &-completion-box {
  792. padding-left: 15px;
  793. font-size: 10px;
  794. }
  795. &-entry {
  796. width: 21em;
  797. padding: 7px;
  798. border-radius: 3px;
  799. caret-color: $osd_fg_color;
  800. selected-color: $selected_fg_color;
  801. selection-background-color: $selected_bg_color;
  802. @include entry(osd);
  803. &:focus { @include entry(osd-focus); }
  804. }
  805. .modal-dialog-button-box {
  806. border: none;
  807. box-shadow: none;
  808. background: none;
  809. background-gradient-direction: none;
  810. }
  811. }
  812. /* CinnamonMountOperation Dialogs */
  813. .cinnamon-mount-operation-icon {
  814. icon-size: 48px;
  815. }
  816. .mount-password-reask {
  817. color: $warning_color;
  818. }
  819. .show-processes-dialog,
  820. .mount-question-dialog {
  821. spacing: 24px;
  822. &-subject {
  823. padding-top: 10px;
  824. padding-left: 17px;
  825. padding-bottom: 6px;
  826. &:rtl {
  827. padding-left: 0px;
  828. padding-right: 17px;
  829. }
  830. }
  831. &-description {
  832. padding-left: 17px;
  833. width: 28em;
  834. &:rtl { padding-right: 17px; }
  835. }
  836. }
  837. .show-processes-dialog-app-list {
  838. max-height: 200px;
  839. padding-top: 24px;
  840. padding-left: 49px;
  841. padding-right: 32px;
  842. &:rtl {
  843. padding-right: 49px;
  844. padding-left: 32px;
  845. }
  846. &-item {
  847. color: #ccc;
  848. &:hover { color: white }
  849. &:ltr { padding-right: 1em; }
  850. &:rtl { padding-left: 1em; }
  851. &-icon:ltr { padding-right: 17px; }
  852. &-icon:rtl { padding-left: 17px; }
  853. &-name { font-size: 1.1em; }
  854. }
  855. }
  856. //
  857. // Magnifier
  858. //
  859. .magnifier-zoom-region {
  860. border: 2px solid rgba(128, 0, 0, 1);
  861. .full-screen { border-width: 0px; }
  862. }
  863. //
  864. // On-Screen Keyboard
  865. //
  866. #keyboard {
  867. background-color: $osd_bg_color;
  868. border-width: 0;
  869. border-top-width: 1px;
  870. border-color: transparentize(black, 0.6);
  871. }
  872. .keyboard-layout {
  873. spacing: 10px;
  874. padding: 10px;
  875. }
  876. .keyboard-row {
  877. spacing: 15px;
  878. }
  879. .keyboard-key {
  880. min-height: 2em;
  881. min-width: 2em;
  882. font-size: 14pt;
  883. font-weight: bold;
  884. border-radius: 3px;
  885. box-shadow: none;
  886. @include button(osd);
  887. &:hover { @include button(osd-hover); }
  888. &:active, &:checked { @include button(osd-active); }
  889. &:grayed { @include button(osd-insensitive); }
  890. }
  891. .keyboard-subkeys { //long press on a key popup
  892. color: $osd_fg_color;
  893. padding: 5px;
  894. -arrow-border-radius: 2px;
  895. -arrow-background-color: $osd_bg_color;
  896. -arrow-border-width: 1px;
  897. -arrow-border-color: transparentize(black, 0.6);;
  898. -arrow-base: 20px;
  899. -arrow-rise: 10px;
  900. -boxpointer-gap: 5px;
  901. }
  902. //
  903. // Cinnamon Specific Section
  904. //
  905. //
  906. // Menu (menu.js)
  907. //
  908. .menu {
  909. &-favorites-box {
  910. margin: auto;
  911. padding: 10px;
  912. transition-duration: 300;
  913. background-color: $bg_color;
  914. border: 1px solid $borders_color;
  915. }
  916. &-favorites-button {
  917. padding: 10px;
  918. border: 1px solid rgba(0,0,0,0);
  919. &:hover { @extend %button:hover; }
  920. }
  921. &-places {
  922. &-box {
  923. margin: auto;
  924. padding: 10px;
  925. border: 0px solid red;
  926. }
  927. &-button { padding: 10px; }
  928. }
  929. &-categories-box { padding: 10px 30px 10px 30px; }
  930. &-applications-inner-box,
  931. &-applications-outer-box { padding: 10px 10px 0 10px; }
  932. &-application-button {
  933. padding: 7px;
  934. border: 1px solid rgba(0,0,0,0);
  935. // This style is used in menu application buttons for applications which were newly installed
  936. &:highlighted { font-weight: bold; }
  937. &-selected {
  938. padding: 7px;
  939. @extend %button:hover;
  940. &:highlighted { font-weight: bold; }
  941. }
  942. &-label:ltr { padding-left: 5px; }
  943. &-label:rtl { padding-right: 5px; }
  944. }
  945. &-category-button {
  946. padding: 7px;
  947. border: 1px solid rgba(0,0,0,0);
  948. &-selected {
  949. padding: 7px;
  950. @extend %button:hover;
  951. }
  952. &-hover {
  953. background-color: red;
  954. border-radius: 2px;
  955. }
  956. &-greyed {
  957. padding: 7px;
  958. color: $insensitive_fg_color;
  959. border: 1px solid rgba(0,0,0,0);
  960. }
  961. &-label:ltr { padding-left: 5px; }
  962. &-label:rtl { padding-right: 5px; }
  963. }
  964. // Name and description of the currently hovered item in the menu
  965. // This appears on the bottom right hand corner of the menu
  966. &-selected-app-box {
  967. padding-right: 30px;
  968. padding-left: 28px;
  969. text-align: right;
  970. height: 30px;
  971. &:rtl {
  972. padding-top: 10px;
  973. height: 30px;
  974. }
  975. }
  976. &-selected-app-title { font-weight: bold; }
  977. &-selected-app-description { max-width: 150px; }
  978. &-search-box:ltr { padding-left: 30px; }
  979. &-search-box-rtl { padding-right: 30px; }
  980. }
  981. #menu-search-entry {
  982. width: 250px;
  983. min-height: 15px;
  984. font-weight: normal;
  985. caret-color: $fg_color;
  986. @extend %entry;
  987. }
  988. .menu-search-entry-icon {
  989. icon-size: 1em;
  990. color: $fg_color;
  991. }
  992. /* Context menu (at the moment only for favorites) */
  993. .menu-context-menu {
  994. }
  995. //
  996. // OSD
  997. //
  998. .info-osd {
  999. text-align: center;
  1000. font-weight: bold;
  1001. spacing: 1em;
  1002. padding: 16px;
  1003. color: $_shell_fg_color;
  1004. border-image: url("common-assets/misc/osd.svg") 9 9 9 9;
  1005. }
  1006. .osd-window {
  1007. text-align: center;
  1008. font-weight: bold;
  1009. spacing: 1em;
  1010. padding: 20px;
  1011. margin: 32px;
  1012. min-width: 64px;
  1013. min-height: 64px;
  1014. color: $_shell_fg_color;
  1015. background: none;
  1016. border: none;
  1017. border-radius: 5px;
  1018. border-image: url("common-assets/misc/osd.svg") 9 9 9 9;
  1019. .osd-monitor-label { font-size: 3em; }
  1020. .level {
  1021. padding: 0;
  1022. height: 4px;
  1023. background-color: transparentize(black, 0.5);
  1024. border-radius: 2px;
  1025. color: $selected_bg_color;
  1026. }
  1027. .level-bar {
  1028. background-color: $selected_bg_color;
  1029. }
  1030. }
  1031. //
  1032. // Window list (windowList.js)
  1033. //
  1034. .window-list {
  1035. &-box {
  1036. spacing: 6px;
  1037. padding-left: 10px;
  1038. padding-top: 1px;
  1039. &.vertical {
  1040. spacing: 2px;
  1041. padding-left: 0px;
  1042. padding-right: 0px;
  1043. padding-top: 10px;
  1044. padding-bottom: 10px;
  1045. }
  1046. &:highlight {
  1047. background-color: transparentize($error_color, 0.5);
  1048. }
  1049. }
  1050. &-item-label {
  1051. font-weight: bold;
  1052. width: 15em;
  1053. min-width: 5px;
  1054. }
  1055. &-item-box {
  1056. font-weight: bold;
  1057. background-image: none;
  1058. padding-top: 0;
  1059. padding-left: 8px;
  1060. padding-right: 8px;
  1061. transition-duration: 100;
  1062. color: transparentize($selected_fg_color, 0.4);
  1063. &.top,
  1064. &.bottom {
  1065. border-bottom-width: 2px;
  1066. & StLabel { padding-left: 2px; }
  1067. }
  1068. &.right {
  1069. padding-left: 0px;
  1070. padding-right: 0px;
  1071. border-right-width: 2px;
  1072. & StBin { padding-right: 0; }
  1073. }
  1074. &.left {
  1075. padding-left: 0px;
  1076. padding-right: 0px;
  1077. border-left-width: 2px;
  1078. & StBin { padding-left: 1px; }
  1079. }
  1080. &:hover,
  1081. &:groupFocus {
  1082. color: $selected_fg_color;
  1083. background-color: transparentize($selected_fg_color, 0.9);
  1084. }
  1085. &:active,
  1086. &:checked,
  1087. &:focus,
  1088. &:running {
  1089. color: $selected_fg_color;
  1090. border-color: $purple;
  1091. }
  1092. & .progress {
  1093. background-color: transparentize($selected_bg_color, 0.2);
  1094. }
  1095. }
  1096. &-item-demands-attention {
  1097. background-gradient-direction: vertical;
  1098. background-gradient-start: $destructive_color;
  1099. background-gradient-end: $destructive_color;
  1100. }
  1101. &-preview {
  1102. spacing: 6px;
  1103. color: $fg_color;
  1104. border: 1px solid $borders_color;
  1105. background-color: $bg_color;
  1106. border-radius: 3px;
  1107. padding: 6px 12px 12px 12px;
  1108. font-size: 1em;
  1109. }
  1110. }
  1111. //
  1112. // Grouped window list
  1113. //
  1114. .grouped-window-list {
  1115. &-item-label {
  1116. font-weight: bold;
  1117. width: 15em;
  1118. min-width: 5px;
  1119. }
  1120. &-item-box {
  1121. text-align: left;
  1122. font-weight: bold;
  1123. background-image: none;
  1124. padding-top: 0;
  1125. padding-left: 8px;
  1126. padding-right: 8px;
  1127. transition-duration: 100;
  1128. color: transparentize($selected_fg_color, 0.4);
  1129. &.top,
  1130. &.bottom {
  1131. border-bottom-width: 2px;
  1132. & StLabel { padding-left: 2px; }
  1133. }
  1134. &.right {
  1135. padding-left: 0px;
  1136. padding-right: 0px;
  1137. border-right-width: 2px;
  1138. & StBin { padding-right: 0; }
  1139. }
  1140. &.left {
  1141. padding-left: 0px;
  1142. padding-right: 0px;
  1143. border-left-width: 2px;
  1144. & StBin { padding-left: 1px; }
  1145. }
  1146. &:active,
  1147. &:checked {
  1148. color: $selected_fg_color;
  1149. border-color: lighten($panel_bg, 30%);
  1150. }
  1151. &:hover,
  1152. &:active:hover,
  1153. &:focus,
  1154. &:active:focus,
  1155. &:focus:hover,
  1156. &:active:focus:hover {
  1157. color: $selected_fg_color;
  1158. border-color: $purple;
  1159. }
  1160. & .progress {
  1161. background-color: transparentize($selected_bg_color, 0.2);
  1162. }
  1163. }
  1164. &-item-demands-attention {
  1165. background-gradient-direction: vertical;
  1166. background-gradient-start: $destructive_color;
  1167. background-gradient-end: $destructive_color;
  1168. }
  1169. &-thumbnail-label {
  1170. padding-left: 4px;
  1171. }
  1172. &-number-label {
  1173. z-index: 99;
  1174. color: $fg_color;
  1175. }
  1176. &-badge {
  1177. border-radius: 256px;
  1178. background-color: $panel_bg;
  1179. }
  1180. &-button-label {
  1181. padding-left: 4px;
  1182. }
  1183. &-thumbnail-alert {
  1184. background: rgba(255,52,52,0.3);
  1185. }
  1186. &-thumbnail-menu {
  1187. color: $fg_color;
  1188. border: 1px solid $borders_color;
  1189. background-color: $bg_color;
  1190. border-radius: 3px;
  1191. padding: 0px;
  1192. > StBoxLayout {
  1193. padding: 4px;
  1194. }
  1195. .item-box {
  1196. padding: 10px;
  1197. border-radius: 2px;
  1198. spacing: 4px;
  1199. &:outlined {
  1200. padding: 8px;
  1201. border: 1px solid $selected_bg_color;
  1202. }
  1203. &:selected {
  1204. border: 1px solid $selected_bg_color;
  1205. }
  1206. }
  1207. .thumbnail { width: 256px; }
  1208. .separator {
  1209. width: 1px;
  1210. background: rgba(255,255,255,0.2);
  1211. }
  1212. }
  1213. }
  1214. ///
  1215. // Sound Applet (status/volume.js)
  1216. //
  1217. .sound-button {
  1218. width: 22px;
  1219. height: 13px;
  1220. padding: 8px;
  1221. @extend %button;
  1222. &-container {
  1223. padding-right: 3px;
  1224. padding-left: 3px;
  1225. }
  1226. StIcon { icon-size: 1.4em; }
  1227. }
  1228. .sound-track {
  1229. &-infos { padding: 5px; }
  1230. &-info {
  1231. padding-top: 2px;
  1232. padding-bottom: 2px;
  1233. StIcon { icon-size: 16px; }
  1234. StLabel {
  1235. padding-left: 5px;
  1236. padding-right: 5px;
  1237. }
  1238. }
  1239. &-box {
  1240. padding-left: 15px;
  1241. padding-right: 15px;
  1242. max-width: 220px;
  1243. }
  1244. }
  1245. .sound-seek-box {
  1246. padding-left: 15px;
  1247. StLabel { padding-top: 2px; }
  1248. StIcon { icon-size: 16px; }
  1249. }
  1250. .sound-seek-slider { width: 140px; }
  1251. .sound-volume-menu-item {
  1252. padding: .4em 1.75em;
  1253. StIcon {
  1254. icon-size: 1.14em;
  1255. padding-left: 8px;
  1256. padding-right: 8px;
  1257. }
  1258. }
  1259. .sound-playback-control { padding: 5px 10px 10px 10px; }
  1260. // 2.8
  1261. .sound-player {
  1262. padding: 0 4px;
  1263. > StBoxLayout:first-child {
  1264. padding: 5px 10px 12px 10px;
  1265. spacing: 0.5em;
  1266. StButton:small {
  1267. width: 16px;
  1268. height: 8px;
  1269. padding: 1px;
  1270. StIcon { icon-size: 12px; }
  1271. }
  1272. }
  1273. &-generic-coverart {
  1274. background: rgba(0,0,0,0.2);
  1275. }
  1276. &-overlay {
  1277. width: 290px;
  1278. height: 70px;
  1279. padding: 15px;
  1280. spacing: 0.5em;
  1281. background: transparentize(darken($osd_bg_color, 5%), 0.1);
  1282. border: 0px solid darken($osd_bg_color, 10%);
  1283. border-bottom: 1px ;
  1284. color: $osd_fg_color;
  1285. StButton {
  1286. width: 22px;
  1287. height: 13px;
  1288. padding: 5px;
  1289. color: $osd_fg_color;
  1290. border-radius: 2px;
  1291. border: 1px solid transparentize($osd_bg_color,1);
  1292. StIcon { icon-size: 16px; }
  1293. &:hover{ @include button(osd-hover); }
  1294. &:active { @include button(active); }
  1295. }
  1296. StBoxLayout {
  1297. padding-top: 2px;
  1298. }
  1299. }
  1300. .slider {
  1301. height: 0.5em;
  1302. padding: 0;
  1303. border: none;
  1304. -slider-height: 0.5em;
  1305. -slider-background-color: if($variant == 'light', $button_border, darken($bg_color, 5%));
  1306. -slider-border-color: rgba(0,0,0,0);
  1307. -slider-active-background-color: $selected_bg_color;
  1308. -slider-active-border-color: rgba(0,0,0,0);
  1309. -slider-border-width: 0px;
  1310. -slider-handle-radius: 0px;
  1311. }
  1312. }
  1313. //
  1314. // Workspace Switcher applet (workspaceSwitcher.js)
  1315. //
  1316. #workspaceSwitcher {
  1317. spacing: 0px;
  1318. padding: 3px;
  1319. }
  1320. /* Controls the styling when using the "Simple buttons" option */
  1321. .workspace-switcher {
  1322. padding-left: 3px;
  1323. padding-right: 3px;
  1324. }
  1325. .workspace-button {
  1326. width: 20px;
  1327. height: 10px;
  1328. color: $fg_color;
  1329. padding: 3px;
  1330. padding-top: 4px;
  1331. transition-duration: 300;
  1332. &:outlined, &:outlined:hover { color: $purple; }
  1333. &:hover { color: transparentize($purple, 0.5) }
  1334. }
  1335. /* Controls the style when using the "Visual representation" option */
  1336. .workspace-graph {
  1337. padding: 3px;
  1338. spacing: 3px;
  1339. }
  1340. .workspace-graph .workspace {
  1341. border: 1px solid transparentize(black, 0.6);
  1342. background-gradient-direction: none;
  1343. background-color: transparentize(black, 0.8);
  1344. }
  1345. .workspace-graph .workspace:active {
  1346. border: 1px solid $selected_bg_color;
  1347. background-gradient-direction: none;
  1348. }
  1349. .workspace-graph .workspace .windows {
  1350. -active-window-background: lighten($panel_bg, 15%);
  1351. -active-window-border: rgba(0, 0, 0, 0.8);
  1352. -inactive-window-background: lighten($panel_bg, 15%);
  1353. -inactive-window-border: rgba(0, 0, 0, 0.8);
  1354. }
  1355. .workspace-graph .workspace:active .windows {
  1356. -active-window-background: lighten($panel_bg, 20%);
  1357. -active-window-border: rgba(0, 0, 0, 0.8);
  1358. -inactive-window-background: lighten($panel_bg, 5%);
  1359. -inactive-window-border: rgba(0, 0, 0, 0.8);
  1360. }
  1361. //
  1362. // Panel Launchers Applet (panelLaunchers.js)
  1363. //
  1364. #panel-launchers-box {
  1365. padding-left: 7px;
  1366. &.vertical {
  1367. padding: 2px 0;
  1368. }
  1369. }
  1370. .panel-launcher,
  1371. .launcher {
  1372. margin: 1px;
  1373. padding: 1px;
  1374. transition-duration: 200;
  1375. &:hover {
  1376. background-gradient-direction: none;
  1377. border: 0px solid $selected_bg_color;
  1378. .panel-bottom & { border-bottom-width: 1px; }
  1379. .panel-top & { border-top-width: 1px; }
  1380. .panel-left & { border-left-width: 1px; padding-left: 0; }
  1381. .panel-right & { border-right-width: 1px; padding-right: 0; }
  1382. }
  1383. }
  1384. //
  1385. // Overview corner
  1386. //
  1387. #overview-corner {
  1388. background-image: url("common-assets/misc/overview.png");
  1389. &:hover { background-image: url("common-assets/misc/overview-hover.png"); }
  1390. }
  1391. //
  1392. // Applets (applet.js)
  1393. //
  1394. .applet {
  1395. &-separator { padding: 1px 4px; }
  1396. &-separator-line {
  1397. width: 1px;
  1398. background: rgba(255,255,255, 0.12);
  1399. }
  1400. &-box {
  1401. padding-left: 3px;
  1402. padding-right: 3px;
  1403. color: $_shell_fg_color;
  1404. text-shadow: none;
  1405. transition-duration: 100;
  1406. &.vertical {
  1407. padding: 3px 0;
  1408. }
  1409. &:hover {
  1410. color: $selected_fg_color;
  1411. background-color: $selected_bg_color;
  1412. }
  1413. &:highlight {
  1414. background-image: none;
  1415. border-image: none;
  1416. background-color: transparentize($error_color, 0.5);
  1417. }
  1418. }
  1419. &-label {
  1420. font-weight: bold;
  1421. color: $_shell_fg_color;
  1422. &:hover, .applet-box:hover > & {
  1423. color: $selected_fg_color;
  1424. text-shadow: none;
  1425. }
  1426. }
  1427. &-icon {
  1428. color: $_shell_fg_color;
  1429. icon-size: 22px;
  1430. &:hover, .applet-box:hover > & {
  1431. color: $selected_fg_color;
  1432. text-shadow: none;
  1433. }
  1434. }
  1435. }
  1436. //
  1437. // User Applet
  1438. //
  1439. .user-icon {
  1440. width: 32px;
  1441. height: 32px;
  1442. background-color: transparent;
  1443. border: none;
  1444. border-radius: 0;
  1445. }
  1446. .user-label {
  1447. color: $fg_color;
  1448. font-size: 1em;
  1449. font-weight: bold;
  1450. margin: 0px;
  1451. }
  1452. //
  1453. // Desklets (desklet.js)
  1454. //
  1455. .desklet {
  1456. color: $osd_fg_color;
  1457. &:highlight {
  1458. background-color: transparentize($error_color, 0.5);
  1459. }
  1460. &-with-borders {
  1461. border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
  1462. color: $osd_fg_color;
  1463. padding: 12px;
  1464. padding-bottom: 16px;
  1465. &:highlight {
  1466. background-color: transparentize($error_color, 0.5);
  1467. }
  1468. }
  1469. &-with-borders-and-header {
  1470. border-image: url("common-assets/misc/desklet.svg") 9 9 9 9;
  1471. color: $osd_fg_color;
  1472. border-radius: 0;
  1473. border-radius-topleft: 0;
  1474. border-radius-topright: 0;
  1475. padding: 12px;
  1476. padding-bottom: 17px;
  1477. &:highlight {
  1478. background-color: transparentize($error_color, 0.5);
  1479. }
  1480. }
  1481. &-header {
  1482. border-image: url("common-assets/misc/desklet-header.svg") 9 9 9 9;
  1483. color: $osd_fg_color;
  1484. font-size: 1em;
  1485. padding: 12px;
  1486. padding-bottom: 6px;
  1487. }
  1488. &-drag-placeholder {
  1489. border: 2px solid $selected_bg_color;
  1490. background-color: transparentize($selected_bg_color, 0.7);
  1491. }
  1492. }
  1493. .photoframe-box {
  1494. border-image: url("common-assets/misc/bg.svg") 9 9 9 9;
  1495. color: $osd_fg_color;
  1496. padding: 12px;
  1497. padding-bottom: 16px;
  1498. }
  1499. //
  1500. // Workspace OSD
  1501. //
  1502. /*FIXME*/
  1503. .workspace-osd {
  1504. /*color: red;*/
  1505. text-shadow: black 5px 5px 5px;
  1506. font-weight: bold;
  1507. font-size: 48pt;
  1508. }
  1509. //
  1510. // Notification Applet
  1511. //
  1512. .notification-applet-padding { padding: .5em 1em; }
  1513. .notification-applet-container { max-height: 100px; }
  1514. //
  1515. // Tile Preview
  1516. //
  1517. .tile-preview, .tile-preview.snap,
  1518. .tile-hud, .tile-hud.snap {
  1519. background-color: transparentize($selected_bg_color, 0.7);
  1520. border: 1px solid $selected_bg_color;
  1521. }
  1522. //
  1523. // Xkcd Desklet
  1524. //
  1525. .xkcd-box {
  1526. padding: 6px;
  1527. border: 0px;
  1528. background-color: rgba(0,0,0,0);
  1529. border-radius: 0px;
  1530. }