dashboard.scss 63 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197
  1. @use "sass:color";
  2. /* 颜色变量 */
  3. $primary-color: #007aff;
  4. $primary-dark: #0051a8;
  5. $success-color: #34c759;
  6. $warning-color: #ff9500;
  7. $danger-color: #ff3b30;
  8. $info-color: #5ac8fa;
  9. $text-primary-dark: #1c1c1e;
  10. $text-secondary-dark: #636366;
  11. $text-tertiary-dark: #8e8e93;
  12. $border-color: #e5e5ea;
  13. $background-color: #f2f2f7;
  14. $card-background: #ffffff;
  15. $shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  16. $shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  17. $shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  18. $border-radius: 12px;
  19. $transition: all 0.2s ease;
  20. /* iOS设计风格颜色变量 */
  21. $ios-primary: #007aff;
  22. $ios-primary-dark: #0051a8;
  23. $ios-secondary: #5856d6;
  24. $ios-success: #34c759;
  25. $ios-warning: #ff9500;
  26. $ios-danger: #ff3b30;
  27. $ios-background: #f2f2f7;
  28. $ios-card-background: #ffffff;
  29. $ios-border: #e5e5ea;
  30. $ios-text: #1c1c1e;
  31. $ios-text-secondary: #636366;
  32. $ios-text-tertiary: #8e8e93;
  33. $ios-button-background: #f2f2f7;
  34. /* iOS设计风格圆角变量 */
  35. $ios-radius-sm: 8px;
  36. $ios-radius-md: 12px;
  37. $ios-radius-lg: 16px;
  38. $ios-radius-xl: 22px;
  39. /* 企业微信提示动画 */
  40. @keyframes slideInRight {
  41. from {
  42. transform: translateX(100%);
  43. opacity: 0;
  44. }
  45. to {
  46. transform: translateX(0);
  47. opacity: 1;
  48. }
  49. }
  50. /* 新增:待跟进尾款项目列表样式 */
  51. .pending-final-payment-section {
  52. background: $card-background;
  53. border-radius: $border-radius;
  54. padding: 24px;
  55. margin-bottom: 24px;
  56. box-shadow: $shadow-sm;
  57. border: 1px solid $border-color;
  58. .section-header {
  59. display: flex;
  60. justify-content: space-between;
  61. align-items: center;
  62. margin-bottom: 20px;
  63. h3 {
  64. margin: 0;
  65. font-size: 18px;
  66. font-weight: 600;
  67. color: $text-primary-dark;
  68. }
  69. .section-stats {
  70. display: flex;
  71. align-items: center;
  72. gap: 8px;
  73. .stat-badge {
  74. background: $danger-color;
  75. color: white;
  76. padding: 4px 8px;
  77. border-radius: 12px;
  78. font-size: 12px;
  79. font-weight: 600;
  80. min-width: 20px;
  81. text-align: center;
  82. &.urgent {
  83. background: $danger-color;
  84. animation: pulse 2s infinite;
  85. }
  86. }
  87. .stat-label {
  88. font-size: 14px;
  89. color: $text-secondary-dark;
  90. }
  91. }
  92. }
  93. .final-payment-list {
  94. display: flex;
  95. flex-direction: column;
  96. gap: 16px;
  97. .empty-state {
  98. text-align: center;
  99. padding: 40px 20px;
  100. color: $text-tertiary-dark;
  101. svg {
  102. margin-bottom: 16px;
  103. opacity: 0.5;
  104. }
  105. p {
  106. margin: 0;
  107. font-size: 14px;
  108. }
  109. }
  110. .final-payment-item {
  111. display: flex;
  112. justify-content: space-between;
  113. align-items: center;
  114. padding: 20px;
  115. border: 2px solid $border-color;
  116. border-radius: $ios-radius-lg;
  117. background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  118. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  119. position: relative;
  120. overflow: hidden;
  121. &::before {
  122. content: '';
  123. position: absolute;
  124. left: 0;
  125. top: 0;
  126. bottom: 0;
  127. width: 4px;
  128. background: linear-gradient(180deg, $primary-color 0%, lighten($primary-color, 15%) 100%);
  129. transition: width 0.3s ease;
  130. }
  131. &:hover {
  132. transform: translateY(-2px);
  133. box-shadow: 0 8px 24px rgba(0, 122, 255, 0.15);
  134. border-color: $primary-color;
  135. &::before {
  136. width: 6px;
  137. }
  138. }
  139. &.overdue {
  140. border-color: rgba($danger-color, 0.3);
  141. background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
  142. &::before {
  143. background: linear-gradient(180deg, $danger-color 0%, lighten($danger-color, 15%) 100%);
  144. }
  145. &:hover {
  146. box-shadow: 0 8px 24px rgba(255, 59, 48, 0.15);
  147. border-color: $danger-color;
  148. }
  149. }
  150. .project-info {
  151. flex: 1;
  152. .project-header {
  153. display: flex;
  154. justify-content: space-between;
  155. align-items: baseline;
  156. margin-bottom: 12px;
  157. .project-name {
  158. margin: 0;
  159. font-size: 17px;
  160. font-weight: 600;
  161. color: $text-primary-dark;
  162. letter-spacing: -0.3px;
  163. }
  164. .payment-amount {
  165. font-size: 22px;
  166. font-weight: 700;
  167. background: linear-gradient(135deg, $danger-color 0%, darken($danger-color, 10%) 100%);
  168. -webkit-background-clip: text;
  169. -webkit-text-fill-color: transparent;
  170. background-clip: text;
  171. &.highlight {
  172. animation: priceGlow 2s ease-in-out infinite;
  173. }
  174. }
  175. }
  176. .customer-info {
  177. .customer-details {
  178. display: flex;
  179. align-items: center;
  180. gap: 12px;
  181. margin-bottom: 10px;
  182. flex-wrap: wrap;
  183. .icon-user, .icon-phone {
  184. opacity: 0.6;
  185. flex-shrink: 0;
  186. }
  187. .customer-name {
  188. font-size: 14px;
  189. font-weight: 500;
  190. color: $text-primary-dark;
  191. display: flex;
  192. align-items: center;
  193. gap: 6px;
  194. }
  195. .customer-phone {
  196. font-size: 14px;
  197. color: $text-secondary-dark;
  198. display: flex;
  199. align-items: center;
  200. gap: 6px;
  201. font-family: 'SF Mono', Monaco, monospace;
  202. }
  203. }
  204. .project-meta {
  205. display: flex;
  206. justify-content: space-between;
  207. align-items: center;
  208. gap: 12px;
  209. .due-date {
  210. font-size: 13px;
  211. color: $text-tertiary-dark;
  212. display: flex;
  213. align-items: center;
  214. gap: 6px;
  215. svg {
  216. opacity: 0.7;
  217. }
  218. }
  219. .status-badge {
  220. padding: 6px 12px;
  221. border-radius: 20px;
  222. font-size: 12px;
  223. font-weight: 600;
  224. display: inline-flex;
  225. align-items: center;
  226. gap: 4px;
  227. transition: all 0.3s ease;
  228. &.pending {
  229. background: linear-gradient(135deg, rgba($warning-color, 0.15) 0%, rgba($warning-color, 0.08) 100%);
  230. color: darken($warning-color, 5%);
  231. border: 1px solid rgba($warning-color, 0.3);
  232. }
  233. &.overdue {
  234. background: linear-gradient(135deg, rgba($danger-color, 0.15) 0%, rgba($danger-color, 0.08) 100%);
  235. color: darken($danger-color, 5%);
  236. border: 1px solid rgba($danger-color, 0.3);
  237. animation: badgePulse 2s ease-in-out infinite;
  238. }
  239. .overdue-days {
  240. font-size: 11px;
  241. opacity: 0.9;
  242. }
  243. }
  244. }
  245. }
  246. }
  247. .payment-actions {
  248. display: flex;
  249. flex-direction: column;
  250. gap: 10px;
  251. margin-left: 20px;
  252. button {
  253. &.mini {
  254. padding: 10px 16px;
  255. font-size: 13px;
  256. border-radius: $ios-radius-md;
  257. white-space: nowrap;
  258. font-weight: 500;
  259. display: flex;
  260. align-items: center;
  261. gap: 6px;
  262. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  263. border: none;
  264. cursor: pointer;
  265. letter-spacing: -0.2px;
  266. svg {
  267. width: 16px;
  268. height: 16px;
  269. stroke-width: 2.5;
  270. }
  271. }
  272. }
  273. .btn-primary {
  274. background: linear-gradient(135deg, $primary-color 0%, darken($primary-color, 8%) 100%);
  275. color: white;
  276. box-shadow: 0 2px 8px rgba($primary-color, 0.3);
  277. &:hover:not(:disabled) {
  278. background: linear-gradient(135deg, darken($primary-color, 5%) 0%, darken($primary-color, 13%) 100%);
  279. box-shadow: 0 4px 12px rgba($primary-color, 0.4);
  280. transform: translateY(-1px);
  281. }
  282. &:active:not(:disabled) {
  283. transform: translateY(0);
  284. }
  285. &:disabled {
  286. background: $text-tertiary-dark;
  287. cursor: not-allowed;
  288. opacity: 0.6;
  289. box-shadow: none;
  290. }
  291. }
  292. .btn-secondary {
  293. background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  294. color: $text-primary-dark;
  295. border: 1px solid $border-color;
  296. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  297. &:hover:not(:disabled) {
  298. background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  299. box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  300. transform: translateY(-1px);
  301. border-color: darken($border-color, 10%);
  302. }
  303. &:active:not(:disabled) {
  304. transform: translateY(0);
  305. }
  306. }
  307. }
  308. }
  309. }
  310. }
  311. @keyframes pulse {
  312. 0% {
  313. transform: scale(1);
  314. }
  315. 50% {
  316. transform: scale(1.05);
  317. }
  318. 100% {
  319. transform: scale(1);
  320. }
  321. }
  322. @keyframes priceGlow {
  323. 0%, 100% {
  324. filter: brightness(1);
  325. text-shadow: 0 0 0 transparent;
  326. }
  327. 50% {
  328. filter: brightness(1.2);
  329. text-shadow: 0 0 8px rgba(255, 59, 48, 0.3);
  330. }
  331. }
  332. @keyframes badgePulse {
  333. 0%, 100% {
  334. transform: scale(1);
  335. box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4);
  336. }
  337. 50% {
  338. transform: scale(1.05);
  339. box-shadow: 0 0 0 4px rgba(255, 59, 48, 0);
  340. }
  341. }
  342. @keyframes slideOutRight {
  343. from {
  344. transform: translateX(0);
  345. opacity: 1;
  346. }
  347. to {
  348. transform: translateX(100%);
  349. opacity: 0;
  350. }
  351. }
  352. /* 企业微信提示样式 */
  353. .wechat-work-tip {
  354. .tip-content {
  355. display: flex;
  356. flex-direction: column;
  357. gap: 8px;
  358. }
  359. .tip-icon {
  360. font-size: 20px;
  361. text-align: center;
  362. }
  363. .tip-text {
  364. font-weight: 600;
  365. line-height: 1.4;
  366. }
  367. .tip-subtext {
  368. font-size: 12px;
  369. opacity: 0.9;
  370. line-height: 1.3;
  371. }
  372. }
  373. /* iOS风格的模态框覆盖层 */
  374. .ios-modal-overlay {
  375. position: fixed;
  376. top: 0;
  377. left: 0;
  378. right: 0;
  379. bottom: 0;
  380. background-color: rgba(0, 0, 0, 0.5);
  381. display: flex;
  382. align-items: center;
  383. justify-content: center;
  384. z-index: 1000;
  385. animation: fadeIn 0.3s ease;
  386. }
  387. /* iOS风格的面板 */
  388. .ios-panel {
  389. background-color: $ios-card-background;
  390. border-radius: $ios-radius-xl;
  391. width: 90%;
  392. max-width: 500px;
  393. max-height: 80vh;
  394. overflow: hidden;
  395. box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
  396. transform: scale(0.95);
  397. opacity: 0;
  398. transition: transform 0.3s ease, opacity 0.3s ease;
  399. }
  400. .ios-panel.ios-panel-visible {
  401. transform: scale(1);
  402. opacity: 1;
  403. }
  404. /* iOS面板头部 */
  405. .ios-panel-header {
  406. display: flex;
  407. align-items: center;
  408. justify-content: space-between;
  409. padding: 16px 20px;
  410. border-bottom: 1px solid $ios-border;
  411. }
  412. .ios-panel-header h3 {
  413. font-size: 18px;
  414. font-weight: 600;
  415. color: $ios-text;
  416. margin: 0;
  417. }
  418. .ios-close-button {
  419. background: none;
  420. border: none;
  421. padding: 8px;
  422. cursor: pointer;
  423. color: $ios-text-secondary;
  424. transition: color 0.2s ease;
  425. border-radius: 50%;
  426. display: flex;
  427. align-items: center;
  428. justify-content: center;
  429. }
  430. .ios-close-button:hover {
  431. color: $ios-text;
  432. background-color: $ios-button-background;
  433. }
  434. /* iOS面板内容 */
  435. .ios-panel-content {
  436. padding: 20px;
  437. overflow-y: auto;
  438. max-height: 60vh;
  439. }
  440. /* 表单样式 */
  441. .form-group {
  442. margin-bottom: 20px;
  443. }
  444. .form-group label {
  445. display: block;
  446. font-size: 14px;
  447. font-weight: 500;
  448. color: $ios-text-secondary;
  449. margin-bottom: 8px;
  450. }
  451. /* iOS风格的表单输入框 */
  452. .ios-input {
  453. width: 100%;
  454. padding: 10px 12px;
  455. border: 1px solid $border-color;
  456. border-radius: 8px;
  457. font-size: 16px;
  458. background-color: white;
  459. transition: all 0.3s ease;
  460. outline: none;
  461. color: $ios-text;
  462. &:focus {
  463. border-color: $primary-color;
  464. box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
  465. }
  466. &::placeholder {
  467. color: $ios-text-secondary;
  468. }
  469. }
  470. /* 截止时间显示区域 */
  471. .deadline-display {
  472. position: relative;
  473. cursor: pointer;
  474. padding-right: 30px !important;
  475. .dropdown-arrow {
  476. position: absolute;
  477. right: 12px;
  478. top: 50%;
  479. transform: translateY(-50%);
  480. transition: transform 0.3s ease;
  481. color: $ios-text-secondary;
  482. }
  483. .dropdown-arrow.rotate {
  484. transform: translateY(-50%) rotate(180deg);
  485. }
  486. }
  487. /* 下拉选择框 */
  488. .deadline-dropdown {
  489. position: absolute;
  490. top: 100%;
  491. left: 0;
  492. right: 0;
  493. margin-top: 5px;
  494. background-color: white;
  495. border: 1px solid $border-color;
  496. border-radius: 8px;
  497. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  498. z-index: 1000;
  499. max-height: 300px;
  500. overflow-y: auto;
  501. opacity: 0;
  502. visibility: hidden;
  503. transition: all 0.3s ease;
  504. }
  505. .deadline-dropdown.visible {
  506. opacity: 1;
  507. visibility: visible;
  508. }
  509. /* 下拉选项 */
  510. .dropdown-option {
  511. padding: 12px 16px;
  512. cursor: pointer;
  513. transition: background-color 0.2s ease;
  514. color: $ios-text;
  515. &:hover {
  516. background-color: #f2f2f7;
  517. }
  518. &.selected {
  519. background-color: rgba(0, 122, 255, 0.1);
  520. color: $primary-color;
  521. font-weight: 500;
  522. }
  523. &.custom-option {
  524. color: $primary-color;
  525. font-weight: 500;
  526. }
  527. }
  528. /* 分隔线 */
  529. .dropdown-divider {
  530. height: 1px;
  531. background-color: $border-color;
  532. margin: 4px 0;
  533. }
  534. /* 错误提示信息 */
  535. .error-message {
  536. color: #ff3b30;
  537. font-size: 14px;
  538. margin-top: 5px;
  539. padding: 4px 0;
  540. }
  541. /* 自定义时间弹窗 */
  542. .custom-time-modal {
  543. position: fixed;
  544. top: 0;
  545. left: 0;
  546. right: 0;
  547. bottom: 0;
  548. z-index: 2000;
  549. display: flex;
  550. align-items: center;
  551. justify-content: center;
  552. opacity: 0;
  553. visibility: hidden;
  554. transition: opacity 0.3s ease;
  555. }
  556. .custom-time-modal.modal-visible {
  557. opacity: 1;
  558. visibility: visible;
  559. }
  560. /* 弹窗背景 */
  561. .modal-backdrop {
  562. position: absolute;
  563. top: 0;
  564. left: 0;
  565. right: 0;
  566. bottom: 0;
  567. background-color: rgba(0, 0, 0, 0.5);
  568. }
  569. /* 弹窗内容 */
  570. .modal-content {
  571. position: relative;
  572. background-color: white;
  573. border-radius: 12px;
  574. width: 90%;
  575. max-width: 400px;
  576. max-height: 80vh;
  577. overflow-y: auto;
  578. transform: translateY(20px);
  579. transition: transform 0.3s ease;
  580. }
  581. .custom-time-modal.modal-visible .modal-content {
  582. transform: translateY(0);
  583. }
  584. /* 弹窗头部 */
  585. .modal-header {
  586. padding: 16px 20px;
  587. border-bottom: 1px solid $border-color;
  588. display: flex;
  589. justify-content: space-between;
  590. align-items: center;
  591. }
  592. .modal-header h3 {
  593. margin: 0;
  594. font-size: 18px;
  595. font-weight: 600;
  596. color: $ios-text;
  597. }
  598. /* 关闭按钮 */
  599. .close-button {
  600. background: none;
  601. border: none;
  602. font-size: 24px;
  603. color: $ios-text-secondary;
  604. cursor: pointer;
  605. padding: 0;
  606. width: 30px;
  607. height: 30px;
  608. display: flex;
  609. align-items: center;
  610. justify-content: center;
  611. border-radius: 15px;
  612. transition: all 0.2s ease;
  613. &:hover {
  614. background-color: #f2f2f7;
  615. color: $ios-text;
  616. }
  617. }
  618. /* 弹窗主体 */
  619. .modal-body {
  620. padding: 20px;
  621. }
  622. /* 日期选择器 */
  623. .date-picker,
  624. .time-picker {
  625. margin-bottom: 16px;
  626. }
  627. .date-picker label,
  628. .time-picker label {
  629. display: block;
  630. margin-bottom: 8px;
  631. font-size: 14px;
  632. font-weight: 500;
  633. color: $ios-text;
  634. }
  635. /* 弹窗底部 */
  636. .modal-footer {
  637. padding: 16px 20px;
  638. border-top: 1px solid $border-color;
  639. display: flex;
  640. justify-content: flex-end;
  641. gap: 10px;
  642. }
  643. /* 按钮样式 */
  644. .cancel-button,
  645. .confirm-button {
  646. padding: 8px 16px;
  647. border-radius: 8px;
  648. font-size: 16px;
  649. font-weight: 500;
  650. cursor: pointer;
  651. transition: all 0.2s ease;
  652. }
  653. .cancel-button {
  654. background-color: #f2f2f7;
  655. color: $ios-text;
  656. border: none;
  657. }
  658. .confirm-button {
  659. background-color: $primary-color;
  660. color: white;
  661. border: none;
  662. }
  663. .cancel-button:hover {
  664. background-color: #e5e5ea;
  665. }
  666. .confirm-button:hover {
  667. background-color: #0066cc;
  668. }
  669. /* iOS面板底部 */
  670. .ios-panel-footer {
  671. display: flex;
  672. justify-content: flex-end;
  673. gap: 12px;
  674. padding: 16px 20px;
  675. border-top: 1px solid $ios-border;
  676. background-color: $ios-background;
  677. }
  678. /* iOS风格按钮 */
  679. .ios-cancel-button,
  680. .ios-submit-button {
  681. padding: 10px 20px;
  682. border: none;
  683. border-radius: $ios-radius-md;
  684. font-size: 16px;
  685. font-weight: 600;
  686. cursor: pointer;
  687. transition: all 0.2s ease;
  688. min-width: 80px;
  689. }
  690. .ios-cancel-button {
  691. background-color: $ios-button-background;
  692. color: $ios-text;
  693. }
  694. .ios-cancel-button:hover {
  695. background-color: color-mix(in srgb, $ios-button-background 80%, $ios-border 20%);
  696. }
  697. .ios-submit-button {
  698. background-color: $ios-primary;
  699. color: white;
  700. }
  701. .ios-submit-button:hover {
  702. background-color: $ios-primary-dark;
  703. }
  704. /* 动画 */
  705. @keyframes fadeIn {
  706. from {
  707. opacity: 0;
  708. }
  709. to {
  710. opacity: 1;
  711. }
  712. }
  713. /* 响应式调整 */
  714. @media (max-width: 768px) {
  715. .ios-panel {
  716. width: 95%;
  717. margin: 20px;
  718. }
  719. }
  720. /* 数据看板 - iOS风格 */
  721. .stats-dashboard {
  722. background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 248, 248, 0.95));
  723. border-radius: 24px;
  724. padding: 28px;
  725. box-shadow:
  726. 0 8px 32px rgba(0, 0, 0, 0.08),
  727. inset 0 1px 0 rgba(255, 255, 255, 0.6);
  728. backdrop-filter: blur(10px);
  729. border: 1px solid rgba(255, 255, 255, 0.2);
  730. margin-bottom: 24px;
  731. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  732. }
  733. .stats-dashboard:hover {
  734. box-shadow:
  735. 0 12px 40px rgba(0, 0, 0, 0.12),
  736. inset 0 1px 0 rgba(255, 255, 255, 0.6);
  737. transform: translateY(-2px);
  738. }
  739. .stats-header {
  740. display: flex;
  741. align-items: center;
  742. justify-content: space-between;
  743. margin-bottom: 20px;
  744. }
  745. .stats-header h3 {
  746. font-size: 20px;
  747. font-weight: 600;
  748. color: $text-primary-dark;
  749. margin: 0;
  750. }
  751. .stats-grid {
  752. display: grid;
  753. grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  754. gap: 16px;
  755. margin-bottom: 20px;
  756. }
  757. /* 统计卡片 - 现代化iOS风格 */
  758. .stat-card {
  759. background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  760. border: 2px solid transparent;
  761. border-radius: 18px;
  762. padding: 20px;
  763. display: flex;
  764. align-items: center;
  765. gap: 16px;
  766. transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  767. cursor: pointer;
  768. box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  769. position: relative;
  770. overflow: hidden;
  771. &::before {
  772. content: '';
  773. position: absolute;
  774. top: 0;
  775. left: 0;
  776. right: 0;
  777. bottom: 0;
  778. background: linear-gradient(135deg, rgba($primary-color, 0.03) 0%, rgba($primary-color, 0.01) 100%);
  779. opacity: 0;
  780. transition: opacity 0.4s ease;
  781. }
  782. &:hover {
  783. border-color: rgba($primary-color, 0.2);
  784. box-shadow:
  785. 0 8px 32px rgba($primary-color, 0.12),
  786. 0 0 0 1px rgba($primary-color, 0.05);
  787. transform: translateY(-3px) scale(1.02);
  788. &::before {
  789. opacity: 1;
  790. }
  791. .stat-icon {
  792. transform: scale(1.1) rotate(5deg);
  793. box-shadow: 0 4px 16px rgba($primary-color, 0.25);
  794. }
  795. .stat-value {
  796. transform: scale(1.05);
  797. }
  798. }
  799. &:active {
  800. transform: translateY(-1px) scale(1.01);
  801. }
  802. }
  803. .stat-icon {
  804. width: 52px;
  805. height: 52px;
  806. background: linear-gradient(135deg, rgba($primary-color, 0.12), rgba($primary-color, 0.08));
  807. border-radius: 14px;
  808. display: flex;
  809. align-items: center;
  810. justify-content: center;
  811. color: $primary-color;
  812. transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  813. flex-shrink: 0;
  814. box-shadow: 0 2px 8px rgba($primary-color, 0.15);
  815. svg {
  816. stroke-width: 2.5;
  817. }
  818. &.primary {
  819. background: linear-gradient(135deg, rgba($primary-color, 0.12), rgba($primary-color, 0.08));
  820. color: $primary-color;
  821. box-shadow: 0 2px 8px rgba($primary-color, 0.15);
  822. }
  823. &.secondary {
  824. background: linear-gradient(135deg, rgba($success-color, 0.12), rgba($success-color, 0.08));
  825. color: $success-color;
  826. box-shadow: 0 2px 8px rgba($success-color, 0.15);
  827. }
  828. &.warning {
  829. background: linear-gradient(135deg, rgba($warning-color, 0.12), rgba($warning-color, 0.08));
  830. color: $warning-color;
  831. box-shadow: 0 2px 8px rgba($warning-color, 0.15);
  832. }
  833. &.danger {
  834. background: linear-gradient(135deg, rgba($danger-color, 0.12), rgba($danger-color, 0.08));
  835. color: $danger-color;
  836. box-shadow: 0 2px 8px rgba($danger-color, 0.15);
  837. }
  838. &.success {
  839. background: linear-gradient(135deg, rgba($success-color, 0.12), rgba($success-color, 0.08));
  840. color: $success-color;
  841. box-shadow: 0 2px 8px rgba($success-color, 0.15);
  842. }
  843. }
  844. .stat-content {
  845. flex: 1;
  846. min-width: 0;
  847. }
  848. .stat-value {
  849. font-size: 32px;
  850. font-weight: 700;
  851. color: $text-primary-dark;
  852. margin-bottom: 4px;
  853. line-height: 1;
  854. letter-spacing: -1px;
  855. transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  856. font-variant-numeric: tabular-nums;
  857. }
  858. .stat-label {
  859. font-size: 14px;
  860. color: $text-secondary-dark;
  861. margin: 0;
  862. font-weight: 500;
  863. letter-spacing: -0.1px;
  864. line-height: 1.4;
  865. }
  866. /* 内容网格 */
  867. .content-grid {
  868. display: grid;
  869. grid-template-columns: 1fr 1fr;
  870. gap: 20px;
  871. margin-top: 16px;
  872. }
  873. /* 任务列表区块 - iOS风格 */
  874. .tasks-section {
  875. background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 248, 248, 0.95));
  876. border-radius: 24px;
  877. padding: 28px;
  878. box-shadow:
  879. 0 8px 32px rgba(0, 0, 0, 0.08),
  880. inset 0 1px 0 rgba(255, 255, 255, 0.6);
  881. backdrop-filter: blur(10px);
  882. border: 1px solid rgba(255, 255, 255, 0.2);
  883. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  884. }
  885. .tasks-section:hover {
  886. box-shadow:
  887. 0 12px 40px rgba(0, 0, 0, 0.12),
  888. inset 0 1px 0 rgba(255, 255, 255, 0.6);
  889. transform: translateY(-2px);
  890. }
  891. /* 通用区块头部 */
  892. .section-header {
  893. display: flex;
  894. align-items: center;
  895. justify-content: space-between;
  896. margin-bottom: 20px;
  897. }
  898. .section-header h3 {
  899. font-size: 20px;
  900. font-weight: 600;
  901. color: $text-primary-dark;
  902. margin: 0;
  903. }
  904. .section-header .view-all {
  905. display: flex;
  906. align-items: center;
  907. gap: 4px;
  908. font-size: 14px;
  909. color: $primary-color;
  910. text-decoration: none;
  911. transition: $transition;
  912. }
  913. .section-header .view-all:hover {
  914. color: $primary-dark;
  915. }
  916. /* 搜索框样式 */
  917. .search-box {
  918. position: relative;
  919. }
  920. .search-input {
  921. padding: 8px 16px;
  922. border: 1px solid $border-color;
  923. border-radius: $border-radius;
  924. font-size: 14px;
  925. color: $text-primary-dark;
  926. background-color: $card-background;
  927. transition: $transition;
  928. outline: none;
  929. min-width: 200px;
  930. }
  931. .search-input:focus {
  932. border-color: $primary-color;
  933. box-shadow: 0 0 0 3px color-mix(in srgb, $primary-color 10%, transparent);
  934. }
  935. /* 紧急待办列表 */
  936. .tasks-list {
  937. display: flex;
  938. flex-direction: column;
  939. gap: 12px;
  940. }
  941. .tasks-list.empty {
  942. text-align: center;
  943. padding: 40px 20px;
  944. color: $text-tertiary-dark;
  945. }
  946. .tasks-list.empty p {
  947. font-size: 16px;
  948. margin: 0;
  949. }
  950. /* 任务项目样式 - iOS风格 */
  951. .task-item {
  952. display: flex;
  953. align-items: center;
  954. justify-content: space-between;
  955. padding: 20px 24px;
  956. border-radius: 16px;
  957. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  958. margin-bottom: 12px;
  959. position: relative;
  960. background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 248, 248, 0.9));
  961. border: 1px solid rgba(0, 0, 0, 0.05);
  962. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  963. }
  964. .task-item.completed {
  965. background-color: #e8f5e9;
  966. border: 1px solid #c8e6c9;
  967. }
  968. .task-item.overdue {
  969. background-color: #ffebee;
  970. border: 1px solid #ffcdd2;
  971. }
  972. .task-item:hover {
  973. transform: translateY(-3px);
  974. box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  975. background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(252, 252, 252, 0.95));
  976. border-color: rgba(0, 0, 0, 0.1);
  977. }
  978. /* 任务复选框样式 */
  979. .task-checkbox {
  980. margin-right: 16px;
  981. }
  982. .task-checkbox input[type="checkbox"] {
  983. width: 20px;
  984. height: 20px;
  985. accent-color: $primary-color;
  986. border-radius: 4px;
  987. cursor: pointer;
  988. }
  989. /* 任务状态标记 */
  990. .task-status {
  991. position: absolute;
  992. top: 12px;
  993. right: 12px;
  994. padding: 4px 12px;
  995. border-radius: 16px;
  996. font-size: 12px;
  997. font-weight: 600;
  998. text-transform: uppercase;
  999. letter-spacing: 0.5px;
  1000. }
  1001. .task-status.completed {
  1002. background-color: color-mix(in srgb, $success-color 15%, transparent);
  1003. color: $success-color;
  1004. }
  1005. .task-status.pending {
  1006. background-color: color-mix(in srgb, $warning-color 15%, transparent);
  1007. color: $warning-color;
  1008. }
  1009. .task-status.overdue {
  1010. background-color: color-mix(in srgb, $danger-color 15%, transparent);
  1011. color: $danger-color;
  1012. }
  1013. /* 任务内容 */
  1014. .task-content {
  1015. flex: 1;
  1016. }
  1017. .task-title {
  1018. font-size: 18px;
  1019. font-weight: 600;
  1020. color: $text-primary-dark;
  1021. margin-bottom: 4px;
  1022. line-height: 1.3;
  1023. }
  1024. .task-project {
  1025. font-size: 14px;
  1026. color: $text-secondary-dark;
  1027. margin-bottom: 8px;
  1028. }
  1029. .task-meta {
  1030. font-size: 14px;
  1031. color: $text-tertiary-dark;
  1032. }
  1033. /* 任务进度 */
  1034. .task-progress {
  1035. width: 100%;
  1036. height: 8px;
  1037. background-color: $background-color;
  1038. border-radius: 4px;
  1039. overflow: hidden;
  1040. margin-top: 12px;
  1041. box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  1042. }
  1043. .progress-bar {
  1044. height: 100%;
  1045. background: linear-gradient(90deg, $primary-color, #5e9eff);
  1046. transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  1047. position: relative;
  1048. overflow: hidden;
  1049. border-radius: 4px;
  1050. }
  1051. .progress-bar::after {
  1052. content: '';
  1053. position: absolute;
  1054. top: 0;
  1055. left: 0;
  1056. right: 0;
  1057. bottom: 0;
  1058. background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  1059. animation: shimmer 2s infinite;
  1060. }
  1061. @keyframes shimmer {
  1062. 0% {
  1063. transform: translateX(-100%);
  1064. }
  1065. 100% {
  1066. transform: translateX(100%);
  1067. }
  1068. }
  1069. .progress-text {
  1070. font-size: 12px;
  1071. color: $text-tertiary-dark;
  1072. text-align: right;
  1073. margin-top: 4px;
  1074. font-weight: 500;
  1075. }
  1076. /* 任务处理进度条容器 */
  1077. .task-progress-container {
  1078. width: 100%;
  1079. height: 12px;
  1080. background-color: #f5f5f5;
  1081. border-radius: 6px;
  1082. overflow: hidden;
  1083. margin-top: 12px;
  1084. box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  1085. }
  1086. .task-progress-bar {
  1087. height: 100%;
  1088. background: linear-gradient(90deg, $primary-color 0%, #5e9eff 100%);
  1089. transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  1090. position: relative;
  1091. overflow: hidden;
  1092. display: flex;
  1093. align-items: center;
  1094. justify-content: flex-end;
  1095. padding-right: 8px;
  1096. border-radius: 6px;
  1097. }
  1098. .task-progress-bar::after {
  1099. content: '';
  1100. position: absolute;
  1101. top: 0;
  1102. left: 0;
  1103. right: 0;
  1104. bottom: 0;
  1105. background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  1106. animation: shimmer 1.5s infinite;
  1107. }
  1108. .task-progress-text {
  1109. font-size: 10px;
  1110. color: white;
  1111. font-weight: 600;
  1112. text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  1113. z-index: 1;
  1114. }
  1115. /* 任务操作按钮 */
  1116. .task-actions {
  1117. display: flex;
  1118. align-items: center;
  1119. }
  1120. .task-button {
  1121. padding: 6px 12px;
  1122. border: 1px solid $border-color;
  1123. border-radius: $border-radius;
  1124. font-size: 14px;
  1125. font-weight: 500;
  1126. cursor: pointer;
  1127. transition: $transition;
  1128. background-color: $card-background;
  1129. color: $text-secondary-dark;
  1130. min-width: 60px;
  1131. text-align: center;
  1132. }
  1133. .task-button:hover {
  1134. border-color: $primary-color;
  1135. color: $primary-color;
  1136. }
  1137. .task-button.primary {
  1138. background-color: $primary-color;
  1139. color: white;
  1140. border-color: $primary-color;
  1141. }
  1142. .task-button.primary:hover {
  1143. background-color: $primary-dark;
  1144. border-color: $primary-dark;
  1145. color: white;
  1146. }
  1147. .task-button:disabled {
  1148. opacity: 0.6;
  1149. cursor: not-allowed;
  1150. transform: none;
  1151. }
  1152. /* 搜索框样式 */
  1153. .search-box {
  1154. position: relative;
  1155. }
  1156. .search-input {
  1157. padding: 8px 16px;
  1158. border: 1px solid $border-color;
  1159. border-radius: $border-radius;
  1160. font-size: 14px;
  1161. color: $text-primary-dark;
  1162. background-color: $card-background;
  1163. transition: $transition;
  1164. outline: none;
  1165. min-width: 200px;
  1166. }
  1167. .search-input:focus {
  1168. border-color: $primary-color;
  1169. box-shadow: 0 0 0 3px color-mix(in srgb, $primary-color 10%, transparent);
  1170. }
  1171. /* 项目动态流 - iOS风格 */
  1172. .project-updates-section {
  1173. background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 248, 248, 0.95));
  1174. border-radius: 24px;
  1175. padding: 28px;
  1176. box-shadow:
  1177. 0 8px 32px rgba(0, 0, 0, 0.08),
  1178. inset 0 1px 0 rgba(255, 255, 255, 0.6);
  1179. backdrop-filter: blur(10px);
  1180. border: 1px solid rgba(255, 255, 255, 0.2);
  1181. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  1182. }
  1183. .project-updates-section:hover {
  1184. box-shadow:
  1185. 0 12px 40px rgba(0, 0, 0, 0.12),
  1186. inset 0 1px 0 rgba(255, 255, 255, 0.6);
  1187. transform: translateY(-2px);
  1188. }
  1189. .project-updates-section.empty {
  1190. text-align: center;
  1191. padding: 60px 20px;
  1192. color: $text-tertiary-dark;
  1193. }
  1194. .project-updates-section.empty p {
  1195. font-size: 16px;
  1196. margin: 0;
  1197. }
  1198. .project-updates-list {
  1199. display: flex;
  1200. flex-direction: column;
  1201. gap: 16px;
  1202. }
  1203. .update-item {
  1204. display: flex;
  1205. gap: 16px;
  1206. padding: 20px;
  1207. border: 1px solid $border-color;
  1208. border-radius: $border-radius;
  1209. transition: $transition;
  1210. &:hover {
  1211. border-color: $primary-color;
  1212. box-shadow: 0 4px 12px color-mix(in srgb, $primary-color 10%, transparent);
  1213. transform: translateY(-2px);
  1214. }
  1215. .update-icon {
  1216. width: 44px;
  1217. height: 44px;
  1218. background-color: $primary-color;
  1219. border-radius: 12px;
  1220. display: flex;
  1221. align-items: center;
  1222. justify-content: center;
  1223. color: white;
  1224. flex-shrink: 0;
  1225. transition: $transition;
  1226. }
  1227. .update-content {
  1228. flex: 1;
  1229. .update-title {
  1230. font-size: 18px;
  1231. font-weight: 600;
  1232. color: $text-primary-dark;
  1233. margin-bottom: 6px;
  1234. line-height: 1.3;
  1235. }
  1236. .update-text {
  1237. font-size: 16px;
  1238. color: $text-secondary-dark;
  1239. margin-bottom: 12px;
  1240. line-height: 1.4;
  1241. }
  1242. .update-meta {
  1243. display: flex;
  1244. align-items: center;
  1245. gap: 20px;
  1246. .update-time {
  1247. font-size: 14px;
  1248. color: $text-tertiary-dark;
  1249. }
  1250. .update-status {
  1251. padding: 4px 12px;
  1252. border-radius: 16px;
  1253. font-size: 14px;
  1254. font-weight: 600;
  1255. transition: $transition;
  1256. &.status-active,
  1257. &.status-info {
  1258. background-color: #e3f2fd;
  1259. color: $primary-color;
  1260. border: 1px solid #bbdefb;
  1261. }
  1262. &.status-completed,
  1263. &.status-success {
  1264. background-color: #e8f5e9;
  1265. color: $success-color;
  1266. border: 1px solid #c8e6c9;
  1267. }
  1268. &.status-warning {
  1269. background-color: #fff3e0;
  1270. color: $warning-color;
  1271. border: 1px solid #ffe0b2;
  1272. }
  1273. &.status-danger {
  1274. background-color: #ffebee;
  1275. color: $danger-color;
  1276. border: 1px solid #ffcdd2;
  1277. }
  1278. }
  1279. }
  1280. }
  1281. }
  1282. .stats-dashboard .stats-grid {
  1283. grid-template-columns: repeat(2, 1fr);
  1284. }
  1285. /* 欢迎区域 - iOS风格 */
  1286. .welcome-section {
  1287. background: linear-gradient(135deg, #c7d3d9, #d4c5b9);
  1288. color: #4a5568;
  1289. padding: 28px 36px;
  1290. border-radius: 24px;
  1291. margin-bottom: 24px;
  1292. box-shadow:
  1293. 0 8px 32px rgba(0, 0, 0, 0.1),
  1294. inset 0 1px 0 rgba(255, 255, 255, 0.6);
  1295. backdrop-filter: blur(10px);
  1296. border: 1px solid rgba(255, 255, 255, 0.2);
  1297. }
  1298. .welcome-section h2 {
  1299. font-size: 26px;
  1300. font-weight: 700;
  1301. margin: 0 0 8px 0;
  1302. letter-spacing: -0.5px;
  1303. color: #2d3748;
  1304. }
  1305. .welcome-section p {
  1306. font-size: 15px;
  1307. opacity: 0.8;
  1308. margin: 0;
  1309. font-weight: 500;
  1310. color: #4a5568;
  1311. }
  1312. @media (max-width: 768px) {
  1313. .welcome-section {
  1314. margin-bottom: 16px;
  1315. h2 {
  1316. font-size: 20px;
  1317. }
  1318. }
  1319. .stats-dashboard {
  1320. margin-bottom: 16px;
  1321. .stats-grid {
  1322. grid-template-columns: 1fr;
  1323. gap: 12px;
  1324. }
  1325. .stat-card {
  1326. padding: 16px;
  1327. }
  1328. .stat-number {
  1329. font-size: 20px;
  1330. }
  1331. .stat-icon {
  1332. width: 40px;
  1333. height: 40px;
  1334. }
  1335. }
  1336. .tasks-section,
  1337. .project-updates-section {
  1338. padding: 16px;
  1339. margin-bottom: 16px;
  1340. }
  1341. .task-item,
  1342. .update-item {
  1343. padding: 16px;
  1344. }
  1345. .task-actions {
  1346. flex-wrap: wrap;
  1347. }
  1348. .task-button {
  1349. font-size: 12px;
  1350. padding: 4px 8px;
  1351. }
  1352. }
  1353. @media (max-width: 480px) {
  1354. .task-item {
  1355. flex-direction: column;
  1356. align-items: flex-start;
  1357. .task-actions {
  1358. margin-top: 12px;
  1359. align-self: flex-end;
  1360. }
  1361. }
  1362. .update-item {
  1363. .update-icon {
  1364. width: 32px;
  1365. height: 32px;
  1366. }
  1367. }
  1368. }
  1369. /* ========== iOS风格新增样式 ========== */
  1370. .ios-page-transition {
  1371. overflow: hidden;
  1372. .stat-card {
  1373. transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  1374. transform: translateY(20px);
  1375. opacity: 0;
  1376. }
  1377. }
  1378. .stat-card {
  1379. &:active {
  1380. transform: scale(0.98);
  1381. transition: transform 0.1s ease;
  1382. }
  1383. perspective: 1000px;
  1384. .stat-content {
  1385. transform-style: preserve-3d;
  1386. transition: transform 0.5s ease;
  1387. &:hover {
  1388. transform: translateZ(10px);
  1389. }
  1390. }
  1391. }
  1392. .stat-icon {
  1393. position: relative;
  1394. overflow: hidden;
  1395. &::after {
  1396. content: '';
  1397. position: absolute;
  1398. top: -50%;
  1399. left: -50%;
  1400. width: 200%;
  1401. }
  1402. }
  1403. /* 莫兰迪色系变量 */
  1404. $morandi-cream: #f5f1eb;
  1405. $morandi-sage: #a8b5a0;
  1406. $morandi-blush: #e8d5d2;
  1407. $morandi-stone: #d4c5b9;
  1408. $morandi-mist: #c7d3d9;
  1409. $morandi-dust: #b8a99a;
  1410. /* iOS风格卡片 - 莫兰迪色系 */
  1411. .ios-card {
  1412. background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 248, 248, 0.9));
  1413. backdrop-filter: blur(10px);
  1414. border: 1px solid rgba(255, 255, 255, 0.2);
  1415. border-radius: 20px;
  1416. box-shadow:
  1417. 0 8px 32px rgba(0, 0, 0, 0.1),
  1418. inset 0 1px 0 rgba(255, 255, 255, 0.6);
  1419. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  1420. overflow: hidden;
  1421. &:hover {
  1422. transform: translateY(-4px);
  1423. box-shadow:
  1424. 0 12px 40px rgba(0, 0, 0, 0.15),
  1425. inset 0 1px 0 rgba(255, 255, 255, 0.6);
  1426. }
  1427. &:active {
  1428. transform: translateY(-1px);
  1429. box-shadow:
  1430. 0 4px 20px rgba(0, 0, 0, 0.1),
  1431. inset 0 1px 0 rgba(255, 255, 255, 0.6);
  1432. }
  1433. }
  1434. /* iOS风格按钮 */
  1435. .ios-btn {
  1436. background: linear-gradient(135deg, $primary-color, $primary-dark);
  1437. border: none;
  1438. border-radius: 16px;
  1439. color: white;
  1440. font-weight: 600;
  1441. font-size: 16px;
  1442. padding: 12px 24px;
  1443. cursor: pointer;
  1444. transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  1445. box-shadow:
  1446. 0 4px 12px rgba($primary-color, 0.3),
  1447. inset 0 1px 0 rgba(255, 255, 255, 0.2);
  1448. position: relative;
  1449. overflow: hidden;
  1450. &:hover {
  1451. transform: translateY(-2px);
  1452. box-shadow:
  1453. 0 6px 20px rgba($primary-color, 0.4),
  1454. inset 0 1px 0 rgba(255, 255, 255, 0.2);
  1455. }
  1456. &:active {
  1457. transform: translateY(0);
  1458. box-shadow:
  1459. 0 2px 8px rgba($primary-color, 0.3),
  1460. inset 0 1px 0 rgba(255, 255, 255, 0.2);
  1461. }
  1462. &.mini {
  1463. padding: 8px 16px;
  1464. font-size: 14px;
  1465. border-radius: 12px;
  1466. }
  1467. &.outline {
  1468. background: transparent;
  1469. border: 2px solid $primary-color;
  1470. color: $primary-color;
  1471. box-shadow: none;
  1472. &:hover {
  1473. background: $primary-color;
  1474. color: white;
  1475. box-shadow: 0 4px 12px rgba($primary-color, 0.3);
  1476. }
  1477. }
  1478. &.secondary {
  1479. background: linear-gradient(135deg, $morandi-sage, $morandi-dust);
  1480. box-shadow:
  1481. 0 4px 12px rgba($morandi-sage, 0.3),
  1482. inset 0 1px 0 rgba(255, 255, 255, 0.2);
  1483. &:hover {
  1484. box-shadow:
  1485. 0 6px 20px rgba($morandi-sage, 0.4),
  1486. inset 0 1px 0 rgba(255, 255, 255, 0.2);
  1487. }
  1488. }
  1489. }
  1490. /* iOS风格面板 - 紧急事项添加 */
  1491. .ios-modal-overlay {
  1492. position: fixed;
  1493. top: 0;
  1494. left: 0;
  1495. right: 0;
  1496. bottom: 0;
  1497. background-color: rgba(0, 0, 0, 0.5);
  1498. display: flex;
  1499. align-items: center;
  1500. justify-content: center;
  1501. z-index: 1000;
  1502. animation: iosFadeIn 0.3s ease;
  1503. }
  1504. @keyframes iosFadeIn {
  1505. from {
  1506. opacity: 0;
  1507. }
  1508. to {
  1509. opacity: 1;
  1510. }
  1511. }
  1512. .ios-panel {
  1513. width: 90%;
  1514. max-width: 500px;
  1515. background-color: white;
  1516. border-radius: 16px;
  1517. padding: 28px;
  1518. transform: scale(0.95);
  1519. opacity: 0;
  1520. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  1521. box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  1522. margin: 0 auto;
  1523. max-height: 80vh;
  1524. overflow-y: auto;
  1525. }
  1526. .ios-panel.ios-panel-visible {
  1527. transform: scale(1);
  1528. opacity: 1;
  1529. }
  1530. .ios-panel-header {
  1531. display: flex;
  1532. justify-content: space-between;
  1533. align-items: center;
  1534. margin-bottom: 24px;
  1535. padding-bottom: 16px;
  1536. border-bottom: 1px solid #f0f0f0;
  1537. }
  1538. .ios-panel-header h3 {
  1539. font-size: 18px;
  1540. font-weight: 600;
  1541. color: $text-primary-dark;
  1542. margin: 0;
  1543. }
  1544. .ios-close-button {
  1545. background: none;
  1546. border: none;
  1547. padding: 8px;
  1548. cursor: pointer;
  1549. color: $text-secondary-dark;
  1550. display: flex;
  1551. align-items: center;
  1552. justify-content: center;
  1553. border-radius: 8px;
  1554. transition: background-color 0.2s ease;
  1555. }
  1556. .ios-close-button:hover {
  1557. background-color: #f5f5f5;
  1558. }
  1559. .ios-panel-content {
  1560. max-height: 70vh;
  1561. overflow-y: auto;
  1562. }
  1563. .ios-input, .ios-select {
  1564. width: 100%;
  1565. padding: 12px 16px;
  1566. border: 1px solid #e0e0e0;
  1567. border-radius: 12px;
  1568. font-size: 16px;
  1569. transition: border-color 0.2s ease, box-shadow 0.2s ease;
  1570. background-color: white;
  1571. box-sizing: border-box;
  1572. }
  1573. .ios-input:focus, .ios-select:focus {
  1574. outline: none;
  1575. border-color: $primary-color;
  1576. box-shadow: 0 0 0 3px rgba(99, 172, 255, 0.1);
  1577. }
  1578. .ios-input:disabled, .ios-select:disabled {
  1579. background-color: #f9f9f9;
  1580. color: $text-tertiary-dark;
  1581. border-color: #e0e0e0;
  1582. cursor: not-allowed;
  1583. }
  1584. .form-group {
  1585. margin-bottom: 20px;
  1586. }
  1587. .form-group label {
  1588. display: block;
  1589. margin-bottom: 8px;
  1590. font-size: 14px;
  1591. font-weight: 600;
  1592. color: $text-secondary-dark;
  1593. }
  1594. /* 增强版日期时间选择器 */
  1595. .datetime-picker-container {
  1596. display: flex;
  1597. gap: 12px;
  1598. margin-bottom: 20px;
  1599. .date-picker, .time-picker {
  1600. flex: 1;
  1601. position: relative;
  1602. label {
  1603. display: block;
  1604. margin-bottom: 8px;
  1605. font-size: 14px;
  1606. font-weight: 500;
  1607. color: $text-secondary-dark;
  1608. }
  1609. input {
  1610. width: 100%;
  1611. padding: 12px 16px;
  1612. border: 1px solid $border-color;
  1613. border-radius: 10px;
  1614. font-size: 16px;
  1615. background-color: white;
  1616. transition: all 0.2s ease;
  1617. -webkit-appearance: none;
  1618. -moz-appearance: none;
  1619. appearance: none;
  1620. &:focus {
  1621. border-color: $primary-color;
  1622. box-shadow: 0 0 0 3px rgba($primary-color, 0.1);
  1623. outline: none;
  1624. }
  1625. &::-webkit-calendar-picker-indicator {
  1626. background: transparent;
  1627. bottom: 0;
  1628. color: transparent;
  1629. cursor: pointer;
  1630. height: auto;
  1631. left: 0;
  1632. position: absolute;
  1633. right: 0;
  1634. top: 0;
  1635. width: auto;
  1636. }
  1637. }
  1638. &::after {
  1639. content: "";
  1640. position: absolute;
  1641. right: 16px;
  1642. top: 38px;
  1643. width: 20px;
  1644. height: 20px;
  1645. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23636366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
  1646. background-repeat: no-repeat;
  1647. background-position: center;
  1648. pointer-events: none;
  1649. }
  1650. }
  1651. .time-picker {
  1652. input {
  1653. &::-webkit-calendar-picker-indicator {
  1654. background: transparent;
  1655. bottom: 0;
  1656. color: transparent;
  1657. cursor: pointer;
  1658. height: auto;
  1659. left: 0;
  1660. position: absolute;
  1661. right: 0;
  1662. top: 0;
  1663. width: auto;
  1664. }
  1665. }
  1666. &::after {
  1667. background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23636366' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
  1668. }
  1669. }
  1670. }
  1671. input[type="datetime-local"]:focus {
  1672. outline: none;
  1673. border-color: $primary-color;
  1674. box-shadow: 0 0 0 3px rgba(99, 172, 255, 0.1);
  1675. }
  1676. input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  1677. background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2363acff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E") no-repeat center center;
  1678. width: 24px;
  1679. height: 24px;
  1680. cursor: pointer;
  1681. opacity: 0.7;
  1682. }
  1683. /* iOS风格文本域 */
  1684. .ios-textarea {
  1685. width: 100%;
  1686. padding: 12px 16px;
  1687. border: 1px solid #e0e0e0;
  1688. border-radius: 12px;
  1689. font-size: 16px;
  1690. font-family: inherit;
  1691. resize: vertical;
  1692. min-height: 80px;
  1693. transition: border-color 0.2s ease, box-shadow 0.2s ease;
  1694. background-color: white;
  1695. box-sizing: border-box;
  1696. }
  1697. .ios-textarea:focus {
  1698. outline: none;
  1699. border-color: $primary-color;
  1700. box-shadow: 0 0 0 3px rgba(99, 172, 255, 0.1);
  1701. }
  1702. /* iOS风格面板底部按钮 */
  1703. .ios-panel-footer {
  1704. display: flex;
  1705. justify-content: flex-end;
  1706. gap: 12px;
  1707. margin-top: 24px;
  1708. padding-top: 16px;
  1709. border-top: 1px solid #f0f0f0;
  1710. }
  1711. .ios-cancel-button, .ios-submit-button {
  1712. padding: 10px 20px;
  1713. border-radius: 12px;
  1714. font-size: 16px;
  1715. font-weight: 500;
  1716. cursor: pointer;
  1717. transition: all 0.2s ease;
  1718. border: none;
  1719. box-sizing: border-box;
  1720. min-width: 80px;
  1721. }
  1722. .ios-cancel-button {
  1723. background-color: #f5f5f5;
  1724. color: $text-secondary-dark;
  1725. }
  1726. .ios-cancel-button:hover {
  1727. background-color: #eeeeee;
  1728. }
  1729. .ios-cancel-button:active {
  1730. background-color: #e0e0e0;
  1731. transform: scale(0.98);
  1732. }
  1733. .ios-submit-button {
  1734. background-color: $primary-color;
  1735. color: white;
  1736. }
  1737. .ios-submit-button:hover {
  1738. background-color: $primary-dark;
  1739. }
  1740. .ios-submit-button:active {
  1741. background-color: #4a89dc;
  1742. transform: scale(0.98);
  1743. }
  1744. .ios-submit-button:disabled {
  1745. background-color: #e0e0e0;
  1746. color: $text-tertiary-dark;
  1747. cursor: not-allowed;
  1748. transform: none;
  1749. }
  1750. /* 核心指标渐变卡片 */
  1751. .core-metrics-grid {
  1752. display: grid;
  1753. grid-template-columns: repeat(3, 1fr);
  1754. gap: 16px;
  1755. margin-top: 16px;
  1756. }
  1757. .core-metric-card {
  1758. display: flex;
  1759. align-items: center;
  1760. gap: 12px;
  1761. padding: 16px;
  1762. border-radius: 14px;
  1763. color: #fff;
  1764. box-shadow: $shadow-md;
  1765. .metric-icon {
  1766. width: 40px;
  1767. height: 40px;
  1768. border-radius: 12px;
  1769. background: rgba(255,255,255,0.2);
  1770. display: flex;
  1771. align-items: center;
  1772. justify-content: center;
  1773. }
  1774. .metric-content {
  1775. .metric-value { font-size: 22px; font-weight: 700; }
  1776. .metric-label { font-size: 13px; opacity: 0.9; }
  1777. }
  1778. &.gradient-green {
  1779. background: linear-gradient(135deg, #34d399, #10b981);
  1780. }
  1781. &.gradient-orange {
  1782. background: linear-gradient(135deg, #f59e0b, #f97316);
  1783. }
  1784. &.gradient-blue {
  1785. background: linear-gradient(135deg, #60a5fa, #3b82f6);
  1786. }
  1787. }
  1788. /* CRM队列 - iOS风格 */
  1789. .crm-queues {
  1790. margin-bottom: 24px;
  1791. }
  1792. .crm-grid {
  1793. display: grid;
  1794. grid-template-columns: 1fr 1fr;
  1795. gap: 20px;
  1796. }
  1797. .crm-card {
  1798. @extend .ios-card;
  1799. padding: 20px;
  1800. background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 248, 248, 0.95));
  1801. }
  1802. .crm-header {
  1803. display: flex;
  1804. align-items: flex-start;
  1805. justify-content: space-between;
  1806. margin-bottom: 16px;
  1807. gap: 16px;
  1808. .crm-title-section {
  1809. flex: 1;
  1810. h3 {
  1811. margin: 0 0 8px 0;
  1812. font-size: 16px;
  1813. font-weight: 600;
  1814. color: $ios-text;
  1815. }
  1816. }
  1817. .crm-stats {
  1818. display: flex;
  1819. gap: 16px;
  1820. margin-top: 4px;
  1821. .stat-item {
  1822. display: flex;
  1823. flex-direction: column;
  1824. align-items: center;
  1825. gap: 2px;
  1826. .stat-number {
  1827. font-size: 18px;
  1828. font-weight: 700;
  1829. color: $ios-text;
  1830. &.success {
  1831. color: $ios-success;
  1832. }
  1833. &.warning {
  1834. color: $ios-warning;
  1835. }
  1836. &.danger {
  1837. color: $ios-danger;
  1838. }
  1839. }
  1840. .stat-label {
  1841. font-size: 11px;
  1842. color: $ios-text-secondary;
  1843. font-weight: 500;
  1844. text-transform: uppercase;
  1845. letter-spacing: 0.5px;
  1846. }
  1847. }
  1848. }
  1849. .view-all-link {
  1850. color: $primary-color;
  1851. font-size: 13px;
  1852. cursor: pointer;
  1853. white-space: nowrap;
  1854. margin-top: 4px;
  1855. &:hover {
  1856. color: $ios-primary-dark;
  1857. }
  1858. }
  1859. }
  1860. .crm-list {
  1861. display: flex;
  1862. flex-direction: column;
  1863. gap: 10px;
  1864. }
  1865. /* CRM项目 - iOS风格卡片 */
  1866. .crm-item {
  1867. display: flex;
  1868. align-items: flex-start;
  1869. justify-content: space-between;
  1870. gap: 12px;
  1871. padding: 12px 16px;
  1872. border-radius: 12px;
  1873. border: 1px solid rgba(0, 0, 0, 0.05);
  1874. background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 248, 248, 0.9));
  1875. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  1876. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  1877. margin-bottom: 8px;
  1878. &:hover {
  1879. background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(252, 252, 252, 0.95));
  1880. box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  1881. transform: translateY(-2px);
  1882. border-color: rgba(0, 0, 0, 0.1);
  1883. }
  1884. .crm-item-main { display: flex; align-items: flex-start; gap: 12px; }
  1885. .avatar.small {
  1886. width: 32px; height: 32px; border-radius: 50%;
  1887. background: linear-gradient(135deg, $primary-color, $primary-dark);
  1888. color: #fff;
  1889. display: flex;
  1890. align-items: center;
  1891. justify-content: center;
  1892. font-weight: 600;
  1893. flex-shrink: 0;
  1894. box-shadow: 0 2px 8px rgba($primary-color, 0.3);
  1895. transition: all 0.2s ease;
  1896. &.alt {
  1897. background: linear-gradient(135deg, $morandi-sage, $morandi-dust);
  1898. box-shadow: 0 2px 8px rgba($morandi-sage, 0.3);
  1899. }
  1900. &:hover {
  1901. transform: scale(1.05);
  1902. box-shadow: 0 4px 12px rgba($primary-color, 0.4);
  1903. &.alt {
  1904. box-shadow: 0 4px 12px rgba($morandi-sage, 0.4);
  1905. }
  1906. }
  1907. }
  1908. .info {
  1909. .name {
  1910. font-weight: 600;
  1911. color: $text-primary-dark;
  1912. font-size: 15px;
  1913. letter-spacing: -0.2px;
  1914. }
  1915. .meta {
  1916. color: $text-tertiary-dark;
  1917. font-size: 12px;
  1918. display: flex;
  1919. gap: 8px;
  1920. margin-bottom: 8px;
  1921. font-weight: 500;
  1922. }
  1923. .tag {
  1924. background: linear-gradient(135deg, rgba(0,0,0,0.03), rgba(0,0,0,0.06));
  1925. padding: 3px 8px;
  1926. border-radius: 8px;
  1927. font-size: 11px;
  1928. font-weight: 600;
  1929. backdrop-filter: blur(4px);
  1930. &.value-tag {
  1931. background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  1932. color: #166534;
  1933. border: 1px solid rgba(22, 101, 52, 0.1);
  1934. }
  1935. &.price-tag {
  1936. background: linear-gradient(135deg, #fffbeb, #fef3c7);
  1937. color: #d97706;
  1938. border: 1px solid rgba(217, 119, 6, 0.1);
  1939. }
  1940. }
  1941. .strategy-info {
  1942. font-size: 12px;
  1943. line-height: 1.5;
  1944. margin-top: 6px;
  1945. .recommended-phrase {
  1946. color: $morandi-dust;
  1947. margin-bottom: 4px;
  1948. font-style: italic;
  1949. font-weight: 500;
  1950. letter-spacing: -0.1px;
  1951. }
  1952. .case-strategy {
  1953. color: $morandi-sage;
  1954. font-size: 11px;
  1955. font-weight: 500;
  1956. background: rgba($morandi-sage, 0.1);
  1957. padding: 2px 6px;
  1958. border-radius: 4px;
  1959. display: inline-block;
  1960. }
  1961. }
  1962. }
  1963. .ios-btn.mini {
  1964. padding: 8px 14px;
  1965. font-size: 13px;
  1966. border-radius: 10px;
  1967. font-weight: 600;
  1968. letter-spacing: -0.2px;
  1969. background: linear-gradient(135deg, $primary-color, $primary-dark);
  1970. box-shadow: 0 2px 8px rgba($primary-color, 0.3);
  1971. &:hover {
  1972. transform: translateY(-1px);
  1973. box-shadow: 0 4px 12px rgba($primary-color, 0.4);
  1974. }
  1975. &:active {
  1976. transform: translateY(0);
  1977. box-shadow: 0 1px 4px rgba($primary-color, 0.3);
  1978. }
  1979. }
  1980. .ios-btn.outline.mini {
  1981. background: transparent;
  1982. border: 2px solid $primary-color;
  1983. color: $primary-color;
  1984. box-shadow: none;
  1985. &:hover {
  1986. background: $primary-color;
  1987. color: white;
  1988. box-shadow: 0 2px 8px rgba($primary-color, 0.3);
  1989. }
  1990. }
  1991. }
  1992. .empty-state.small { color: $text-tertiary-dark; font-size: 13px; text-align: center; padding: 8px 0; }
  1993. @media (max-width: 900px) {
  1994. .core-metrics-grid { grid-template-columns: 1fr; }
  1995. .crm-grid { grid-template-columns: 1fr; }
  1996. }
  1997. .core-metric-card:hover {
  1998. border-color: $primary-color;
  1999. box-shadow: 0 4px 12px color-mix(in srgb, $primary-color 10%, transparent);
  2000. transform: translateY(-2px);
  2001. }
  2002. .core-icon {
  2003. width: 48px;
  2004. height: 48px;
  2005. background-color: color-mix(in srgb, $primary-color 15%, transparent);
  2006. border-radius: 12px;
  2007. display: flex;
  2008. align-items: center;
  2009. justify-content: center;
  2010. margin: 0 auto 12px;
  2011. color: $primary-color;
  2012. transition: $transition;
  2013. }
  2014. .core-card:nth-child(2) .core-icon {
  2015. background-color: color-mix(in srgb, $success-color 15%, transparent);
  2016. color: $success-color;
  2017. }
  2018. .core-card:nth-child(3) .core-icon {
  2019. background-color: color-mix(in srgb, $warning-color 15%, transparent);
  2020. color: $warning-color;
  2021. }
  2022. .core-card:nth-child(4) .core-icon {
  2023. background-color: color-mix(in srgb, $danger-color 15%, transparent);
  2024. color: $danger-color;
  2025. }
  2026. .core-number {
  2027. font-size: 24px;
  2028. font-weight: 700;
  2029. color: $text-primary-dark;
  2030. margin-bottom: 6px;
  2031. line-height: 1.2;
  2032. }
  2033. .core-label {
  2034. font-size: 14px;
  2035. color: $text-secondary-dark;
  2036. margin: 0;
  2037. }
  2038. /* 内容网格 */
  2039. .content-grid {
  2040. display: grid;
  2041. grid-template-columns: 1fr 1fr;
  2042. gap: 24px;
  2043. }
  2044. /* 任务列表区块 */
  2045. .tasks-section {
  2046. background-color: $card-background;
  2047. border-radius: $border-radius;
  2048. padding: 24px;
  2049. box-shadow: $shadow-md;
  2050. transition: $transition;
  2051. }
  2052. .tasks-section:hover {
  2053. box-shadow: $shadow-lg;
  2054. }
  2055. /* 通用区块头部 */
  2056. .section-header {
  2057. display: flex;
  2058. align-items: center;
  2059. justify-content: space-between;
  2060. margin-bottom: 20px;
  2061. }
  2062. .section-header h3 {
  2063. font-size: 20px;
  2064. font-weight: 600;
  2065. color: $text-primary-dark;
  2066. margin: 0;
  2067. }
  2068. .section-header .view-all {
  2069. display: flex;
  2070. align-items: center;
  2071. gap: 4px;
  2072. font-size: 14px;
  2073. color: $primary-color;
  2074. text-decoration: none;
  2075. transition: $transition;
  2076. }
  2077. .section-header .view-all:hover {
  2078. color: $primary-dark;
  2079. }
  2080. /* 搜索框样式 */
  2081. .search-box {
  2082. position: relative;
  2083. }
  2084. .search-input {
  2085. padding: 8px 16px;
  2086. border: 1px solid $border-color;
  2087. border-radius: $border-radius;
  2088. font-size: 14px;
  2089. color: $text-primary-dark;
  2090. background-color: $card-background;
  2091. transition: $transition;
  2092. outline: none;
  2093. min-width: 200px;
  2094. }
  2095. .search-input:focus {
  2096. border-color: $primary-color;
  2097. box-shadow: 0 0 0 3px color-mix(in srgb, $primary-color 10%, transparent);
  2098. }
  2099. /* 紧急待办列表 */
  2100. .tasks-list {
  2101. display: flex;
  2102. flex-direction: column;
  2103. gap: 12px;
  2104. }
  2105. .tasks-list.empty {
  2106. text-align: center;
  2107. padding: 40px 20px;
  2108. color: $text-tertiary-dark;
  2109. }
  2110. .tasks-list.empty p {
  2111. font-size: 16px;
  2112. margin: 0;
  2113. }
  2114. /* 任务项目样式 */
  2115. .task-item {
  2116. display: flex;
  2117. align-items: center;
  2118. justify-content: space-between;
  2119. padding: 16px 20px;
  2120. border-radius: $border-radius;
  2121. transition: $transition;
  2122. margin-bottom: 12px;
  2123. position: relative;
  2124. }
  2125. .task-item.completed {
  2126. background-color: #e8f5e9;
  2127. border: 1px solid #c8e6c9;
  2128. }
  2129. .task-item.overdue {
  2130. background-color: #ffebee;
  2131. border: 1px solid #ffcdd2;
  2132. }
  2133. .task-item:hover {
  2134. transform: translateY(-1px);
  2135. }
  2136. /* 任务复选框样式 */
  2137. .task-checkbox {
  2138. margin-right: 16px;
  2139. }
  2140. .task-checkbox input[type="checkbox"] {
  2141. width: 20px;
  2142. height: 20px;
  2143. accent-color: $primary-color;
  2144. border-radius: 4px;
  2145. cursor: pointer;
  2146. }
  2147. /* 任务状态标记 */
  2148. .task-status {
  2149. position: absolute;
  2150. top: 12px;
  2151. right: 12px;
  2152. padding: 4px 12px;
  2153. border-radius: 16px;
  2154. font-size: 12px;
  2155. font-weight: 600;
  2156. text-transform: uppercase;
  2157. letter-spacing: 0.5px;
  2158. }
  2159. .task-status.completed {
  2160. background-color: color-mix(in srgb, $success-color 15%, transparent);
  2161. color: $success-color;
  2162. }
  2163. .task-status.pending {
  2164. background-color: color-mix(in srgb, $warning-color 15%, transparent);
  2165. color: $warning-color;
  2166. }
  2167. .task-status.overdue {
  2168. background-color: color-mix(in srgb, $danger-color 15%, transparent);
  2169. color: $danger-color;
  2170. }
  2171. /* 任务内容 */
  2172. .task-content {
  2173. flex: 1;
  2174. }
  2175. .task-title {
  2176. font-size: 18px;
  2177. font-weight: 600;
  2178. color: $text-primary-dark;
  2179. margin-bottom: 4px;
  2180. line-height: 1.3;
  2181. }
  2182. .task-project {
  2183. font-size: 14px;
  2184. color: $text-secondary-dark;
  2185. margin-bottom: 8px;
  2186. }
  2187. .task-meta {
  2188. font-size: 14px;
  2189. color: $text-tertiary-dark;
  2190. }
  2191. /* 任务进度 */
  2192. .task-progress {
  2193. width: 100%;
  2194. height: 8px;
  2195. background-color: $background-color;
  2196. border-radius: 4px;
  2197. overflow: hidden;
  2198. margin-top: 12px;
  2199. box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  2200. }
  2201. .progress-bar {
  2202. height: 100%;
  2203. background: linear-gradient(90deg, $primary-color, #5e9eff);
  2204. transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  2205. position: relative;
  2206. overflow: hidden;
  2207. border-radius: 4px;
  2208. }
  2209. .progress-bar::after {
  2210. content: '';
  2211. position: absolute;
  2212. top: 0;
  2213. left: 0;
  2214. right: 0;
  2215. bottom: 0;
  2216. background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  2217. animation: shimmer 2s infinite;
  2218. }
  2219. @keyframes shimmer {
  2220. 0% {
  2221. transform: translateX(-100%);
  2222. }
  2223. 100% {
  2224. transform: translateX(100%);
  2225. }
  2226. }
  2227. .progress-text {
  2228. font-size: 12px;
  2229. color: $text-tertiary-dark;
  2230. text-align: right;
  2231. margin-top: 4px;
  2232. font-weight: 500;
  2233. }
  2234. /* 任务处理进度条容器 */
  2235. .task-progress-container {
  2236. width: 100%;
  2237. height: 12px;
  2238. background-color: #f5f5f5;
  2239. border-radius: 6px;
  2240. overflow: hidden;
  2241. margin-top: 12px;
  2242. box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  2243. }
  2244. .task-progress-bar {
  2245. height: 100%;
  2246. background: linear-gradient(90deg, $primary-color 0%, #5e9eff 100%);
  2247. transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  2248. position: relative;
  2249. overflow: hidden;
  2250. display: flex;
  2251. align-items: center;
  2252. justify-content: flex-end;
  2253. padding-right: 8px;
  2254. border-radius: 6px;
  2255. }
  2256. .task-progress-bar::after {
  2257. content: '';
  2258. position: absolute;
  2259. top: 0;
  2260. left: 0;
  2261. right: 0;
  2262. bottom: 0;
  2263. background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  2264. animation: shimmer 1.5s infinite;
  2265. }
  2266. .task-progress-text {
  2267. font-size: 10px;
  2268. color: white;
  2269. font-weight: 600;
  2270. text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  2271. z-index: 1;
  2272. }
  2273. /* 任务操作按钮 */
  2274. .task-actions {
  2275. display: flex;
  2276. align-items: center;
  2277. }
  2278. .task-button {
  2279. padding: 6px 12px;
  2280. border: 1px solid $border-color;
  2281. border-radius: $border-radius;
  2282. font-size: 14px;
  2283. font-weight: 500;
  2284. cursor: pointer;
  2285. transition: $transition;
  2286. background-color: $card-background;
  2287. color: $text-secondary-dark;
  2288. min-width: 60px;
  2289. text-align: center;
  2290. }
  2291. .task-button:hover {
  2292. border-color: $primary-color;
  2293. color: $primary-color;
  2294. }
  2295. .task-button.primary {
  2296. background-color: $primary-color;
  2297. color: white;
  2298. border-color: $primary-color;
  2299. }
  2300. .task-button.primary:hover {
  2301. background-color: $primary-dark;
  2302. border-color: $primary-dark;
  2303. color: white;
  2304. }
  2305. .task-button:disabled {
  2306. opacity: 0.6;
  2307. cursor: not-allowed;
  2308. transform: none;
  2309. }
  2310. /* 搜索框样式 */
  2311. .search-box {
  2312. position: relative;
  2313. }
  2314. .search-input {
  2315. padding: 8px 16px;
  2316. border: 1px solid $border-color;
  2317. border-radius: $border-radius;
  2318. font-size: 14px;
  2319. color: $text-primary-dark;
  2320. background-color: $card-background;
  2321. transition: $transition;
  2322. outline: none;
  2323. min-width: 200px;
  2324. }
  2325. .search-input:focus {
  2326. border-color: $primary-color;
  2327. box-shadow: 0 0 0 3px color-mix(in srgb, $primary-color 10%, transparent);
  2328. }
  2329. /* 项目动态流 */
  2330. .project-updates-section {
  2331. background-color: $card-background;
  2332. border-radius: $border-radius;
  2333. padding: 24px;
  2334. box-shadow: $shadow-md;
  2335. transition: $transition;
  2336. }
  2337. .project-updates-section:hover {
  2338. box-shadow: $shadow-lg;
  2339. }
  2340. .project-updates-section.empty {
  2341. text-align: center;
  2342. padding: 60px 20px;
  2343. color: $text-tertiary-dark;
  2344. }
  2345. .project-updates-section.empty p {
  2346. font-size: 16px;
  2347. margin: 0;
  2348. }
  2349. .project-updates-list {
  2350. display: flex;
  2351. flex-direction: column;
  2352. gap: 16px;
  2353. }
  2354. .update-item {
  2355. display: flex;
  2356. gap: 16px;
  2357. padding: 20px;
  2358. border: 1px solid $border-color;
  2359. border-radius: $border-radius;
  2360. transition: $transition;
  2361. &:hover {
  2362. border-color: $primary-color;
  2363. box-shadow: 0 4px 12px color-mix(in srgb, $primary-color 10%, transparent);
  2364. transform: translateY(-2px);
  2365. }
  2366. .update-icon {
  2367. width: 44px;
  2368. height: 44px;
  2369. background-color: $primary-color;
  2370. border-radius: 12px;
  2371. display: flex;
  2372. align-items: center;
  2373. justify-content: center;
  2374. color: white;
  2375. flex-shrink: 0;
  2376. transition: $transition;
  2377. }
  2378. .update-content {
  2379. flex: 1;
  2380. .update-title {
  2381. font-size: 18px;
  2382. font-weight: 600;
  2383. color: $text-primary-dark;
  2384. margin-bottom: 6px;
  2385. line-height: 1.3;
  2386. }
  2387. .update-text {
  2388. font-size: 16px;
  2389. color: $text-secondary-dark;
  2390. margin-bottom: 12px;
  2391. line-height: 1.4;
  2392. }
  2393. .update-meta {
  2394. display: flex;
  2395. align-items: center;
  2396. gap: 20px;
  2397. .update-time {
  2398. font-size: 14px;
  2399. color: $text-tertiary-dark;
  2400. }
  2401. .update-status {
  2402. padding: 4px 12px;
  2403. border-radius: 16px;
  2404. font-size: 14px;
  2405. font-weight: 600;
  2406. transition: $transition;
  2407. &.status-active,
  2408. &.status-info {
  2409. background-color: #e3f2fd;
  2410. color: $primary-color;
  2411. border: 1px solid #bbdefb;
  2412. }
  2413. &.status-completed,
  2414. &.status-success {
  2415. background-color: #e8f5e9;
  2416. color: $success-color;
  2417. border: 1px solid #c8e6c9;
  2418. }
  2419. &.status-warning {
  2420. background-color: #fff3e0;
  2421. color: $warning-color;
  2422. border: 1px solid #ffe0b2;
  2423. }
  2424. &.status-danger {
  2425. background-color: #ffebee;
  2426. color: $danger-color;
  2427. border: 1px solid #ffcdd2;
  2428. }
  2429. }
  2430. }
  2431. }
  2432. }
  2433. /* 回到顶部按钮 */
  2434. .back-to-top {
  2435. position: fixed;
  2436. bottom: 24px;
  2437. right: 24px;
  2438. width: 48px;
  2439. height: 48px;
  2440. border-radius: 50%;
  2441. background-color: $primary-color;
  2442. color: white;
  2443. border: none;
  2444. display: flex;
  2445. align-items: center;
  2446. justify-content: center;
  2447. cursor: pointer;
  2448. box-shadow: $shadow-md;
  2449. transition: $transition;
  2450. opacity: 0;
  2451. visibility: hidden;
  2452. z-index: 1000;
  2453. &.visible {
  2454. opacity: 1;
  2455. visibility: visible;
  2456. }
  2457. &:hover {
  2458. background-color: $primary-dark;
  2459. transform: translateY(-2px);
  2460. box-shadow: $shadow-lg;
  2461. }
  2462. &:active {
  2463. transform: translateY(0);
  2464. }
  2465. }
  2466. /* 响应式设计 */
  2467. @media (max-width: 1024px) {
  2468. .stats-grid {
  2469. grid-template-columns: repeat(2, 1fr);
  2470. }
  2471. .core-metrics-grid {
  2472. grid-template-columns: repeat(2, 1fr);
  2473. }
  2474. }
  2475. @media (max-width: 768px) {
  2476. .welcome-section {
  2477. padding: 16px 20px;
  2478. margin-bottom: 16px;
  2479. }
  2480. .welcome-section h2 {
  2481. font-size: 20px;
  2482. }
  2483. .welcome-section p {
  2484. font-size: 13px;
  2485. }
  2486. .stats-grid {
  2487. grid-template-columns: 1fr;
  2488. gap: 12px;
  2489. }
  2490. .content-grid {
  2491. grid-template-columns: 1fr;
  2492. gap: 16px;
  2493. margin-top: 12px;
  2494. }
  2495. .crm-grid {
  2496. grid-template-columns: 1fr;
  2497. gap: 12px;
  2498. }
  2499. .core-metrics-grid {
  2500. grid-template-columns: 1fr;
  2501. gap: 10px;
  2502. }
  2503. .crm-item {
  2504. padding: 10px 0;
  2505. .strategy-info {
  2506. .recommended-phrase {
  2507. font-size: 11px;
  2508. }
  2509. .case-strategy {
  2510. font-size: 10px;
  2511. }
  2512. }
  2513. }
  2514. .section-header {
  2515. flex-direction: column;
  2516. align-items: flex-start;
  2517. gap: 12px;
  2518. h3 {
  2519. font-size: 18px;
  2520. }
  2521. }
  2522. .task-title,
  2523. .update-title {
  2524. font-size: 16px !important;
  2525. }
  2526. .task-project,
  2527. .update-text {
  2528. font-size: 14px !important;
  2529. }
  2530. }
  2531. @media (max-width: 768px) {
  2532. // 客服工作台容器
  2533. .customer-service-dashboard {
  2534. padding: 12px;
  2535. }
  2536. // 欢迎区域
  2537. .welcome-section {
  2538. padding: 16px;
  2539. h1 {
  2540. font-size: 22px;
  2541. }
  2542. .welcome-subtitle {
  2543. font-size: 13px;
  2544. }
  2545. }
  2546. // 统计卡片
  2547. .stats-dashboard {
  2548. grid-template-columns: repeat(2, 1fr);
  2549. gap: 12px;
  2550. .stat-card {
  2551. padding: 16px;
  2552. .stat-value {
  2553. font-size: 24px;
  2554. }
  2555. .stat-label {
  2556. font-size: 12px;
  2557. }
  2558. }
  2559. }
  2560. // CRM队列
  2561. .crm-queues {
  2562. .queue-grid {
  2563. grid-template-columns: 1fr;
  2564. gap: 12px;
  2565. }
  2566. .queue-card {
  2567. .card-header h3 {
  2568. font-size: 16px;
  2569. }
  2570. .crm-item {
  2571. padding: 12px;
  2572. .avatar {
  2573. width: 40px;
  2574. height: 40px;
  2575. }
  2576. .info {
  2577. .name {
  2578. font-size: 14px;
  2579. }
  2580. .meta {
  2581. font-size: 12px;
  2582. flex-wrap: wrap;
  2583. }
  2584. }
  2585. }
  2586. }
  2587. }
  2588. // 紧急待办面板
  2589. .tasks-panel,
  2590. .ios-panel {
  2591. width: 100vw;
  2592. max-width: 100vw;
  2593. height: 90vh;
  2594. max-height: 90vh;
  2595. border-radius: 16px 16px 0 0;
  2596. bottom: 0;
  2597. top: auto;
  2598. .panel-header {
  2599. padding: 16px;
  2600. h2 {
  2601. font-size: 18px;
  2602. }
  2603. }
  2604. .panel-body {
  2605. padding: 16px;
  2606. .form-group {
  2607. margin-bottom: 16px;
  2608. label {
  2609. font-size: 14px;
  2610. }
  2611. input,
  2612. select,
  2613. textarea {
  2614. font-size: 16px; // 防止iOS自动缩放
  2615. padding: 12px;
  2616. }
  2617. }
  2618. }
  2619. .panel-footer {
  2620. padding: 16px;
  2621. flex-direction: column;
  2622. gap: 12px;
  2623. button {
  2624. width: 100%;
  2625. }
  2626. }
  2627. }
  2628. // 任务列表
  2629. .tasks-list {
  2630. gap: 12px;
  2631. .task-item,
  2632. .task-item-enhanced {
  2633. padding: 14px;
  2634. .task-header,
  2635. .task-header-row {
  2636. flex-direction: column;
  2637. align-items: flex-start;
  2638. gap: 10px;
  2639. .task-title {
  2640. font-size: 15px;
  2641. }
  2642. .task-priority {
  2643. font-size: 11px;
  2644. padding: 3px 8px;
  2645. }
  2646. }
  2647. .task-info,
  2648. .task-main-content {
  2649. .task-detail {
  2650. font-size: 13px;
  2651. }
  2652. .task-tags {
  2653. flex-wrap: wrap;
  2654. gap: 6px;
  2655. .tag {
  2656. font-size: 11px;
  2657. padding: 3px 8px;
  2658. }
  2659. }
  2660. }
  2661. .task-actions,
  2662. .task-actions-row {
  2663. flex-direction: column;
  2664. gap: 8px;
  2665. margin-top: 12px;
  2666. button {
  2667. width: 100%;
  2668. justify-content: center;
  2669. }
  2670. }
  2671. }
  2672. }
  2673. // 快速操作按钮
  2674. .quick-actions {
  2675. grid-template-columns: repeat(2, 1fr);
  2676. gap: 12px;
  2677. .action-btn {
  2678. padding: 16px;
  2679. .action-icon {
  2680. width: 40px;
  2681. height: 40px;
  2682. }
  2683. .action-label {
  2684. font-size: 13px;
  2685. }
  2686. }
  2687. }
  2688. // 日历视图
  2689. .calendar-view {
  2690. .calendar-header {
  2691. flex-direction: column;
  2692. gap: 12px;
  2693. .month-selector {
  2694. width: 100%;
  2695. justify-content: space-between;
  2696. }
  2697. }
  2698. .calendar-grid {
  2699. .calendar-day {
  2700. min-height: 60px;
  2701. padding: 4px;
  2702. .day-number {
  2703. font-size: 12px;
  2704. }
  2705. .event-dot {
  2706. width: 4px;
  2707. height: 4px;
  2708. }
  2709. }
  2710. }
  2711. }
  2712. }
  2713. @media (max-width: 480px) {
  2714. .customer-service-dashboard {
  2715. padding: 8px;
  2716. }
  2717. .welcome-section {
  2718. padding: 12px 16px;
  2719. h1 {
  2720. font-size: 20px;
  2721. }
  2722. }
  2723. .stats-dashboard {
  2724. grid-template-columns: 1fr;
  2725. margin-bottom: 16px;
  2726. .stat-card {
  2727. padding: 14px;
  2728. .stat-value {
  2729. font-size: 22px;
  2730. }
  2731. }
  2732. }
  2733. .crm-queues {
  2734. margin-bottom: 16px;
  2735. }
  2736. .crm-item {
  2737. .avatar.small {
  2738. width: 24px;
  2739. height: 24px;
  2740. font-size: 11px;
  2741. }
  2742. .info .name {
  2743. font-size: 14px;
  2744. }
  2745. .info .meta {
  2746. font-size: 11px;
  2747. gap: 6px;
  2748. }
  2749. }
  2750. .quick-actions {
  2751. grid-template-columns: 1fr;
  2752. }
  2753. }