1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302 |
- /* ###################################################################
- * Section common with Gnome Shell
- * contains a few cinnamon specific styles (rare occurrences)
- * ###################################################################*/
- .cinnamon-link {
- color: #3281ea;
- }
- .cinnamon-link:hover {
- color: #3281ea;
- }
- .label-shadow {
- color: transparent;
- }
- StScrollBar {
- padding: 0;
- }
- StScrollView.vfade {
- -st-vfade-offset: 32px;
- }
- StScrollView.hfade {
- -st-hfade-offset: 32px;
- }
- StScrollView StScrollBar {
- min-width: 16px;
- min-height: 6px;
- }
- StScrollBar StBin#trough {
- margin: 6px;
- border-radius: 100px;
- background-color: rgba(255, 255, 255, 0.06);
- }
- StScrollBar StButton#vhandle {
- border-radius: 100px;
- background-color: rgba(255, 255, 255, 0.5);
- margin: 6px;
- }
- StScrollBar StButton#hhandle {
- border-radius: 100px;
- background-color: rgba(255, 255, 255, 0.5);
- margin: 6px;
- }
- StScrollBar StButton#hhandle:hover,
- StScrollBar StButton#vhandle:hover {
- background-color: rgba(255, 255, 255, 0.7);
- }
- StScrollBar StButton#hhandle:active,
- StScrollBar StButton#vhandle:active {
- background-color: rgba(255, 255, 255, 0.9);
- }
- .separator {
- background: rgba(255, 255, 255, 0.12);
- height: 1em;
- }
- .slider {
- height: 20px;
- color: white;
- -slider-height: 2px;
- -slider-background-color: rgba(255, 255, 255, 0.1);
- -slider-border-color: transparent;
- -slider-active-background-color: #408aeb;
- -slider-active-border-color: transparent;
- -slider-border-width: 0;
- -slider-handle-radius: 7px;
- -slider-handle-border-width: 0;
- -slider-handle-border-color: rgba(255, 255, 255, 0.12);
- -barlevel-height: 2px;
- -barlevel-background-color: rgba(255, 255, 255, 0.1);
- -barlevel-border-color: transparent;
- -barlevel-active-background-color: #408aeb;
- -barlevel-active-border-color: transparent;
- -barlevel-overdrive-color: #FF5252;
- -barlevel-overdrive-border-color: transparent;
- -barlevel-overdrive-separator-width: 2px;
- -barlevel-border-width: 0;
- }
- #Tooltip {
- margin: 2px;
- padding: 4px 12px;
- background-color: rgba(0, 0, 0, 0.85);
- color: rgba(255, 255, 255, 0.85);
- font-weight: normal;
- text-align: center;
- border-radius: 12px;
- }
- /* ===================================================================
- * Shared button properties
- * ===================================================================*/
- .notification-button,
- .notification-icon-button,
- .modal-dialog-button,
- .sound-player-overlay StButton {
- color: rgba(255, 255, 255, 0.7);
- background-color: transparent;
- }
- .notification-button:hover,
- .notification-icon-button:hover,
- .modal-dialog-button:hover,
- .sound-player-overlay StButton:hover {
- background-color: #3281ea;
- color: rgba(255, 255, 255, 0.9);
- }
- .notification-button:focus,
- .notification-icon-button:focus,
- .modal-dialog-button:focus,
- .sound-player-overlay StButton:focus {
- background-color: transparent;
- color: rgba(255, 255, 255, 0.7);
- }
- .notification-button:active,
- .notification-icon-button:active,
- .modal-dialog-button:active,
- .modal-dialog-button:pressed,
- .sound-player-overlay StButton:active {
- background-color: rgba(255, 255, 255, 0.1);
- color: rgba(255, 255, 255, 0.9);
- }
- /* ===================================================================
- * PopupMenu (popupMenu.js)
- * ===================================================================*/
- /* .popup-menu-boxpointer and .popup-menu are kept for compatibility
- with cinnamon version under 3.2. Use .menu in version 3.2 and above */
- .popup-menu-boxpointer {
- -arrow-border-radius: 12px;
- -arrow-background-color: rgba(32, 32, 32, 0.95);
- -arrow-border-width: 2px;
- -arrow-border-color: #a5a5a5;
- -arrow-base: 24px;
- -arrow-rise: 11px;
- }
- .popup-menu {
- min-width: 15em;
- color: rgba(255, 255, 255, 0.9);
- background: none;
- }
- .menu {
- min-width: 15em;
- color: rgba(255, 255, 255, 0.9);
- background-color: rgba(32, 32, 32, 0.95);
- border-radius: 12px;
- box-shadow: 0 10px 10px rgba(0, 0, 0, 0.285), 0 6px 3px rgba(0, 0, 0, 0.345);
- margin: 6px;
- padding: 4px 0;
- }
- .popup-menu-arrow {
- icon-size: 16px;
- }
- .popup-submenu-menu-item:open {
- background-color: #eaeaea;
- color: rgba(0, 0, 0, 0.75);
- margin: 0 4px;
- border-radius: 12px 12px 0 0;
- }
- .popup-submenu-menu-item:open:hover {
- color: rgba(0, 0, 0, 0.85);
- background-color: #eaeaea;
- /* background-color: rgba(255, 255, 255, 0.95); */
- }
- /* 弹出子菜单 */
- .popup-sub-menu {
- margin: 0 4px;
- color: rgba(0, 0, 0, 0.75);
- background-color: rgba(255, 255, 255, 0.95);
- border-radius: 0 0 12px 12px;
- border: none;
- box-shadow: none;
- background-image: none;
- }
- .popup-sub-menu .popup-menu-item {
- margin: 0;
- border-radius: 12px;
- color: rgba(0, 0, 0, 0.75);
- background-image: none;
- }
- .popup-sub-menu .popup-menu-item:hover {
- color: rgba(0, 0, 0, 0.85);
- /* background-color: #3281ea; */
- background-color: rgba(255, 255, 255, 0.95);
- }
- .popup-sub-menu .popup-menu-item:active {
- color: rgba(0, 0, 0, 0.85);
- background-color: rgba(0, 0, 0, 0.2);
- }
- .popup-sub-menu .popup-menu-item.selected:active {
- color: rgba(0, 0, 0, 0.75);
- }
- .popup-sub-menu .popup-menu-item:not(:first-child):last-child {
- border-radius: 0 0 12px 12px;
- }
- .popup-sub-menu .popup-menu-item:ltr {
- padding-right: 1.75em;
- }
- .popup-sub-menu .popup-menu-item:rtl {
- padding-left: 1.75em;
- }
- .popup-sub-menu StScrollBar {
- padding: 4px;
- }
- .popup-sub-menu StScrollBar StBin#trough {
- border-width: 0px;
- }
- .popup-sub-menu StScrollBar StBin#vhandle {
- background-color: #3281ea;
- border-width: 0px;
- }
- .popup-combo-menu {
- background-color: rgba(0, 0, 0, 0.9);
- padding: 1em 0em;
- color: rgba(255, 255, 255, 0.9);
- border-radius: 12px;
- }
- /* The remaining popup-menu sizing is all done in ems, so that if you
- * override .popup-menu.font-size, everything else will scale with it.
- */
- .popup-menu-content {
- padding: 4px 0;
- }
- .popup-menu-item {
- spacing: 12px;
- margin: 0 4px;
- padding: 6px;
- color: rgba(255, 255, 255);
- transition-duration: 100ms;
- /* border-radius: 100px; */
- border-radius: 5px;
- background-image: none;
- }
- .popup-menu-item:active {
- /* background-color: rgba(255, 255, 255, 0.1); */
- background-color: #3281ea;
- color: rgba(255, 255, 255);
- transition-duration: 150ms;
- }
- .popup-menu-item:insensitive {
- color: rgba(255, 255, 255, 0.5);
- }
- .popup-combobox-item {
- spacing: 1em;
- }
- .popup-separator-menu-item {
- background: none;
- border: none;
- padding: 0 0;
- margin: 0 0;
- height: 0;
- }
- .popup-alternating-menu-item:alternate {
- font-weight: bold;
- }
- .popup-slider-menu-item {
- height: 20px;
- color: white;
- -slider-height: 2px;
- -slider-background-color: rgba(255, 255, 255, 0.1);
- -slider-border-color: transparent;
- -slider-active-background-color: #408aeb;
- -slider-active-border-color: transparent;
- -slider-border-width: 0;
- -slider-handle-radius: 7px;
- -slider-handle-border-width: 0;
- -slider-handle-border-color: rgba(255, 255, 255, 0.12);
- -barlevel-height: 2px;
- -barlevel-background-color: rgba(255, 255, 255, 0.1);
- -barlevel-border-color: transparent;
- -barlevel-active-background-color: #408aeb;
- -barlevel-active-border-color: transparent;
- -barlevel-overdrive-color: #FF5252;
- -barlevel-overdrive-border-color: transparent;
- -barlevel-overdrive-separator-width: 2px;
- -barlevel-border-width: 0;
- }
- .popup-device-menu-item {
- spacing: 0.5em;
- }
- .popup-inactive-menu-item {
- color: rgba(255, 255, 255, 0.9);
- }
- .popup-inactive-menu-item:insensitive {
- color: rgba(255, 255, 255, 0.5);
- }
- .popup-subtitle-menu-item {
- font-weight: bold;
- }
- .popup-menu-icon {
- icon-size: 1.2307692308em;
- }
- /* Switches (to be used in menus) */
- .toggle-switch {
- width: 40px;
- height: 20px;
- background-size: contain;
- background-image: url("assets/toggle-off.svg");
- }
- .toggle-switch-us {
- background-image: url("assets/toggle-off.svg");
- }
- .toggle-switch-us:checked {
- background-image: url("assets/toggle-on.svg");
- }
- .toggle-switch-intl {
- background-image: url("assets/toggle-off.svg");
- }
- .toggle-switch-intl:checked {
- background-image: url("assets/toggle-on.svg");
- }
- .nm-menu-item-icons {
- spacing: 0.5em;
- }
- /* ===================================================================
- * Panel (panel.js)
- * ===================================================================*/
- /* 主面板 这里不能有背景色 才能实现 Dock 效果 */
- #panel {
- /* background-color: rgba(0, 0, 0, 0.6); */
- transition-duration: 250ms;
- font-weight: bold;
- /* height: 34px; */
- color: #dedede;
- /* width: 32px; */
- box-shadow: 0 0 transparent;
- }
- /* #panel:highlight {
- background-color: rgba(0, 0, 0, 0.6);
- } */
- /* .panel-dummy:entered {
- background-color: rgba(0, 0, 0, 0.6);
- }
- .panel-dummy:entered {
- background-color: rgba(0, 0, 0, 0.6);
- } */
- .panelLeft {
- spacing: 2px;
- }
- .panelCenter {
- spacing: 2px;
- }
- .panel-top {
- background-color: rgba(0, 0, 0, 0.9);
- /* background-gradient-direction: vertical;
- background-gradient-start: rgba(0, 0, 0, 0.7);
- background-gradient-end: rgba(0, 0, 0, 0.5);
- border-bottom: 1px solid #000; */
- }
- .panel-left .panelCenter,
- .panel-right .panelCenter,
- .panel-bottom .panelCenter {
- background-color: rgba(0, 0, 0, 0.8);
- }
- .panel-bottom .panelCenter {
- border-radius: 5px 5px 5px 5px;
- }
- /* 左边面板 */
- .panel-left .panelCenter {
- border-radius: 0 5px 5px 0;
- padding: 5px 0 0 0;
- }
- /* 右边面板 */
- .panel-right .panelCenter {
- border-radius: 5px 0px 0px 5px;
- padding: 5px 0 0 0;
- }
- .panelLeft:dnd {
- background-color: rgba(0, 0, 0, 0.6);
- }
- .panelCenter:dnd {
- background-color: rgba(0, 0, 0, 0.6);
- }
- .panelRight:dnd {
- background-color: rgba(0, 0, 0, 0.6);
- }
- .panelLeft:ltr {
- padding-right: 4px;
- }
- .panelLeft:rtl {
- padding-left: 4px;
- }
- .panelLeft.vertical:ltr {
- padding-right: 0px;
- }
- .panelLeft.vertical:rtl {
- padding-left: 0px;
- }
- .panelRight:ltr {
- padding-left: 0px;
- spacing: 0px;
- }
- .panelRight:rtl {
- padding-right: 0px;
- spacing: 0px;
- }
- .panelLeft.vertical {
- padding: 0px;
- }
- .panelRight.vertical {
- padding: 0px;
- }
- .panelCenter.vertical {
- padding-left: 0px;
- padding-right: 0px;
- }
- .panelLeft.vertical:dnd {}
- .panelCenter.vertical:dnd {}
- .panelRight.vertical:dnd {}
- .panel-top {
- height: 2.5em;
- background-color: rgba(0, 0, 0, 0.6);
- }
- .panel-bottom {
- height: 2.5em;
- }
- .panel-left {
- width: 2.5em;
- }
- .panel-right {
- width: 2.5em;
- }
- .panel-status-button {
- border-width: 0;
- -natural-hpadding: 3px;
- -minimum-hpadding: 3px;
- font-weight: bold;
- color: rgba(200, 200, 200, 1);
- height: 22px;
- }
- .panel-status-button:hover {
- color: #D9D9D9;
- }
- .system-status-icon {
- spacing: 0px;
- margin: 0px;
- icon-size: 1.45em;
- padding: 0 3px;
- }
- .system-status-icon.warning {
- color: #e5e887;
- }
- .system-status-icon.error {
- color: #fb5858;
- }
- .systray {
- padding-left: 2px;
- padding-right: 2px;
- }
- .systray>.applet-box {}
- .systray:hover {
- padding-top: 0px;
- padding-left: 1px;
- padding-right: 1px;
- padding-bottom: 0px;
- border-style: solid;
- border: 1px;
- border-color: rgba(60, 60, 60, 6);
- border-radius: 7px 7px 7px 7px;
- background-color: #3281ea;
- box-shadow: inset 1px 0px 0px 0px rgba(217, 217, 217, 0.9);
- color: #fff;
- text-shadow: 2px 2px 2px #000000;
- transition-duration: 30;
- }
- .panel-left .systray,
- .panel-right .systray {
- padding-top: 1px;
- padding-left: 0px;
- padding-right: 0px;
- padding-bottom: 1px;
- }
- .panel-left .systray:hover,
- .panel-right .systray:hover {
- padding-top: 0px;
- padding-left: 1px;
- padding-right: 1px;
- padding-bottom: 0px;
- border-style: solid;
- border: 1px;
- border-color: rgba(60, 60, 60, 6);
- border-radius: 7px 7px 7px 7px;
- background-color: #3281ea;
- color: #fff;
- text-shadow: 2px 2px 2px #000000;
- transition-duration: 0;
- }
- .panel-corner {
- -panel-corner-radius: 0;
- -panel-corner-background-color: rgba(0, 0, 0, 0.6);
- -panel-corner-border-width: 0;
- -panel-corner-border-color: transparent;
- }
- .panel-corner:active,
- .panel-corner:overview,
- .panel-corner:focus {
- -panel-corner-inner-border-color: rgba(255, 255, 255, 0.85);
- }
- .panel-button #appMenuIcon {
- app-icon-bottom-clip: 1px;
- }
- .panel-button:active #appMenuIcon,
- .panel-button:checked #appMenuIcon,
- .panel-button:focus #appMenuIcon {
- app-icon-bottom-clip: 2px;
- }
- .panel-button {
- -natural-hpadding: 6px;
- -minimum-hpadding: 2px;
- font-weight: bold;
- color: rgba(200, 200, 200, 1);
- transition-duration: 0;
- }
- .panel-button:hover {
- color: #D9D9D9;
- }
- .panel-button:active,
- .panel-button:overview,
- .panel-button:focus {
- background-color: rgba(255, 255, 255, 0.25);
- color: rgba(255, 255, 255, 0.85);
- text-shadow: none;
- box-shadow: none;
- }
- .panel-button:active>.system-status-icon,
- .panel-button:checked>.system-status-icon,
- .panel-button:focus>.system-status-icon {
- icon-shadow: none;
- }
- .popup-menu-item-dot {}
- .panel-menu {
- -boxpointer-gap: 4px;
- margin-bottom: 1.75em;
- }
- /* ===================================================================
- * Overview
- * ===================================================================*/
- #overview {
- spacing: 24px;
- }
- .workspace-controls {
- visible-height: 32px;
- /* Amount visible before hovering */
- }
- .workspace-thumbnails-background {
- border-radius: 12px;
- }
- .workspace-thumbnails-background:rtl {
- border-radius: 12px;
- }
- .workspace-thumbnails {
- visible-width: 32px;
- spacing: 12px;
- padding: 16px;
- border-radius: 12px;
- margin: 6px;
- }
- .workspace-add-button {
- background-image: url("assets/more-results-dark.svg");
- height: 42px;
- width: 42px;
- padding: 0;
- transition-duration: 300;
- }
- .workspace-add-button:hover {
- background-image: url("assets/more-results-dark.svg");
- transition-duration: 300;
- }
- .workspace-close-button {
- background-image: url("assets/window-close.svg");
- height: 34px;
- width: 34px;
- -cinnamon-close-overlap: 20px;
- }
- .workspace-close-button:hover {
- background-image: url("assets/window-close-hover.svg");
- }
- .workspace-close-button:active {
- background-image: url("assets/window-close-active.svg");
- }
- .workspace-thumbnail-indicator {
- border: 2px solid #3281ea;
- padding: 6px;
- border-radius: 3px;
- }
- .window-caption {
- spacing: 25px;
- color: rgba(255, 255, 255, 0.85);
- background-color: rgba(0, 0, 0, 0.6);
- border-radius: 12px;
- padding: 4px 8px;
- border: none;
- font-size: 1em;
- font-weight: normal;
- -cinnamon-caption-spacing: 8px;
- max-width: 20em;
- }
- .window-caption:focus {
- color: rgba(255, 255, 255, 0.85);
- }
- .window-border {
- border: 4px solid rgba(255, 255, 255, 0.3);
- border-radius: 5px;
- box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
- }
- .window-close {
- transition-duration: 0ms;
- height: 42px;
- width: 42px;
- -cinnamon-close-overlap: 20px;
- border: none;
- border-image: none;
- box-shadow: none;
- padding: 0;
- margin: 0;
- color: transparent;
- background-color: transparent;
- background-image: url("assets/window-close.svg");
- }
- .window-close:hover {
- height: 42px;
- width: 42px;
- border: none;
- border-image: none;
- box-shadow: none;
- padding: 0;
- margin: 0;
- color: transparent;
- background-color: transparent;
- background-image: url("assets/window-close-hover.svg");
- }
- .window-close:active {
- height: 42px;
- width: 42px;
- border: none;
- border-image: none;
- box-shadow: none;
- padding: 0;
- margin: 0;
- color: transparent;
- background-color: transparent;
- background-image: url("assets/window-close-active.svg");
- }
- .window-close-area {
- background-size: 100px;
- background-color: transparent;
- border-radius: 12px;
- height: 120px;
- width: 400px;
- }
- .overview-icon {
- padding: 10px 8px 5px 8px;
- spacing: 6px;
- }
- .overview-icon>StBoxLayout {
- spacing: 6px;
- }
- .overview-empty-placeholder {
- color: rgba(255, 255, 255, 0.85);
- font-size: 2em;
- }
- .expo-background {
- color: rgba(255, 255, 255, 0.85);
- background-color: rgba(255, 255, 255, 0.13);
- border: none;
- }
- .workspace-overview-background-shade {
- background-color: rgba(0, 0, 0, 0.3);
- }
- .expo-workspace-thumbnail-frame {
- border: 4px solid rgba(255, 255, 255, 0.3);
- border-radius: 5px;
- }
- .expo-workspace-thumbnail-frame#active {
- border: 4px solid #3281ea;
- border-radius: 5px;
- }
- #overview StScrollBar StBin#trough {
- background-color: rgba(255, 255, 255, 0.15);
- }
- #overview StScrollBar StButton#vhandle,
- #overview StScrollBar StButton#hhandle {
- background-color: rgba(255, 255, 255, 0.5);
- }
- #overview StScrollBar StButton#vhandle:hover,
- #overview StScrollBar StButton#hhandle:hover {
- background-color: #3281ea;
- }
- #overview StScrollBar StButton#vhandle:active,
- #overview StScrollBar StButton#hhandle:active {
- background-color: rgba(255, 255, 255, 0.85);
- }
- .workspace-thumbnails-background,
- .workspace-thumbnails-background:rtl,
- .workspace-thumbnails {
- color: rgba(255, 255, 255, 0.85);
- background-color: rgba(255, 255, 255, 0.13);
- border: none;
- }
- /* ===================================================================
- * Looking Glass
- * ===================================================================*/
- #LookingGlassDialog {
- background-color: rgba(0, 0, 0, 0.6);
- spacing: 4px;
- padding: 4px;
- border-radius: 5px;
- color: rgba(255, 255, 255, 0.9);
- }
- /* ===================================================================
- * Date applet 日期控件
- * ===================================================================*/
- /*calendar-background allows the date applet calendar to be themed separately from other applet menus*/
- .calendar {
- padding: 0;
- margin: 0 8px;
- border: none;
- box-shadow: none;
- background: none;
- text-shadow: none;
- color: rgba(255, 255, 255, 0.7);
- spacing-rows: 0px;
- spacing-columns: 0px;
- }
- .calendar-month-label {
- height: 20px;
- margin: 2px;
- padding: 6px 6px;
- border-radius: 12px;
- color: rgba(255, 255, 255, 0.7);
- font-weight: bold;
- text-align: center;
- text-shadow: none;
- }
- .calendar-month-label:focus {
- color: rgba(255, 255, 255, 0.9);
- background-color: rgba(255, 255, 255, 0.06);
- }
- .calendar-change-month-back {
- width: 12px;
- height: 12px;
- padding: 0 2px;
- background-image: url("assets/calendar-arrow-left.svg");
- border-radius: 5px;
- }
- .calendar-change-month-back:rtl {
- background-image: url("assets/calendar-arrow-right.svg");
- }
- .calendar-change-month-back:hover {
- color: rgba(255, 255, 255, 0.9);
- background-color: #3281ea;
- }
- .calendar-change-month-back:active {
- color: rgba(255, 255, 255, 0.9);
- background-color: rgba(255, 255, 255, 0.06);
- }
- .calendar-change-month-forward {
- width: 12px;
- height: 12px;
- padding: 0 2px;
- background-image: url("assets/calendar-arrow-right.svg");
- border-radius: 5px;
- }
- .calendar-change-month-forward:rtl {
- background-image: url("assets/calendar-arrow-left.svg");
- }
- .calendar-change-month-forward:hover {
- color: rgba(255, 255, 255, 0.9);
- background-color: #3281ea;
- }
- .calendar-change-month-forward:active {
- color: rgba(255, 255, 255, 0.9);
- background-color: rgba(255, 255, 255, 0.06);
- }
- .datemenu-date-label {
- text-align: center;
- padding: 12px;
- font-size: 1.1em;
- color: #cccccc;
- font-weight: bold;
- }
- .calendar-day-base {
- font-size: 9pt;
- font-weight: 400;
- text-align: center;
- width: 28px;
- height: 28px;
- padding: 0 0;
- margin: 2px;
- border-radius: 1000px;
- color: rgba(255, 255, 255, 0.7);
- border: none;
- font-feature-settings: "tnum";
- text-shadow: none;
- }
- .calendar-day-base:hover {
- background-color: #3281ea;
- }
- .calendar-day-heading {
- width: 28px;
- height: 21px;
- margin-top: 2px;
- padding: 7px 0 0;
- border-radius: 100px;
- background-color: transparent;
- color: rgba(255, 255, 255, 0.5);
- font-size: 9pt;
- font-weight: 400;
- font-weight: bold;
- text-align: center;
- }
- .calendar-week-number {
- height: 1.8em;
- width: 2em;
- margin: 4px 0;
- border-radius: 100px;
- background-color: rgba(255, 255, 255, 0.03);
- color: rgba(255, 255, 255, 0.5);
- font-size: inherit;
- font-weight: bold;
- text-align: center;
- text-shadow: none;
- }
- /* Hack used in lieu of border-collapse - see calendar.js */
- .calendar-day:ltr {
- border-width: 0;
- }
- .calendar-day-top:ltr {
- border-top-width: 0;
- }
- .calendar-day-left:ltr {
- border-top-width: 0;
- }
- .calendar-day:rtl {
- border-width: 0;
- }
- .calendar-day-top:rtl {
- border-top-width: 0;
- }
- .calendar-day-left:rtl {
- border-top-width: 0;
- }
- .calendar-nonwork-day {
- color: rgba(255, 255, 255, 0.9);
- }
- .calendar-today {
- font-weight: bold !important;
- color: white;
- background-color: #3281ea;
- border: none;
- }
- .calendar-other-month-day {
- color: rgba(255, 255, 255, 0.3);
- opacity: 0.5;
- }
- .calendar-day-with-events {
- color: rgba(255, 255, 255, 0.5);
- background-image: url("assets/calendar-today.svg");
- }
- .calendar-day-with-events.calendar-work-day {
- color: rgba(255, 255, 255, 0.5);
- font-weight: bold;
- }
- /* ===================================================================
- * Notifications
- * ===================================================================*/
- #notification {
- font-size: 1em;
- width: 34em;
- min-height: 56px;
- margin: 5px;
- border-radius: 12px;
- color: rgba(255, 255, 255, 0.9);
- background-color: #2d2d2d;
- border: none;
- box-shadow: 0 3px 3px rgba(0, 0, 0, 0.24), 0 3px 3px rgba(0, 0, 0, 0.345);
- padding: 12px;
- spacing-rows: 10px;
- spacing-columns: 10px;
- margin-from-right-edge-of-screen: 20px;
- }
- #notification.multi-line-notification {
- padding-bottom: 8px;
- color: rgba(255, 255, 255, 0.9);
- }
- /* We use row-span = 2 for the image cell, which prevents its height preferences to be
- taken into account during allocation, so its height ends up being limited by the height
- of the content in the other rows. To avoid showing a stretched image, we set the minimum
- height of the table to be ICON_SIZE + IMAGE_SIZE + spacing-rows = 24 + 125 + 10 = 159 */
- .notification-with-image {
- min-height: 159px;
- color: rgba(255, 255, 255, 0.9);
- }
- #notification-scrollview {
- max-height: 10em;
- }
- #notification-scrollview>.top-shadow,
- #notification-scrollview>.bottom-shadow {
- height: 1em;
- }
- #notification-scrollview:ltr>StScrollBar {
- padding-left: 6px;
- }
- #notification-scrollview:rtl>StScrollBar {
- padding-right: 6px;
- }
- #notification-body {
- spacing: 5px;
- }
- #notification-actions {
- spacing: 10px;
- }
- .notification-button {
- border-radius: 12px;
- padding: 4px 8px 5px;
- }
- .notification-button:focus {
- padding: 3px 8px 4px;
- }
- .notification-icon-button {
- border-radius: 12px;
- padding: 5px;
- }
- .notification-icon-button:focus {
- padding: 4px;
- }
- .notification-icon-button>StIcon {
- icon-size: 48px;
- }
- #notification StEntry {
- padding: 4px;
- border-radius: 12px;
- color: rgba(255, 255, 255, 0.9);
- background-color: rgba(0, 0, 0, 0.6);
- selected-color: rgba(0, 0, 0, 0.6);
- transition-duration: 300;
- box-shadow: 0 3px 3px rgba(0, 0, 0, 0.24), 0 3px 3px rgba(0, 0, 0, 0.345);
- caret-color: rgba(255, 255, 255, 0.9);
- caret-size: 1px;
- }
- #notification StEntry:focus {
- color: rgba(255, 255, 255, 0.9);
- caret-color: rgba(255, 255, 255, 0.9);
- background-color: rgba(0, 0, 0, 0.6);
- selection-background-color: rgba(0, 0, 0, 0.6);
- }
- /* ===================================================================
- * Alt Tab (appSwitcher/classicSwitcher.js) 窗口切换
- * ===================================================================*/
- #altTabPopup {
- /* padding: 0 4px; */
- spacing: 16px;
- font-size: 0;
- }
- .switcher-list {
- border: 1px solid #202020;
- border-radius: 10px;
- background-color: rgba(47, 47, 47, 1);
- color: #ffffff;
- /* padding: 0 10px; */
- padding: 0 8px;
- }
- /* .switcher-list {
- background: #202020;
- border-radius: 12px;
- padding: 10px;
- color: rgba(255, 255, 255, 0.9);
- box-shadow: 0 19px 19px rgba(0, 0, 0, 0.6), 0 15px 6px rgba(0, 0, 0, 0.44);
- } */
- .switcher-list-item-container {
- spacing: 8px;
- }
- .thumbnail-scroll-gradient-left {
- border-radius: 24px;
- border-radius-topright: 0px;
- border-radius-bottomright: 0px;
- width: 60px;
- }
- .thumbnail-scroll-gradient-right {
- border-radius: 24px;
- border-radius-topleft: 0px;
- border-radius-bottomleft: 0px;
- width: 60px;
- }
- .switcher-list .item-box {
- padding: 8px;
- border-radius: 12px;
- }
- .switcher-list .item-box:outlined {
- padding: 6px;
- border: 4px solid rgba(255, 255, 255, 0.3);
- }
- .switcher-list .item-box:selected {
- /* background: rgba(255, 255, 255, 0.8); */
- background-color: #3281ea;
- }
- .switcher-list .thumbnail-box {
- padding: 2px;
- spacing: 4px;
- }
- .switcher-list .thumbnail {
- width: 256px;
- }
- .switcher-list .separator {
- width: 1px;
- }
- .ripple-box {
- width: 104px;
- height: 104px;
- }
- .switcher-arrow {
- color: rgba(255, 255, 255, 0.9);
- }
- .switcher-arrow:highlighted {
- color: rgba(255, 255, 255, 0.9);
- }
- .switcher-preview-backdrop {
- background-color: rgba(0, 0, 0, 0.6);
- }
- /* ===================================================================
- * Modal dialogs
- * ===================================================================*/
- .modal-dialog {
- border-radius: 24px;
- color: rgba(255, 255, 255, 0.9);
- background-color: #202020;
- box-shadow: 0 10px 10px rgba(0, 0, 0, 0.285), 0 6px 3px rgba(0, 0, 0, 0.345);
- padding: 24px;
- }
- .modal-dialog-button-box {
- spacing: 3px;
- }
- .modal-dialog-button {
- color: rgba(255, 255, 255, 0.7);
- background-color: transparent;
- border-color: transparent;
- box-shadow: 0 0 transparent;
- text-shadow: none;
- icon-shadow: none;
- border-radius: 12px;
- padding: 12px 48px;
- margin-top: 24px;
- }
- .modal-dialog-button:disabled {
- color: rgba(255, 255, 255, 0.3);
- background-color: transparent;
- border-color: transparent;
- box-shadow: 0 0 transparent;
- text-shadow: none;
- icon-shadow: none;
- }
- .modal-dialog-button:focus {
- color: rgba(255, 255, 255, 0.85);
- background-color: rgba(255, 255, 255, 0.15);
- border-color: transparent;
- box-shadow: 0 0 transparent;
- text-shadow: none;
- icon-shadow: none;
- }
- /* Info OSD popup */
- .info-osd {
- font-size: 1.2em;
- border-radius: 12px;
- background-color: #202020;
- color: rgba(255, 255, 255, 0.9);
- padding: 24px;
- text-align: center;
- box-shadow: 0 3px 3px rgba(0, 0, 0, 0.24), 0 3px 3px rgba(0, 0, 0, 0.345);
- }
- .workspace-osd {
- color: rgba(255, 255, 255, 0.9);
- font-weight: bold;
- font-size: 2.6em;
- }
- /* ===================================================================
- * Run dialog
- * ===================================================================*/
- .run-dialog-label {
- color: rgba(255, 255, 255, 0.9);
- padding-bottom: 16px;
- }
- .run-dialog-error-label {
- color: rgba(255, 255, 255, 0.9);
- }
- .run-dialog-error-box {
- padding-top: 16px;
- spacing: 6px;
- }
- .run-dialog-completion-box {
- padding-left: 16px;
- }
- .run-dialog-entry {
- font-weight: bold;
- width: 23em;
- color: rgba(255, 255, 255, 0.9);
- selection-background-color: rgba(255, 255, 255, 0.9);
- selected-color: #202020;
- }
- .run-dialog {
- border-radius: 12px;
- padding: 16px;
- }
- .lightbox {
- background-color: rgba(0, 0, 0, 0.6);
- }
- /* ===================================================================
- * Magnifier
- * ===================================================================*/
- .magnifier-zoom-region {
- border-radius: 12px;
- border: 4px solid rgba(255, 255, 255, 0.3);
- }
- .magnifier-zoom-region.full-screen {
- border-width: 0px;
- }
- /* ===================================================================
- * On screen keyboard
- * ===================================================================*/
- #keyboard {
- background-color: rgba(0, 0, 0, 0.65);
- border: none;
- border-top-width: 0;
- box-shadow: none;
- }
- .keyboard-layout {
- padding: 12px;
- spacing: 12px;
- }
- .keyboard-row {
- spacing: 15px;
- }
- .keyboard-key {
- min-height: 2em;
- min-width: 2em;
- font-size: 14pt;
- font-weight: bold;
- border-radius: 12px;
- border: none;
- color: rgba(255, 255, 255, 0.9);
- background-color: #414141;
- box-shadow: 0 1px rgba(0, 0, 0, 0.2);
- }
- .keyboard-key:grayed {
- background-color: rgba(0, 0, 0, 0.3);
- color: rgba(255, 255, 255, 0.85);
- border-color: rgba(0, 0, 0, 0.3);
- }
- .keyboard-key:hover {
- color: rgba(255, 255, 255, 0.9);
- background-color: #3281ea;
- }
- .keyboard-key:checked,
- .keyboard-key:active {
- color: rgba(255, 255, 255, 0.9);
- background-color: #747474;
- }
- .keyboard-subkeys {
- color: inherit;
- -arrow-border-radius: 12px;
- -arrow-background-color: rgba(0, 0, 0, 0.45);
- -arrow-border-width: 0;
- -arrow-border-color: transparent;
- -arrow-base: 20px;
- -arrow-rise: 10px;
- -boxpointer-gap: 5px;
- box-shadow: 0 3px 3px rgba(0, 0, 0, 0.24), 0 3px 3px rgba(0, 0, 0, 0.345);
- }
- /* ###################################################################
- * Cinnamon Specific Section
- * ###################################################################*/
- /* ===================================================================
- * Menu (menu.js)
- * ===================================================================*/
- /* Main menu title */
- /* menu-background allows the menu applet to be themed separately from other applet menus */
- .menu-background {
- padding: 12px;
- }
- .menu-favorites-box {
- padding: 6px;
- border-radius: 12px;
- background-color: rgba(255, 255, 255, 0.15);
- color: rgba(255, 255, 255, 0.7);
- transition-duration: 300;
- }
- .menu-favorites-button {
- padding: 6px;
- }
- .menu-favorites-button:hover {
- color: rgba(255, 255, 255, 0.85);
- background-color: #3281ea;
- border-radius: 12px;
- }
- .menu-categories-box {
- padding: 12px 32px;
- }
- .menu-applications-inner-box {
- padding-top: 10px;
- padding-left: 10px;
- padding-right: 10px;
- padding-bottom: 0px;
- }
- .menu-applications-outer-box {
- padding-top: 10px;
- padding-left: 10px;
- padding-right: 10px;
- padding-bottom: 0px;
- }
- .menu-application-button {
- padding: 6px;
- }
- .menu-application-button:highlighted {
- /* This style is used in menu application buttons for applications which were newly installed */
- font-weight: bold;
- }
- .menu-application-button-selected {
- padding: 6px;
- background-color: rgba(255, 255, 255, 0.1);
- color: rgba(255, 255, 255, 0.9);
- transition-duration: 150ms;
- border-radius: 100px;
- }
- .menu-application-button-selected:highlighted {
- /* This style is used in menu application buttons for applications which were newly installed */
- font-weight: bold;
- }
- .menu-application-button-label:ltr {
- padding-left: 6px;
- }
- .menu-application-button-label:rtl {
- padding-right: 6px;
- }
- .menu-category-button {
- padding: 6px 12px;
- }
- .menu-category-button-greyed {
- padding: 6px 12px;
- color: rgba(255, 255, 255, 0.5);
- }
- .menu-category-button-greyed StIcon {
- opacity: 0.5;
- }
- .menu-category-button-selected {
- padding: 6px 12px;
- background-color: rgba(255, 255, 255, 0.1);
- color: rgba(255, 255, 255, 0.9);
- transition-duration: 150ms;
- border-radius: 100px;
- }
- .menu-category-button-label:ltr {
- padding-left: 6px;
- }
- .menu-category-button-label:rtl {
- padding-right: 6px;
- }
- /* Name and description of the currently hovered item in the menu
- * This appears on the bottom right hand corner of the menu*/
- .menu-selected-app-box {
- padding-right: 32px;
- padding-left: 28px;
- text-align: right;
- height: 2.2em;
- }
- .menu-selected-app-box:rtl {
- padding-top: 12px;
- height: 2.2em;
- }
- .menu-selected-app-title {
- font-weight: bold;
- }
- .menu-selected-app-description {
- max-width: 150px;
- }
- .menu-top-box {
- spacing: 10px;
- }
- .menu-search-box:ltr {
- padding-left: 32px;
- }
- .menu-search-box:rtl {
- padding-right: 32px;
- }
- #menu-search-entry {
- background-color: #3281ea;
- padding: 4px 8px;
- margin-bottom: 12px;
- border-radius: 9999px;
- color: rgba(0, 0, 0, 0.87);
- selected-color: black;
- caret-color: rgba(255, 255, 255, 0.9);
- caret-size: 1px;
- width: 304px;
- height: 24px;
- transition-duration: 300;
- caret-color: rgba(0, 0, 0, 0.75);
- color: rgba(0, 0, 0, 0.75);
- background-color: rgba(255, 255, 255, 0.75);
- border-radius: 100px;
- border-color: transparent;
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
- }
- #menu-search-entry:focus,
- #menu-search-entry:hover {
- background-color: #FFFFFF;
- color: rgba(0, 0, 0, 0.85);
- border-color: transparent;
- background-color: rgba(255, 255, 255, 0.95);
- border: none;
- box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.55);
- }
- #menu-search-entry:hover {
- transition-duration: 300;
- }
- #menu-search-entry:focus {
- color: rgba(0, 0, 0, 0.87);
- font-weight: bold;
- transition-duration: 0;
- }
- .menu-search-entry-icon {
- icon-size: 16px;
- color: rgba(0, 0, 0, 0.75);
- margin: 0 6px;
- }
- /* Context menu (at the moment only for favorites) */
- /* ===================================================================
- * Window list (windowList.js) 任务栏
- * ===================================================================*/
- .window-list-box {
- spacing: 4px;
- padding: 6px 0PX;
- }
- .window-list-box.vertical {
- spacing: 4px;
- padding: 10px 0;
- }
- .window-list-box.vertical #appMenuIcon {
- padding-top: 4px;
- }
- .window-list-item-box {
- color: #dedede;
- background: transparent;
- border-radius: 9999px;
- transition-duration: 100;
- spacing: 8px;
- }
- .window-list-item-box.top {
- border-radius: 9999px;
- }
- .window-list-item-box.left {
- border-radius: 12px;
- margin: 0 4px;
- }
- .window-list-item-box.right {
- border-radius: 12px;
- margin: 0 4px;
- }
- .window-list-item-box.top,
- .window-list-item-box.bottom {
- padding: 0 8px;
- border: 4px solid transparent;
- }
- .window-list-item-box:active,
- .window-list-item-box:checked,
- .window-list-item-box:focus,
- .window-list-item-box:running {
- background: rgba(255, 255, 255, 0.25);
- color: rgba(255, 255, 255, 0.85);
- }
- .window-list-item-box:hover {
- background-color: #3281ea;
- color: rgba(255, 255, 255, 0.85);
- }
- .window-list-item-demands-attention {
- background: #DD2C00;
- }
- .window-list-item-box .progress {
- background: rgba(230, 230, 230, 0.25);
- border-radius: 9999px;
- }
- .panel-top .window-list-item-box .progress {
- border-radius: 9999px;
- }
- .panel-left .window-list-item-box .progress {
- border-radius: 12px;
- }
- .panel-right .window-list-item-box .progress {
- border-radius: 12px;
- }
- .window-list-preview {
- background: rgba(32, 32, 32, 0.95);
- color: rgba(255, 255, 255, 0.9);
- border-radius: 12px;
- padding: 16px;
- spacing: 6px;
- }
- /* ===================================================================
- * Grouped window list (grouped-window-list@cinnamon.org) 任务栏图标
- * ===================================================================*/
- .grouped-window-list-thumbnail-label {
- /* padding-left: 4px; */
- }
- .grouped-window-list-number-label {
- z-index: 99;
- color: rgba(255, 255, 255, 0.9);
- padding: 0;
- }
- .grouped-window-list-badge {
- border-radius: 9999px;
- background: rgba(255, 255, 255, 0.25);
- }
- .grouped-window-list-button-label {
- /* padding-left: 4px; */
- }
- .grouped-window-list-thumbnail-alert {
- background: #DD2C00;
- }
- .grouped-window-list-item-box {
- color: #dedede;
- background: transparent;
- border-radius: 9999px;
- transition-duration: 100;
- spacing: 0;
- }
- .grouped-window-list-item-box.top {
- border-radius: 9999px;
- }
- .grouped-window-list-item-box.left,
- .grouped-window-list-item-box.right {
- border-radius: 10px;
- }
- /* dock焦点程序图标 左右 */
- .grouped-window-list-item-box.left,
- .grouped-window-list-item-box.right {
- border: 0;
- padding: 2px 0;
- }
- /* dock焦点程序图标 上下 */
- .grouped-window-list-item-box.top,
- .grouped-window-list-item-box.bottom {
- border: 0;
- padding: 0 8px;
- }
- /* 程序指向状态 */
- .grouped-window-list-item-box:checked,
- .grouped-window-list-item-box:active:hover {
- background: rgba(230, 230, 230, 0.1);
- /* background-color: #3281ea; */
- border-radius: 5px;
- /* filter: contrast(1.2); */
- opacity: 0.5;
- /* 让元素半透明 */
- color: #dedede;
- }
- /* 焦点程序选中状态 */
- .grouped-window-list-item-box:focus {
- /* background: #3281ea; */
- background: rgba(230, 230, 230, 0.1);
- border-radius: 5px;
- color: #dedede;
- }
- .grouped-window-list-item-box:active:focus:hover,
- .grouped-window-list-item-box:focus:hover {
- background: rgba(230, 230, 230, 0.1);
- /* background: #3281ea; */
- color: #dedede;
- }
- .grouped-window-list-item-demands-attention {
- background: #DD2C00;
- }
- .grouped-window-list-item-box .progress {
- background: rgba(230, 230, 230, 0.25);
- border-radius: 12px;
- }
- .panel-top .grouped-window-list-item-box .progress {
- border-radius: 12px;
- }
- .panel-left .grouped-window-list-item-box .progress {
- border-radius: 12px;
- }
- .panel-right .grouped-window-list-item-box .progress {
- border-radius: 12px;
- }
- /* 任务栏缩略图 */
- .grouped-window-list-thumbnail-menu {
- background: rgba(0, 0, 0, 0.8);
- /* background-color: #3281ea; */
- color: #dedede;
- padding: 0;
- border-radius: 12px;
- spacing: 4px;
- margin: 6px;
- }
- .grouped-window-list-thumbnail-menu .item-box {
- /* background: rgba(0, 0, 0, 0.6); */
- background-color: #000000;
- color: #dedede;
- padding: 0;
- border-radius: 12px;
- spacing: 4px;
- margin: 6px;
- }
- /* 指向窗口缩略图 */
- .grouped-window-list-thumbnail-menu .item-box:hover {
- background-color: #3281ea;
- }
- .grouped-window-list-thumbnail-menu .item-box:outlined {
- padding: 6px;
- }
- .grouped-window-list-thumbnail-menu .thumbnail {
- width: 256px;
- }
- .grouped-window-list-thumbnail-menu .separator {
- width: 1px;
- background: transparent;
- }
- /* ===================================================================
- * Sound Applet (sound@cinnamon.org)
- * ===================================================================*/
- .sound-player StButton {
- width: 18px;
- height: 18px;
- padding: 5px;
- color: rgba(255, 255, 255, 0.9);
- border-radius: 9999px;
- }
- .sound-player StButton:small {
- width: 16px;
- height: 16px;
- }
- .sound-player StButton:small StIcon {
- icon-size: 1.2em;
- }
- .sound-player StButton StIcon {
- icon-size: 1.5em;
- }
- .sound-player StButton:hover,
- .sound-player StButton:active {
- color: rgba(255, 255, 255, 0.9);
- border-radius: 9999px;
- }
- .sound-player .slider {
- height: 6px;
- -slider-height: 6px;
- -slider-background-color: rgba(0, 0, 0, 0.3);
- -slider-active-background-color: #3281ea;
- -slider-border-width: 0px;
- -slider-handle-radius: 0px;
- }
- .sound-player StBoxLayout {
- spacing: 0.5em;
- }
- .sound-player>StBoxLayout {
- padding: 0 16px 8px;
- }
- .sound-player-overlay {
- width: 300px;
- padding: 12px 16px;
- spacing: 0.5em;
- background-color: rgba(0, 0, 0, 0.6);
- color: rgba(255, 255, 255, 0.9);
- }
- .sound-player-overlay StButton {
- border-radius: 12px;
- padding: 8px;
- }
- .sound-player-overlay StButton>StIcon {
- icon-size: 16px;
- }
- .sound-player-overlay StBoxLayout {
- padding-top: 2px;
- }
- .sound-player-generic-coverart {
- background: rgba(0, 0, 0, 0.2);
- }
- /* ===================================================================
- * Spacer applet
- * ===================================================================*/
- .spacer-box {
- border-radius: 1px;
- border: 1px solid transparent;
- }
- .spacer-box:highlight {
- background-color: rgba(255, 255, 255, 0.1);
- }
- .spacer-box.edit-mode {
- border-radius: 1px;
- border: 1px symbolic;
- }
- /* ===================================================================
- * Workspace Switcher applet (workspaceSwitcher.js)
- * ===================================================================*/
- /* Controls the styling when using the "Simple buttons" option */
- .panel-top .workspace-switcher,
- .panel-bottom .workspace-switcher {
- padding: 0 3px;
- }
- .panel-left .workspace-switcher,
- .panel-right .workspace-switcher {
- padding: 3px;
- }
- .workspace-button {
- border-radius: 9999px;
- color: #dedede;
- padding: 0 8px;
- transition-duration: 300;
- margin: 2px;
- }
- .vertical .workspace-button {
- padding: 4px 0;
- }
- .workspace-button:outlined {
- background: rgba(255, 255, 255, 0.25);
- color: #3281ea;
- }
- .workspace-button:shaded {
- color: #dedede;
- }
- /* Controls the style when using the "Visual representation" option */
- .workspace-graph {
- padding: 3px;
- spacing: 3px;
- margin: 2px;
- }
- .workspace-graph .workspace {
- border-radius: 4px;
- background: rgba(255, 255, 255, 0.25);
- }
- .workspace-graph .workspace:active {
- background: rgba(255, 255, 255, 0.25);
- border: 1px solid #3281ea;
- }
- .workspace-graph .workspace .windows {
- -active-window-background: rgba(128, 128, 128, 0.25);
- -active-window-border: rgba(204, 204, 204, 0.25);
- -inactive-window-background: rgba(230, 230, 230, 0.25);
- -inactive-window-border: rgba(204, 204, 204, 0.25);
- }
- .workspace-graph .workspace:active .windows {
- -active-window-background: rgba(128, 128, 128, 0.25);
- -active-window-border: rgba(204, 204, 204, 0.25);
- -inactive-window-background: rgba(230, 230, 230, 0.25);
- -inactive-window-border: rgba(204, 204, 204, 0.25);
- }
- /* ===================================================================
- * Panel Launchers Applet (panelLaunchers.js)
- * ===================================================================*/
- .panel-launchers {
- padding-left: 7px;
- spacing: 2px;
- }
- .panel-launchers.vertical {
- padding-top: 2px;
- padding-bottom: 2px;
- padding-left: 0px;
- padding-right: 0px;
- spacing: 3px;
- }
- .launcher {
- padding-left: 1px;
- padding-right: 1px;
- border-bottom-width: 1px;
- transition-duration: 300;
- }
- .launcher .icon-box {
- padding-top: 2px;
- }
- .panel-launchers.vertical .launcher .icon-box {
- padding-top: 0;
- }
- .panel-launchers .launcher:hover {
- border-radius: 9999px;
- background: rgba(255, 255, 255, 0.25);
- }
- /* ===================================================================
- * Overview corner
- * ===================================================================*/
- #overview-corner {
- background-image: url("assets/overview.png");
- }
- #overview-corner:hover {
- background-image: url("assets/overview-hover.png");
- }
- /* ===================================================================
- * Applets (applet.js)
- * ===================================================================*/
- .applet-separator {
- padding: 6px 4px;
- }
- .applet-separator-line {
- width: 2px;
- background: rgba(255, 255, 255, 0.25);
- }
- .applet-separator-line-vertical {
- border: 0px solid rgba(255, 255, 255, 0.25);
- border-bottom-width: 2px;
- }
- .applet-box {
- padding-left: 4px;
- padding-right: 4px;
- color: #dedede;
- transition-duration: 300;
- }
- .panel-top .applet-box,
- .panel-bottom .applet-box {
- spacing: 3px;
- }
- .applet-box:checked,
- .applet-box:hover {
- color: #fff;
- }
- .applet-box.vertical {
- padding-left: 0px;
- padding-right: 0px;
- padding-top: 4px;
- padding-bottom: 4px;
- }
- .applet-box:highlight {
- background-color: #3281ea;
- }
- .applet-label {
- font-weight: bold;
- color: #dedede;
- }
- .applet-box:checked>.applet-label,
- .applet-box:hover>.applet-label {
- color: #fff;
- }
- .applet-icon {
- /* symbolic icons will use system-status-icon instead */
- color: #dedede;
- icon-size: 16px;
- }
- .applet-box:checked .applet-icon,
- .applet-box:hover .applet-icon {
- color: #fff;
- icon-shadow: #fff 0px 0px 0px;
- }
- /* ===================================================================
- * Desklets (desklet.js)
- * ===================================================================*/
- .desklet {
- color: #fff;
- }
- .desklet:highlight,
- .desklet:highlight-with-borders,
- .desklet:highlight-with-borders-and-header {
- background-color: #3281ea;
- }
- .desklet-with-borders {
- background-color: rgba(0, 0, 0, 0.6);
- color: #dedede;
- box-shadow: 0 3px 3px rgba(0, 0, 0, 0.24), 0 3px 3px rgba(0, 0, 0, 0.345);
- border-radius-bottomleft: 12px;
- border-radius-bottomright: 12px;
- border-radius-topleft: 12px;
- border-radius-topright: 12px;
- padding: 12px;
- }
- .desklet-with-borders-and-header {
- background-color: rgba(0, 0, 0, 0.6);
- color: #dedede;
- box-shadow: 0 3px 3px rgba(0, 0, 0, 0.24), 0 3px 3px rgba(0, 0, 0, 0.345);
- border-radius-bottomleft: 12px;
- border-radius-bottomright: 12px;
- }
- .desklet-header {
- border-radius-topleft: 12px;
- border-radius-topright: 12px;
- border-bottom: 0px;
- background-color: rgba(0, 0, 0, 0.6);
- color: #dedede;
- padding: 6px;
- }
- .desklet-drag-placeholder {
- border-radius: 12px;
- background-color: rgba(255, 255, 255, 0.25);
- }
- /* ===================================================================
- * Clock Desklet (desklet.js)
- * ===================================================================*/
- .expo-workspaces-name-entry {
- padding: 4px;
- border-radius: 9999px;
- color: rgba(255, 255, 255, 0.85);
- background: rgba(0, 0, 0, 0.6);
- selected-color: #fff;
- caret-color: rgba(255, 255, 255, 0.85);
- caret-size: 1px;
- width: 250px;
- height: 24px;
- text-align: center;
- }
- .expo-workspaces-name-entry#selected {
- background: rgba(0, 0, 0, 0.3);
- font-weight: bold;
- color: rgba(255, 255, 255, 0.85);
- }
- .expo-workspaces-name-entry:focus {
- color: rgba(255, 255, 255, 0.85);
- font-weight: bold;
- transition-duration: 300;
- }
- /* ===================================================================
- * Notification Applet
- * ===================================================================*/
- .notification-applet-padding {
- padding: 0.5em 1em;
- }
- .notification-applet-container {
- max-height: 100px;
- }
- /* Check Boxes */
- .check-box CinnamonGenericContainer {
- spacing: 0.2em;
- }
- .check-box StBin,
- .check-box:focus StBin {
- width: 16px;
- height: 16px;
- background-image: url("assets/checkbox-off.svg");
- }
- .check-box:checked StBin,
- .check-box:focus:checked StBin {
- background-image: url("assets/checkbox.svg");
- }
- .check-box StLabel {
- font-weight: normal;
- }
- .radiobutton CinnamonGenericContainer {
- spacing: 0.2em;
- height: 18px;
- padding-top: 2px;
- }
- .radiobutton StBin,
- .radiobutton:focus StBin {
- width: 16px;
- height: 16px;
- background-image: url("assets/menu-radio-unchecked.png");
- border-radius: 15px;
- }
- .radiobutton:checked StBin,
- .radiobutton:focus:checked StBin {
- background-image: url("assets/menu-radio-checked.png");
- }
- .radiobutton StLabel {
- padding-top: 4px;
- box-shadow: none;
- }
- .flashspot {
- background-color: white;
- }
- /* Media keys OSD popup */
- .osd-window {
- text-align: center;
- font-weight: bold;
- spacing: 1em;
- margin: 32px;
- min-width: 64px;
- min-height: 64px;
- }
- .osd-window .level {
- height: 4px;
- border-radius: 2px;
- background-color: rgba(50, 129, 234, 0.3);
- color: rgba(255, 255, 255, 0.9);
- }
- .osd-window .level-bar {
- background-color: #3281ea;
- border-radius: 2px;
- }
- .tile-preview,
- .tile-hud {
- background-color: rgba(36, 120, 233, 0.3);
- border: 1px solid #2478e9;
- }
- .tile-preview.snap,
- .tile-hud.snap {
- background-color: rgba(36, 120, 233, 0.3);
- border: 1px solid #2478e9;
- }
- .tile-hud:top {
- border-top-width: 0px;
- border-radius: 0px 0px 0 0;
- }
- .tile-hud:bottom {
- border-bottom-width: 0px;
- border-radius: 0 0 0px 0px;
- }
- .tile-hud:left {
- border-left-width: 0px;
- border-radius: 0px 0 0 0px;
- }
- .tile-hud:right {
- border-right-width: 0px;
- border-radius: 0 0px 0px 0;
- }
- .tile-hud:top-left {
- border-top-width: 0px;
- border-left-width: 0px;
- border-radius: 0px 0px 0 0px;
- }
- .tile-hud:top-right {
- border-top-width: 0px;
- border-right-width: 0px;
- border-radius: 0px 0px 0px 0;
- }
- .tile-hud:bottom-left {
- border-bottom-width: 0px;
- border-left-width: 0px;
- border-radius: 0px 0 0px 0px;
- }
- .tile-hud:bottom-right {
- border-bottom-width: 0px;
- border-right-width: 0px;
- border-radius: 0 0px 0px 0px;
- }
- .osd-window {
- color: rgba(255, 255, 255, 0.9);
- background-color: #202020;
- border: none;
- box-shadow: 0 3px 3px rgba(0, 0, 0, 0.24), 0 3px 3px rgba(0, 0, 0, 0.345);
- border-radius: 12px;
- padding: 12px;
- }
- /* ===================================================================
- * Systray Applet
- *
- * .systray is for theming to be applied to the systray as a whole
- * .applet-box is used for indicators (not tray icons) within the systray
- * tray icons are not themed
- * ===================================================================*/
- .systray {
- spacing: 6px;
- }
|