common.less 49 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714
  1. @import (reference) "../../../../public/assets/less/bootstrap-less/mixins.less";
  2. @import (reference) "../../../../public/assets/less/bootstrap-less/variables.less";
  3. @import (reference) "../../../../public/assets/less/fastadmin/mixins.less";
  4. @import (reference) "../../../../public/assets/less/fastadmin/variables.less";
  5. @import "../../../../public/assets/less/lesshat.less";
  6. @import "tinycss.less";
  7. @primary-color: #007bff;
  8. //@primary-color: #f28044;
  9. //@primary-color: #ff464e;
  10. //@primary-color: #574bc4;
  11. //@primary-color: #ec3185;
  12. //@primary-color: #1abc9c;
  13. @tag-color: lighten(@primary-color, 45%);
  14. html,
  15. body {
  16. height: 100%;
  17. -webkit-font-smoothing: antialiased;
  18. text-rendering: optimizeLegibility;
  19. -moz-osx-font-smoothing: grayscale;
  20. font-feature-settings: 'liga';
  21. -webkit-text-size-adjust: 100%;
  22. font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Source Han Sans CN, sans-serif;
  23. font-weight: 400;
  24. background: #f4f6f8;
  25. font-size: 14px;
  26. color: #555;
  27. }
  28. body {
  29. padding-top: 70px;
  30. }
  31. a {
  32. color: #555;
  33. &:hover, &:focus {
  34. color: @primary-color;
  35. }
  36. }
  37. a.primary-link {
  38. color: @primary-color;
  39. }
  40. .btn {
  41. font-size: 13px;
  42. }
  43. .btn-primary {
  44. color: #fff;
  45. background-color: @primary-color;
  46. border-color: @primary-color;
  47. &:hover, &:focus, &:active, &:active:focus {
  48. color: #fff;
  49. background-color: darken(@primary-color, 10%);
  50. border-color: darken(@primary-color, 10%);
  51. }
  52. }
  53. .btn-gray {
  54. color: #212529;
  55. background-color: #f8f9fa;
  56. border-color: #f8f9fa;
  57. &:hover {
  58. color: #212529;
  59. background-color: #e2e6ea;
  60. border-color: #dae0e5;
  61. }
  62. }
  63. .btn-light {
  64. color: @primary-color;
  65. background: lighten(@primary-color, 35%);
  66. border-color: transparent;
  67. &:hover {
  68. color: #fff;
  69. background-color: @primary-color;
  70. border-color: @primary-color;
  71. }
  72. }
  73. .label-primary {
  74. color: #fff;
  75. background-color: @primary-color;
  76. border-color: @primary-color;
  77. }
  78. .btn-outline-primary {
  79. color: @primary-color;
  80. background-color: transparent;
  81. background-image: none;
  82. border-color: @primary-color;
  83. &:hover {
  84. color: #fff;
  85. background-color: @primary-color;
  86. border-color: @primary-color;
  87. }
  88. }
  89. .btn-lg {
  90. .border-radius(3px);
  91. }
  92. .form-control {
  93. font-size: 13px;
  94. }
  95. .wow {
  96. visibility: hidden;
  97. }
  98. .navbar-inverse {
  99. //background-color: #363f48;
  100. //border-color: #363f48;
  101. .navbar-nav > li > a {
  102. color: #caced2;
  103. }
  104. }
  105. .skin-white {
  106. padding-top: 80px;
  107. }
  108. .navbar-white {
  109. background-color: #fff;
  110. border-color: #fff;
  111. box-shadow: 0 1px 8px rgba(0, 0, 0, .05);
  112. .dropdown-menu {
  113. border-radius: 5px;
  114. //box-shadow: 0 1px 8px rgba(0, 0, 0, .08);
  115. .box-shadow(0px 20px 30px rgba(83, 88, 93, 0.05), 0px 0px 30px rgba(83, 88, 93, 0.1));
  116. }
  117. }
  118. @media (min-width: 768px) {
  119. .navbar-default {
  120. .navbar-brand {
  121. height: 60px;
  122. line-height: 27px;
  123. }
  124. .navbar-nav {
  125. > li > a {
  126. height: 60px;
  127. line-height: 27px;
  128. }
  129. }
  130. }
  131. .navbar-white .navbar-nav {
  132. > li > a {
  133. height: 60px;
  134. line-height: 27px;
  135. color: #555;
  136. &:hover, &:focus {
  137. color: @primary-color;
  138. }
  139. }
  140. > .active > a {
  141. &, &:hover, &:focus {
  142. background-color: inherit;
  143. color: @primary-color;
  144. }
  145. }
  146. }
  147. }
  148. @media (hover: hover) {
  149. .dropdown a:hover + .dropdown-menu {
  150. display: block;
  151. margin-top: 0;
  152. }
  153. }
  154. .alert-paid {
  155. margin: 10px 0;
  156. text-align: center;
  157. a {
  158. color: #f39c12;
  159. }
  160. }
  161. .navbar-inverse .navbar-nav .dropdown {
  162. &:hover > a {
  163. color: #fff;
  164. background-color: transparent;
  165. }
  166. }
  167. .dropdown-menu {
  168. > li > a {
  169. font-size: 14px;
  170. padding: 5px 20px;
  171. }
  172. }
  173. .dropdown-menu {
  174. border-radius: 2px;
  175. border: 0px;
  176. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  177. padding: 5px 0px;
  178. li a {
  179. padding-top: 10px !important;
  180. padding-bottom: 10px;
  181. }
  182. }
  183. .dropdown-menu > li > a {
  184. font-weight: 400;
  185. color: #444;
  186. padding: 5px 15px;
  187. padding-bottom: 10px;
  188. font-size: 14px;
  189. &:hover, &:focus {
  190. text-decoration: none;
  191. color: #777;
  192. background: rgba(0, 0, 0, 0.05);
  193. }
  194. }
  195. .dropdown-submenu {
  196. position: relative;
  197. > .dropdown-menu {
  198. top: 0;
  199. left: 100%;
  200. margin-top: 0;
  201. margin-left: -1px;
  202. .border-radius(3px 0 3px 3px);
  203. }
  204. &:hover {
  205. > .dropdown-menu {
  206. display: block;
  207. }
  208. > a {
  209. //text-decoration: none;
  210. //color: #262626;
  211. //background-color: #f5f5f5;
  212. }
  213. > a:after {
  214. //border-left-color: #fff;
  215. }
  216. }
  217. > a:after {
  218. display: block;
  219. content: " ";
  220. float: right;
  221. width: 0;
  222. height: 0;
  223. border-color: transparent;
  224. border-style: solid;
  225. border-width: 5px 0 5px 5px;
  226. border-left-color: #ccc;
  227. margin-top: 5px;
  228. margin-right: -10px;
  229. }
  230. &.pull-left {
  231. float: none;
  232. > .dropdown-menu {
  233. left: -100%;
  234. margin-left: 10px;
  235. .border-radius(3px 0 3px 3px);
  236. }
  237. }
  238. }
  239. .navbar-collapse.collapse.active .navbar-nav {
  240. .dropdown-menu {
  241. //padding: 0;
  242. }
  243. .dropdown-submenu {
  244. .dropdown-menu > li > a {
  245. padding-left: 45px;
  246. }
  247. }
  248. }
  249. .navbar {
  250. border: none;
  251. }
  252. .navbar-nav {
  253. li > a {
  254. font-size: 14px;
  255. h5 {
  256. overflow: hidden;
  257. text-overflow: ellipsis;
  258. }
  259. }
  260. > li > a {
  261. font-size: 14px;
  262. }
  263. ul.dropdown-menu {
  264. border: none;
  265. border-radius: 4px;
  266. > li.active > a {
  267. color: @primary-color;
  268. background-color: #f5f5f5;
  269. }
  270. }
  271. ul.dropdown-menu > li > a {
  272. padding: 8px 20px;
  273. }
  274. }
  275. .navbar-brand {
  276. padding: 5px 15px;
  277. }
  278. .toast-top-center {
  279. top: 50px;
  280. > div {
  281. .box-shadow(none);
  282. }
  283. }
  284. /*修复nice-validator新版下的一处BUG*/
  285. .nice-validator {
  286. input, select, textarea, [contenteditable] {
  287. display: inline-block;
  288. *display: inline;
  289. *zoom: 1;
  290. }
  291. }
  292. /*修复nice-validator和summernote的编辑框冲突*/
  293. .nice-validator .note-editor .note-editing-area .note-editable {
  294. display: inherit;
  295. }
  296. /*预览区域*/
  297. .plupload-preview, .faupload-preview {
  298. padding: 0 10px;
  299. margin-bottom: 0;
  300. li {
  301. margin-top: 5px;
  302. margin-bottom: 10px;
  303. }
  304. .thumbnail {
  305. margin-bottom: 10px;
  306. }
  307. a {
  308. display: block;
  309. &:first-child {
  310. height: 90px;
  311. }
  312. img {
  313. height: 80px;
  314. object-fit: cover;
  315. }
  316. }
  317. }
  318. //浮动按钮
  319. #floatbtn {
  320. width: 50px;
  321. height: auto;
  322. position: fixed;
  323. top: auto;
  324. right: 50%;
  325. bottom: 10px;
  326. left: auto;
  327. z-index: 80;
  328. margin-right: -640px;
  329. &.fixed {
  330. position: absolute;
  331. bottom: 279px;
  332. right: 50%;
  333. }
  334. > a, .floatbtn-item {
  335. cursor: pointer;
  336. position: relative;
  337. z-index: 90;
  338. display: block;
  339. margin-top: 4px;
  340. width: 50px;
  341. height: 50px;
  342. line-height: 50px;
  343. text-align: center;
  344. font-size: 20px;
  345. color: #d5d5d5;
  346. background-color: #fff;
  347. //border: 1px solid #eee;
  348. .user-select(none);
  349. &.hover:hover {
  350. .transition(background-color 400ms ease-out);
  351. background: @primary-color;
  352. text-decoration: none;
  353. text-align: center;
  354. line-height: 20px;
  355. padding: 5px;
  356. i {
  357. display: none;
  358. }
  359. em {
  360. display: block;
  361. color: #fff;
  362. font-size: 14px;
  363. font-style: normal;
  364. text-decoration: none;
  365. }
  366. }
  367. em {
  368. display: none;
  369. }
  370. &:hover {
  371. background: @primary-color;
  372. i {
  373. color: #fff;
  374. }
  375. .floatbtn-wrapper {
  376. display: block;
  377. }
  378. }
  379. }
  380. .iconfont {
  381. display: inline-block;
  382. font: normal normal normal 14px/1 iconfont;
  383. font-size: inherit;
  384. }
  385. }
  386. .floatbtn-wrapper {
  387. position: absolute;
  388. right: 59px;
  389. top: -55px;
  390. z-index: 120;
  391. display: none;
  392. width: 190px;
  393. height: 212px;
  394. background-color: #fff;
  395. border: 1px solid #eee;
  396. &:before {
  397. content: "";
  398. position: absolute;
  399. right: -12px;
  400. top: 0;
  401. height: 200px;
  402. width: 12px;
  403. background: transparent;
  404. }
  405. &:after {
  406. content: "";
  407. position: absolute;
  408. right: -6px;
  409. top: 73px;
  410. display: block;
  411. width: 0;
  412. height: 0;
  413. border-left: 6px solid #d5d5d5;
  414. border-top: 6px solid transparent;
  415. border-bottom: 6px solid transparent;
  416. }
  417. > .qrcode {
  418. margin-top: 20px;
  419. line-height: 1;
  420. > img {
  421. width: 128px;
  422. height: 128px;
  423. }
  424. }
  425. p {
  426. font-size: 14px;
  427. line-height: 20px;
  428. color: #999;
  429. em {
  430. color: #dd3067;
  431. }
  432. }
  433. }
  434. .floatbtn-share .floatbtn-wrapper {
  435. &:after {
  436. top: 18px;
  437. }
  438. .social-share .icon-wechat .wechat-qrcode {
  439. p {
  440. font-size: 12px;
  441. }
  442. }
  443. }
  444. .text-primary,
  445. .text-primary:hover {
  446. color: @brand-primary;
  447. }
  448. .text-success,
  449. .text-success:hover {
  450. color: @brand-success;
  451. }
  452. .text-danger,
  453. .text-danger:hover {
  454. color: @brand-danger;
  455. }
  456. .text-warning,
  457. .text-warning:hover {
  458. color: @brand-warning;
  459. }
  460. .text-info,
  461. .text-info:hover {
  462. color: @brand-info;
  463. }
  464. .well {
  465. .box-shadow(none);
  466. }
  467. .clearfix() {
  468. &:before,
  469. &:after {
  470. content: " "; // 1
  471. display: table; // 2
  472. }
  473. &:after {
  474. clear: both;
  475. }
  476. }
  477. .responsive-container {
  478. position: relative;
  479. width: 100%;
  480. border: 1px solid #f8f8f8;
  481. }
  482. footer {
  483. padding: 0;
  484. background: #1f2730;
  485. //background: #555;
  486. color: #fff;
  487. //margin-top: 25px;
  488. a {
  489. color: #fff;
  490. &:hover {
  491. color: @primary-color;
  492. }
  493. }
  494. }
  495. .nav-sidebar {
  496. li.active a {
  497. text-decoration: none;
  498. background-color: #ecf0f1;
  499. }
  500. }
  501. .navbar-toggle .icon-bar {
  502. width: 18px;
  503. }
  504. .footer-inner {
  505. padding: 2em 0;
  506. .copyright {
  507. margin-bottom: 20px !important;
  508. line-height: 1.5;
  509. }
  510. .footer-logo {
  511. //margin-bottom: 20px;
  512. a {
  513. padding: 15px 15px;
  514. background: rgba(0, 0, 0, .1);
  515. font-size: 40px;
  516. font-weight: 700;
  517. &:hover, &:focus {
  518. text-decoration: none;
  519. }
  520. }
  521. }
  522. h3 {
  523. font-weight: 400;
  524. margin-bottom: 20px;
  525. }
  526. p {
  527. font-weight: 400;
  528. &:last-child {
  529. margin-bottom: 0;
  530. }
  531. }
  532. .links {
  533. padding: 0;
  534. margin: 0 0 20px 0;
  535. li {
  536. list-style: none;
  537. padding: 5px 0;
  538. a {
  539. &:hover {
  540. text-decoration: underline;
  541. }
  542. }
  543. }
  544. }
  545. .footer-social {
  546. text-align: right;
  547. margin-top: 0;
  548. a {
  549. margin-right: 15px;
  550. margin-bottom: 10px;
  551. font-size: 20px;
  552. &:hover {
  553. text-decoration: none;
  554. }
  555. }
  556. }
  557. }
  558. .article-list {
  559. padding: 0;
  560. background: #fff;
  561. .embed-responsive-4by3, .embed-responsive-square {
  562. border-radius: 5px;
  563. }
  564. .article-item {
  565. padding: 20px 0;
  566. border-bottom: 1px solid #efefef;
  567. }
  568. .article-item .content {
  569. margin-top: 15px;
  570. color: #919191;
  571. }
  572. .gallery-article {
  573. margin-top: 0;
  574. .row {
  575. margin: 0 -10px;
  576. }
  577. .article-title {
  578. margin-bottom: 10px;
  579. span.highlight {
  580. color: red;
  581. }
  582. }
  583. .media .media-body {
  584. padding-left: 0;
  585. .article-tag {
  586. position: relative;
  587. margin-top: 10px;
  588. }
  589. }
  590. }
  591. .article-title {
  592. margin: 0;
  593. font-size: 1.25em;
  594. line-height: 1.45;
  595. color: #000;
  596. a {
  597. color: #444;
  598. .transition(all 0.3s ease);
  599. span.highlight {
  600. color: red;
  601. }
  602. &:hover {
  603. color: @primary-color;
  604. .transition(all 0.3s ease);
  605. }
  606. .img-new {
  607. margin-left: 2px;
  608. margin-bottom: 2px;
  609. height: 16px;
  610. }
  611. }
  612. }
  613. .article-intro {
  614. height: 44px;
  615. line-height: 22px;
  616. color: #828a92;
  617. overflow: hidden;
  618. text-overflow: ellipsis;
  619. -webkit-box-orient: vertical;
  620. display: -webkit-box;
  621. -webkit-line-clamp: 2;
  622. }
  623. .media {
  624. color: #919191;
  625. .media-body {
  626. padding-left: 20px;
  627. line-height: 25px;
  628. }
  629. .media-left {
  630. overflow: hidden;
  631. padding: 0;
  632. a {
  633. display: block;
  634. width: 160px;
  635. }
  636. }
  637. }
  638. .media-body {
  639. position: relative;
  640. .article-tag {
  641. display: block;
  642. clear: both;
  643. position: absolute;
  644. bottom: 0;
  645. color: #aaa;
  646. font-size: 13px;
  647. span {
  648. margin: 0 8px;
  649. }
  650. span a {
  651. color: #aaa;
  652. }
  653. .pull-left {
  654. height: 34px;
  655. line-height: 34px;
  656. color: #919191;
  657. a {
  658. color: #919191;
  659. }
  660. }
  661. }
  662. }
  663. .pager {
  664. margin: 40px 0 20px 0;
  665. }
  666. }
  667. .article-metas {
  668. overflow: hidden;
  669. .metas-title {
  670. margin: 0;
  671. font-size: 1.65em;
  672. line-height: 1.45;
  673. margin-bottom: 5px;
  674. color: #444;
  675. a {
  676. color: #444;
  677. .transition(all 0.3s ease);
  678. &:hover {
  679. color: @primary-color;
  680. .transition(all 0.3s ease);
  681. }
  682. }
  683. }
  684. .metas-body {
  685. color: #999;
  686. margin: 0px auto;
  687. span {
  688. margin-right: 10px;
  689. i {
  690. margin-right: 5px;
  691. }
  692. }
  693. p {
  694. margin-bottom: 0;
  695. margin-top: 0px;
  696. font-size: 12px;
  697. }
  698. }
  699. }
  700. .article-text {
  701. line-height: 30px;
  702. margin-bottom: 15px;
  703. img {
  704. margin: 10px auto;
  705. display: block;
  706. max-width: 100%;
  707. height: auto;
  708. cursor: zoom-in;
  709. .border-radius(2px);
  710. }
  711. ul li {
  712. line-height: 30px;
  713. }
  714. a {
  715. text-decoration: none;
  716. color: @primary-color;
  717. border-bottom: 1px solid lighten(@primary-color, 35%);
  718. img {
  719. cursor: pointer;
  720. }
  721. }
  722. }
  723. .article-action-btn {
  724. color: #999;
  725. a {
  726. color: #999;
  727. }
  728. .bdshare-button-style0-16 .bds_more {
  729. float: none;
  730. padding: 0;
  731. height: inherit;
  732. line-height: inherit;
  733. font-size: inherit;
  734. background: none;
  735. color: #999;
  736. }
  737. }
  738. .article-prevnext {
  739. color: #666;
  740. }
  741. .entry-meta ul {
  742. overflow: hidden;
  743. margin: 0 0 10px 0;
  744. padding: 0 0 10px 0;
  745. border-bottom: 1px solid #eeeeee;
  746. li {
  747. line-height: 26px;
  748. }
  749. }
  750. .related-article, .gallery-article {
  751. margin-top: 10px;
  752. .row {
  753. margin: 0 -5px;
  754. }
  755. .col-sm-3 {
  756. padding: 0 10px;
  757. a {
  758. display: block;
  759. }
  760. }
  761. .embed-responsive-4by3 {
  762. border-radius: 5px;
  763. }
  764. }
  765. @media (max-width: 480px) {
  766. .related-article, .gallery-article {
  767. .row {
  768. margin: 0 -5px !important;
  769. }
  770. .col-sm-3 {
  771. padding: 0 5px 10px 5px;
  772. }
  773. }
  774. }
  775. @media (max-width: 767px) {
  776. .article-list, .gallery-article {
  777. .row {
  778. margin: 0 -5px !important;
  779. }
  780. .col-sm-3 {
  781. padding: 0 5px 10px 5px;
  782. }
  783. }
  784. }
  785. @media (max-width: 1200px) {
  786. .article-list .media-body .article-tag {
  787. position: relative;
  788. bottom: inherit;
  789. margin-top: 5px;
  790. }
  791. }
  792. .related-page {
  793. ul {
  794. li {
  795. &.active {
  796. a {
  797. color: @primary-color;
  798. }
  799. }
  800. }
  801. }
  802. }
  803. .author-card {
  804. background: #fff none repeat scroll 0 0;
  805. /*border: 1px solid #e1e8ed;*/
  806. border-radius: 4px;
  807. padding-bottom: 15px;
  808. .author-head {
  809. background-image: url("../img/author-head.jpeg");
  810. background-position: 0 50%;
  811. background-size: 100% auto;
  812. border-bottom: 1px solid #e1e8ed;
  813. border-radius: 4px 4px 0 0;
  814. height: 100px;
  815. width: 100%;
  816. }
  817. .author-avatar {
  818. text-align: center;
  819. > a {
  820. background-color: #fff;
  821. border-radius: 50%;
  822. display: inline-block;
  823. margin: -40px 5px 0 0;
  824. max-width: 100%;
  825. padding: 1px;
  826. vertical-align: bottom;
  827. > img {
  828. border: 2px solid #fff;
  829. border-radius: 50%;
  830. color: #fff;
  831. height: 80px;
  832. width: 80px;
  833. }
  834. }
  835. }
  836. .author-basic {
  837. clear: both;
  838. text-align: center;
  839. width: 100%;
  840. margin: 10px 0 10px 0;
  841. .author-nickname {
  842. margin-bottom: 5px;
  843. > a {
  844. font-size: 18px;
  845. font-weight: 700;
  846. line-height: 21px;
  847. }
  848. }
  849. }
  850. .author-statistics {
  851. padding: 5px 0;
  852. text-align: center;
  853. margin: 0;
  854. .statistics-text {
  855. color: #777;
  856. margin-bottom: 5px;
  857. }
  858. .statistics-nums {
  859. font-size: 16px;
  860. font-weight: 600;
  861. }
  862. }
  863. }
  864. .panel-default {
  865. border: none;
  866. padding: 0 15px;
  867. .box-shadow(none);
  868. .border-radius(2px);
  869. //.box-shadow(0 1px 2px 0 rgba(0, 0, 0, 0.1));
  870. }
  871. .panel-default {
  872. > .panel-heading {
  873. position: relative;
  874. padding: 15px 0;
  875. background: #fff;
  876. border-bottom: 1px solid #f5f5f5;
  877. .panel-title {
  878. font-size: 16px;
  879. /*color: @gray-dark;*/
  880. > i {
  881. display: none;
  882. }
  883. }
  884. small {
  885. font-weight: normal;
  886. color: #999;
  887. font-size: 13px;
  888. }
  889. .more {
  890. position: absolute;
  891. top: 13px;
  892. right: 0;
  893. display: block;
  894. color: #919191;
  895. .transition(all 0.3s ease);
  896. &:hover {
  897. color: #616161;
  898. .transition(all 0.3s ease);
  899. }
  900. font-weight: 400;
  901. font-size: 13px;
  902. }
  903. div.more {
  904. top: 17px;
  905. }
  906. .panel-bar {
  907. position: absolute;
  908. top: 7px;
  909. right: 0;
  910. display: block;
  911. }
  912. }
  913. > .panel-footer {
  914. padding: 15px 0;
  915. background: none;
  916. }
  917. > .panel-body {
  918. position: relative;
  919. padding: 15px 0;
  920. }
  921. }
  922. .panel-primary {
  923. > .panel-heading {
  924. background-color: #46c37b;
  925. color: #fff;
  926. }
  927. > .panel-body {
  928. background: #fafafa;
  929. border-bottom-left-radius: 2px;
  930. border-bottom-right-radius: 2px;
  931. }
  932. }
  933. .panel-gray {
  934. .box-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  935. > .panel-heading {
  936. background-color: #f5f5f5;
  937. color: #919191;
  938. }
  939. > .panel-body {
  940. color: #919191;
  941. background: #fff;
  942. border-bottom-left-radius: 4px;
  943. border-bottom-right-radius: 4px;
  944. }
  945. }
  946. .panel-page {
  947. padding: 45px 50px 50px;
  948. min-height: 500px;
  949. .panel-heading {
  950. background: transparent;
  951. border-bottom: none;
  952. margin: 0 0 30px 0;
  953. padding: 0;
  954. h2 {
  955. font-size: 25px;
  956. margin-top: 0;
  957. }
  958. }
  959. }
  960. .tabs-wrapper {
  961. .border-radius(4px);
  962. background-color: #fff;
  963. .tabs-mark-group {
  964. //border-bottom: 1px solid #f7f7f7;
  965. .title {
  966. width: 90px;
  967. margin-top: 3px;
  968. float: left
  969. }
  970. .classify {
  971. margin-top: 3px;
  972. a, i {
  973. color: #919191
  974. }
  975. a:focus, a:hover {
  976. color: #43bc60
  977. }
  978. }
  979. .content {
  980. margin-left: 100px
  981. }
  982. }
  983. .tabs-mark {
  984. margin: 0 4px;
  985. a {
  986. border: 1px solid #e4ecf3;
  987. padding: 2px 5px;
  988. color: #919191
  989. }
  990. i {
  991. font-size: 10px;
  992. margin-left: 5px
  993. }
  994. &.active a, &:focus a, &:hover a {
  995. color: #43bc60;
  996. border: 1px solid #43bc60
  997. }
  998. }
  999. .tabs-group {
  1000. position: relative;
  1001. overflow-y: hidden;
  1002. .title {
  1003. float: left;
  1004. padding: 10px 0;
  1005. width: 80px;
  1006. display: block;
  1007. overflow: hidden;
  1008. text-overflow: ellipsis;
  1009. white-space: nowrap;
  1010. word-wrap: normal;
  1011. }
  1012. .content {
  1013. list-style: none;
  1014. padding: 0;
  1015. margin: 0 0 0 60px;
  1016. > li {
  1017. float: left;
  1018. padding: 5px 12px;
  1019. > a {
  1020. display: block;
  1021. padding: 5px 10px;
  1022. border: none;
  1023. .border-radius(4px);
  1024. color: #828a92;
  1025. .transition(all .3s ease);
  1026. }
  1027. &.active > a, &:focus > a, &:hover > a {
  1028. color: @primary-color
  1029. }
  1030. }
  1031. }
  1032. .tabs-toggle {
  1033. position: absolute;
  1034. right: 20px;
  1035. top: 18px;
  1036. font-size: 12px;
  1037. line-height: 1;
  1038. cursor: pointer
  1039. }
  1040. + .tabs-group {
  1041. //border-top: 1px solid #f7f7f7
  1042. }
  1043. }
  1044. }
  1045. .tabs-multiple {
  1046. .tabs-group {
  1047. .content {
  1048. > li {
  1049. > a {
  1050. margin: 2px 0;
  1051. display: block;
  1052. padding: 3px 10px;
  1053. .border-radius(3px);
  1054. }
  1055. &.active > a {
  1056. color: @primary-color;
  1057. background: lighten(@primary-color, 35%);
  1058. }
  1059. }
  1060. }
  1061. }
  1062. }
  1063. @media (max-width: 767px) {
  1064. .tabs-wrapper .tabs-group .title {
  1065. width: 100%;
  1066. float: none;
  1067. }
  1068. .tabs-wrapper .tabs-group .content {
  1069. margin: 0;
  1070. > li {
  1071. padding: 5px;
  1072. }
  1073. }
  1074. .tabs-wrapper .tabs-group + .tabs-group {
  1075. border-top: none;
  1076. }
  1077. }
  1078. h1 .breadcrumb {
  1079. padding: 0 5px;
  1080. margin-bottom: 5px;
  1081. background: none;
  1082. li {
  1083. font-size: 12px;
  1084. font-weight: 400;
  1085. }
  1086. }
  1087. .carousel-focus {
  1088. .item {
  1089. .carousel-img {
  1090. background-size: cover;
  1091. width: 100%;
  1092. height: 180px;
  1093. background-position: center center;
  1094. .transition(all 0.3s);
  1095. }
  1096. }
  1097. &:hover {
  1098. .carousel-img {
  1099. .transform(scale(1.02));
  1100. }
  1101. }
  1102. .carousel-control {
  1103. &.left, &.right {
  1104. background-image: none;
  1105. span {
  1106. display: none;
  1107. }
  1108. &:hover {
  1109. .transition(all 1s ease);
  1110. span {
  1111. display: block;
  1112. }
  1113. }
  1114. }
  1115. }
  1116. }
  1117. .panel-blockimg {
  1118. border: none;
  1119. .box-shadow(none);
  1120. img {
  1121. width: 100%;
  1122. }
  1123. }
  1124. .hot-tags {
  1125. .panel-body a {
  1126. span {
  1127. margin-bottom: 10px;
  1128. }
  1129. }
  1130. }
  1131. .tags {
  1132. margin: 0;
  1133. display: inline-block;
  1134. .tag {
  1135. margin-bottom: 8px;
  1136. }
  1137. }
  1138. .tag {
  1139. display: inline-block;
  1140. padding: 0 8px;
  1141. height: 24px;
  1142. line-height: 24px;
  1143. font-weight: 400;
  1144. font-size: 13px;
  1145. text-align: center;
  1146. color: @primary-color;
  1147. background: @tag-color;
  1148. margin-right: 3px;
  1149. border-radius: 2px;
  1150. img {
  1151. width: 16px;
  1152. height: 16px;
  1153. margin-top: -1px;
  1154. margin-right: 3px;
  1155. }
  1156. }
  1157. .tag[href]:focus, .tag[href]:hover {
  1158. background-color: @primary-color;
  1159. color: #fff;
  1160. text-decoration: none;
  1161. }
  1162. .tag-xs {
  1163. padding: 0 6px;
  1164. height: 20px;
  1165. line-height: 20px;
  1166. font-size: 12px
  1167. }
  1168. .tag-sm {
  1169. padding: 0 6px;
  1170. height: 22px;
  1171. line-height: 22px;
  1172. font-size: 13px
  1173. }
  1174. .tag-lg {
  1175. font-size: 16px;
  1176. font-weight: 700;
  1177. height: 30px;
  1178. line-height: 28px
  1179. }
  1180. .tag-link {
  1181. background-color: transparent
  1182. }
  1183. .tag-logo {
  1184. padding-left: 25px;
  1185. background-repeat: no-repeat;
  1186. background-position: 4px 2px;
  1187. background-size: 16px 16px;
  1188. }
  1189. .tag-success {
  1190. background-color: #dff0d8;
  1191. color: #18bc9c;
  1192. }
  1193. .tag-info {
  1194. background-color: #d9edf7;
  1195. color: #3498db;
  1196. }
  1197. .tag-warning {
  1198. background-color: #fcf8e3;
  1199. color: #f39c12;
  1200. }
  1201. .tag-danger {
  1202. background-color: #f2dede;
  1203. color: #e74c3c;
  1204. }
  1205. .product-item {
  1206. .card {
  1207. border-radius: 3px;
  1208. position: relative;
  1209. padding: 12px;
  1210. margin: 0 auto 20px;
  1211. .transition(all 200ms cubic-bezier(0.55, 0.055, 0.675, 0.19));
  1212. border: 1px solid #eee;
  1213. min-height: 250px;
  1214. overflow: hidden;
  1215. background-color: #fff;
  1216. .thumb {
  1217. position: relative;
  1218. .transition(all 0.5s ease-out 0s);
  1219. margin: -12px;
  1220. > .preview-link::before {
  1221. background: rgba(0, 0, 0, 0.2);
  1222. opacity: 0;
  1223. z-index: 1;
  1224. position: absolute;
  1225. top: 0;
  1226. left: 0;
  1227. bottom: 0;
  1228. right: 0;
  1229. content: "";
  1230. .transition(all 0.5s ease-out 0s);
  1231. }
  1232. > .quickview-link {
  1233. display: block;
  1234. width: 40px;
  1235. height: 40px;
  1236. position: absolute;
  1237. top: 0;
  1238. right: 0;
  1239. left: 0;
  1240. bottom: 0;
  1241. margin: auto;
  1242. line-height: 40px;
  1243. text-align: center;
  1244. z-index: 10;
  1245. background: #000;
  1246. border-radius: 50%;
  1247. opacity: 0;
  1248. visibility: hidden;
  1249. color: #fff;
  1250. transform: scale(0);
  1251. -webkit-transform: scale(0);
  1252. transition: all 0.3s ease-out 0s;
  1253. -webkit-transition: all 0.3s ease-out 0s;
  1254. }
  1255. &:hover {
  1256. .preview-link::before {
  1257. opacity: 1;
  1258. }
  1259. .quickview-link {
  1260. opacity: 1;
  1261. visibility: visible;
  1262. transform: scale(1);
  1263. -webkit-transform: scale(1);
  1264. }
  1265. }
  1266. }
  1267. &:hover {
  1268. .transform(translateY(-6px));
  1269. .box-shadow(0 26px 40px -24px rgba(0, 36, 100, 0.3));
  1270. .transition(all 0.3s ease);
  1271. .operate {
  1272. .pull-right {
  1273. display: block;
  1274. }
  1275. }
  1276. }
  1277. .image {
  1278. position: relative;
  1279. width: 100%;
  1280. height: 1px;
  1281. overflow: hidden;
  1282. padding-bottom: 75%;
  1283. background-repeat: no-repeat;
  1284. background-size: cover;
  1285. background-position: center center;
  1286. }
  1287. .title {
  1288. padding-top: 10px;
  1289. }
  1290. h2 {
  1291. color: #000;
  1292. padding: 0;
  1293. margin-bottom: 5px;
  1294. height: 24px;
  1295. margin-top: 15px;
  1296. font-size: 14px;
  1297. font-weight: 400;
  1298. line-height: 24px;
  1299. text-align: left;
  1300. overflow: hidden;
  1301. text-overflow: ellipsis;
  1302. -webkit-box-orient: vertical;
  1303. display: -webkit-box;
  1304. -webkit-line-clamp: 1;
  1305. }
  1306. .operate {
  1307. height: 31px;
  1308. overflow: hidden;
  1309. .pull-right {
  1310. display: none;
  1311. }
  1312. }
  1313. }
  1314. }
  1315. #content-container {
  1316. > h1 {
  1317. margin-top: 0;
  1318. }
  1319. }
  1320. body {
  1321. display: flex;
  1322. flex-direction: column;
  1323. }
  1324. .main-content {
  1325. //margin: 0 auto;
  1326. padding-bottom: 15px;
  1327. flex-grow: 1;
  1328. //flex: 1 0 auto;
  1329. }
  1330. footer {
  1331. flex-grow: 0;
  1332. flex-shrink: 0;
  1333. }
  1334. @media (max-width: 768px) {
  1335. .main-content {
  1336. > .container {
  1337. padding-left: 0;
  1338. padding-right: 0;
  1339. overflow-x: hidden;
  1340. > .category-title {
  1341. padding: 0 15px;
  1342. font-size: 20px;
  1343. }
  1344. }
  1345. }
  1346. .navbar-inverse {
  1347. height: 100vh;
  1348. max-height: 100vh;
  1349. padding-bottom: 50px;
  1350. ul.dropdown-menu {
  1351. background: #333333;
  1352. }
  1353. ul.navbar-nav {
  1354. > li {
  1355. margin-bottom: 1px;
  1356. }
  1357. > li.open {
  1358. > a {
  1359. background-color: #080808;
  1360. }
  1361. }
  1362. }
  1363. }
  1364. .navbar-white {
  1365. .navbar-nav .open .dropdown-menu {
  1366. background: #eee;
  1367. }
  1368. }
  1369. .footer-logo {
  1370. margin-bottom: 20px;
  1371. }
  1372. .product-item .card .operate .pull-right {
  1373. display: inherit;
  1374. }
  1375. }
  1376. .lasest-update {
  1377. .panel-body {
  1378. padding: 8px 0;
  1379. ul {
  1380. margin-bottom: 0;
  1381. }
  1382. ul li {
  1383. white-space: nowrap;
  1384. overflow: hidden;
  1385. text-overflow: ellipsis;
  1386. position: relative;
  1387. height: 35px;
  1388. line-height: 35px;
  1389. }
  1390. }
  1391. }
  1392. .channel-list {
  1393. .row {
  1394. .col-xs-12 {
  1395. min-height: 315px;
  1396. h3 {
  1397. border-bottom: 1px solid #eee;
  1398. padding-bottom: 10px;
  1399. position: relative;
  1400. > a {
  1401. font-size: 16px;
  1402. //border-left: 2px solid @primary-color;
  1403. position: relative;
  1404. padding-left: 6px;
  1405. &:before {
  1406. position: absolute;
  1407. top: 2px;
  1408. left: 0px;
  1409. content: ' ';
  1410. width: 2px;
  1411. height: 15px;
  1412. background: @primary-color;
  1413. display: inline-block;
  1414. }
  1415. }
  1416. em {
  1417. position: absolute;
  1418. right: 5px;
  1419. top: 2px;
  1420. font-style: normal;
  1421. font-weight: 400;
  1422. a {
  1423. font-size: 12px;
  1424. }
  1425. }
  1426. }
  1427. }
  1428. .media {
  1429. margin-bottom: 10px;
  1430. .media-left {
  1431. a {
  1432. width: 120px;
  1433. display: block;
  1434. .embed-responsive-4by3 {
  1435. border-radius: 5px;
  1436. }
  1437. }
  1438. }
  1439. .media-body {
  1440. font-size: 12px;
  1441. p {
  1442. overflow: hidden;
  1443. text-overflow: ellipsis;
  1444. -webkit-box-orient: vertical;
  1445. display: -webkit-box;
  1446. -webkit-line-clamp: 2;
  1447. font-size: 14px;
  1448. padding-right: 15px;
  1449. }
  1450. }
  1451. }
  1452. ul.inner-list li {
  1453. margin-bottom: 5px;
  1454. white-space: nowrap;
  1455. overflow: hidden;
  1456. text-overflow: ellipsis;
  1457. position: relative;
  1458. padding-right: 40px;
  1459. height: 30px;
  1460. line-height: 30px;
  1461. a {
  1462. color: #616161;
  1463. }
  1464. span {
  1465. position: absolute;
  1466. right: 0;
  1467. }
  1468. }
  1469. }
  1470. }
  1471. #comment-container {
  1472. #commentlist {
  1473. dl {
  1474. position: relative;
  1475. border-bottom: 1px solid #eee;
  1476. clear: both;
  1477. padding: 10px 0;
  1478. margin-bottom: 5px;
  1479. dt {
  1480. float: left;
  1481. margin-right: 10px;
  1482. width: 44px;
  1483. height: 44px;
  1484. display: block;
  1485. position: absolute;
  1486. img {
  1487. width: 40px;
  1488. height: 40px;
  1489. border-radius: 50%;
  1490. }
  1491. }
  1492. dd {
  1493. padding-left: 55px;
  1494. float: left;
  1495. width: 100%;
  1496. cite {
  1497. a {
  1498. color: @primary-color;
  1499. }
  1500. }
  1501. small {
  1502. color: #999;
  1503. margin: 0 0 0 3px;
  1504. height: 20px;
  1505. line-height: 20px;
  1506. font-size: 10px;
  1507. a {
  1508. display: none;
  1509. }
  1510. }
  1511. dl {
  1512. margin: 0px;
  1513. border-top: 1px solid #eee;
  1514. border-bottom: none;
  1515. padding-top: 15px;
  1516. padding-bottom: 0;
  1517. dd {
  1518. width: 550px;
  1519. }
  1520. }
  1521. p {
  1522. margin-top: 5px;
  1523. margin-bottom: 10px;
  1524. line-height: 24px;
  1525. em {
  1526. font-style: normal;
  1527. display: inline-block;
  1528. padding: 0 5px;
  1529. height: 22px;
  1530. line-height: 22px;
  1531. font-weight: 400;
  1532. font-size: 13px;
  1533. text-align: center;
  1534. color: @primary-color;
  1535. background: @tag-color;
  1536. border-radius: 2px;
  1537. }
  1538. }
  1539. }
  1540. }
  1541. cite {
  1542. font-style: normal;
  1543. }
  1544. }
  1545. h3 {
  1546. position: relative;
  1547. font-size: 16px;
  1548. padding: 15px 0;
  1549. background: #fff;
  1550. a {
  1551. display: none;
  1552. }
  1553. }
  1554. #postcomment {
  1555. .form-group {
  1556. margin-bottom: 10px;
  1557. }
  1558. label {
  1559. font-weight: normal;
  1560. }
  1561. a {
  1562. small {
  1563. display: inline !important;
  1564. }
  1565. }
  1566. textarea.form-control {
  1567. border-radius: 2px;
  1568. box-shadow: none;
  1569. border-color: #eeeeee;
  1570. }
  1571. }
  1572. }
  1573. .fieldlist dd {
  1574. display: block;
  1575. margin: 5px 0;
  1576. input {
  1577. display: inline-block;
  1578. width: 300px;
  1579. }
  1580. input:first-child {
  1581. width: 110px;
  1582. }
  1583. ins {
  1584. width: 110px;
  1585. display: inline-block;
  1586. text-decoration: none;
  1587. font-weight: bold;
  1588. }
  1589. }
  1590. .text-gray {
  1591. color: #d2d6de !important;
  1592. }
  1593. .no-padding {
  1594. padding: 0 !important;
  1595. }
  1596. .no-border {
  1597. border: none !important;
  1598. }
  1599. .pager {
  1600. .pagination {
  1601. margin: 0;
  1602. }
  1603. .pager {
  1604. margin: 0;
  1605. }
  1606. li {
  1607. margin: 0 .4em;
  1608. display: inline-block;
  1609. &:first-child, &:last-child {
  1610. > a, > span {
  1611. padding: .5em 1.2em;
  1612. }
  1613. }
  1614. }
  1615. }
  1616. .pager li > a, .pager li > span {
  1617. background: none;
  1618. border: 1px solid #e6e6e6;
  1619. border-radius: 0.25em;
  1620. padding: .5em .93em;
  1621. font-size: 14px;
  1622. }
  1623. .list-partner li {
  1624. display: inline-block;
  1625. margin: 0 12px 12px 0;
  1626. width: 140px;
  1627. text-align: center;
  1628. border: 1px solid #efefef;
  1629. img {
  1630. height: 50px;
  1631. }
  1632. }
  1633. .index-gallary, .related-article {
  1634. h5 {
  1635. font-size: 14px;
  1636. overflow: hidden;
  1637. text-overflow: ellipsis;
  1638. -webkit-box-orient: vertical;
  1639. display: -webkit-box;
  1640. -webkit-line-clamp: 1;
  1641. font-weight: normal;
  1642. height: 15px;
  1643. }
  1644. }
  1645. .index-focus {
  1646. margin-bottom: 19px;
  1647. }
  1648. .article-content {
  1649. > .panel-heading {
  1650. padding: 0;
  1651. margin: 0 -15px;
  1652. > .breadcrumb {
  1653. background: #fff;
  1654. font-size: 13px;
  1655. margin-bottom: 0;
  1656. padding: 15px;
  1657. }
  1658. }
  1659. }
  1660. .article-donate {
  1661. padding: 10px 0;
  1662. text-align: center;
  1663. a {
  1664. min-width: 120px;
  1665. .border-radius(3px);
  1666. }
  1667. }
  1668. .category-title {
  1669. margin-bottom: 20px;
  1670. font-size: 24px;
  1671. color: #444;
  1672. .breadcrumb li {
  1673. font-size: 14px;
  1674. }
  1675. }
  1676. .category-order {
  1677. li > a.active {
  1678. color: @primary-color;
  1679. }
  1680. }
  1681. .img-zoom {
  1682. overflow: hidden;
  1683. display: inline-block;
  1684. img {
  1685. .transition(all 0.3s);
  1686. }
  1687. &:hover img {
  1688. .transform(scale(1.1));
  1689. }
  1690. }
  1691. .embed-responsive {
  1692. position: relative;
  1693. display: block;
  1694. height: 0;
  1695. padding: 0;
  1696. overflow: hidden;
  1697. img {
  1698. position: absolute;
  1699. object-fit: cover;
  1700. width: 100%;
  1701. height: 100%;
  1702. border: 0;
  1703. }
  1704. }
  1705. .embed-responsive-16by9 {
  1706. padding-bottom: 56.25%;
  1707. }
  1708. .embed-responsive-4by3 {
  1709. padding-bottom: 75%;
  1710. }
  1711. .embed-responsive-square {
  1712. padding-bottom: 100%;
  1713. }
  1714. .list-links {
  1715. a {
  1716. margin-right: 5px;
  1717. }
  1718. }
  1719. .navbar-form {
  1720. padding-top: 5px;
  1721. }
  1722. @media (min-width: 768px) and (max-width: 991px) {
  1723. .navbar-header {
  1724. width: 44px;
  1725. overflow: hidden;
  1726. }
  1727. }
  1728. @media (max-width: 767px) {
  1729. .skin-white {
  1730. padding-top: 70px;
  1731. }
  1732. ul.dropdown-menu {
  1733. position: relative;
  1734. width: 100%;
  1735. background: #222;
  1736. .open > a, .open > a:hover, .open > a:focus {
  1737. background: none;
  1738. color: #9d9d9d;
  1739. }
  1740. > .dropdown-menu {
  1741. position: relative;
  1742. width: 100%;
  1743. margin: 0;
  1744. }
  1745. }
  1746. .navbar-nav {
  1747. .open .dropdown-menu > li > a {
  1748. line-height: 22px;
  1749. }
  1750. .open .dropdown-menu {
  1751. position: relative;
  1752. width: 100%;
  1753. margin: 0;
  1754. left: 0;
  1755. background: #404950;
  1756. }
  1757. }
  1758. .dropdown-submenu > a:after {
  1759. display: none;
  1760. }
  1761. .panel-page {
  1762. padding: 15px;
  1763. min-height: 300px;
  1764. }
  1765. .article-list .media .media-left a {
  1766. width: 110px;
  1767. }
  1768. .article-list .media .media-body .article-title {
  1769. font-size: 1em;
  1770. }
  1771. .article-list .media-body .article-tag {
  1772. overflow: hidden;
  1773. text-overflow: ellipsis;
  1774. -webkit-box-orient: vertical;
  1775. display: -webkit-box;
  1776. -webkit-line-clamp: 1;
  1777. }
  1778. .navbar-nav {
  1779. margin: 8.25px 0;
  1780. }
  1781. .dropdown:not(.open):hover > .dropdown-menu {
  1782. display: none;
  1783. }
  1784. .article-list .media-body .article-tag span {
  1785. margin: 0 2px;
  1786. }
  1787. .article-pay a.btn {
  1788. display: block;
  1789. margin-top: 5px;
  1790. }
  1791. .navbar-form {
  1792. margin: 0;
  1793. border-top: none;
  1794. border-bottom: none;
  1795. }
  1796. .navbar-userinfo {
  1797. padding: 0;
  1798. > a {
  1799. height: 50px;
  1800. }
  1801. }
  1802. .focus-img {
  1803. margin-top: 15px;
  1804. padding: 0 15px;
  1805. > .row {
  1806. margin-left: 0;
  1807. }
  1808. }
  1809. }
  1810. @media (min-width: 768px) {
  1811. #index-focus .item {
  1812. .carousel-img {
  1813. height: 340px;
  1814. width: 100%;
  1815. }
  1816. }
  1817. #channel-focus .item {
  1818. .carousel-img {
  1819. height: 272px;
  1820. width: 100%;
  1821. }
  1822. }
  1823. }
  1824. @media (min-width: 979px) {
  1825. ul.nav li.dropdown:hover > ul.dropdown-menu {
  1826. display: block;
  1827. }
  1828. }
  1829. @media screen and (min-width: 768px) {
  1830. .carousel-caption {
  1831. left: 0;
  1832. right: 0;
  1833. background: rgba(0, 0, 0, .3);
  1834. padding: 0;
  1835. bottom: 0;
  1836. text-shadow: none;
  1837. h3 {
  1838. margin: 0;
  1839. font-size: 14px;
  1840. padding: 15px;
  1841. text-align: left;
  1842. }
  1843. p {
  1844. display: none;
  1845. }
  1846. }
  1847. .carousel-indicators {
  1848. bottom: 3px;
  1849. right: 15px;
  1850. width: auto;
  1851. left: inherit;
  1852. opacity: .6;
  1853. }
  1854. }
  1855. .carousel-control {
  1856. text-shadow: none;
  1857. .fa {
  1858. font: normal normal normal 30px/1 FontAwesome;
  1859. }
  1860. .icon-prev {
  1861. left: 20px;
  1862. }
  1863. .icon-next {
  1864. right: 20px;
  1865. }
  1866. .fa-chevron-left:before {
  1867. content: "\f053";
  1868. }
  1869. .fa-chevron-right:before {
  1870. content: "\f054";
  1871. }
  1872. }
  1873. .loadmore {
  1874. width: 80%;
  1875. margin: 1.5em auto;
  1876. line-height: 1.6em;
  1877. font-size: 14px;
  1878. text-align: center;
  1879. clear: both;
  1880. }
  1881. .loadmore-tips {
  1882. display: inline-block;
  1883. vertical-align: middle;
  1884. }
  1885. .loadmore-line {
  1886. border-top: 1px solid #eeeeee;
  1887. margin-top: 2.4em;
  1888. .loadmore-tips {
  1889. position: relative;
  1890. top: -0.9em;
  1891. padding: 0 .55em;
  1892. background-color: #FFFFFF;
  1893. color: #808080;
  1894. }
  1895. }
  1896. .btn-loadmore {
  1897. clear: both;
  1898. }
  1899. .download-list {
  1900. margin: 0 -15px;
  1901. li {
  1902. width: 95px;
  1903. float: left;
  1904. display: inline-block;
  1905. margin: 0 15px;
  1906. padding: 15px 0;
  1907. text-align: center;
  1908. position: relative;
  1909. height: 170px;
  1910. a {
  1911. display: block;
  1912. p {
  1913. word-break: keep-all;
  1914. text-overflow: ellipsis;
  1915. line-height: 25px;
  1916. height: 25px;
  1917. overflow: hidden;
  1918. }
  1919. img + span {
  1920. display: block;
  1921. overflow: hidden;
  1922. height: 20px;
  1923. }
  1924. }
  1925. &:hover {
  1926. em {
  1927. display: none;
  1928. }
  1929. a.btn {
  1930. display: block;
  1931. width: 80px;
  1932. margin: 0 auto;
  1933. }
  1934. }
  1935. a:hover {
  1936. text-decoration: none;
  1937. }
  1938. }
  1939. img {
  1940. width: 90px;
  1941. height: 90px;
  1942. margin-bottom: 8px;
  1943. }
  1944. em {
  1945. display: block;
  1946. color: #999;
  1947. font-style: normal;
  1948. }
  1949. li > a.link {
  1950. display: block;
  1951. height: 120px;
  1952. overflow: hidden;
  1953. border-radius: 5px;
  1954. img {
  1955. border-radius: 5px;
  1956. }
  1957. }
  1958. a.btn {
  1959. display: none;
  1960. }
  1961. }
  1962. .screenshots-box > h2, .download-box > h2, .intro-box > h2, .history-box > h2 {
  1963. font-size: 18px;
  1964. color: #444;
  1965. }
  1966. @media (max-width: 991px) {
  1967. .download-list {
  1968. li {
  1969. margin: 0 10px;
  1970. }
  1971. }
  1972. }
  1973. .focus-img {
  1974. > .row > div {
  1975. padding: 0;
  1976. padding-right: 15px;
  1977. margin-bottom: 15px;
  1978. height: 100%;
  1979. display: block;
  1980. a > span {
  1981. border-radius: 3px;
  1982. overflow: hidden;
  1983. }
  1984. }
  1985. .intro {
  1986. position: absolute;
  1987. bottom: 0;
  1988. background: #000;
  1989. padding: 0 5px 0 5px;
  1990. width: 100%;
  1991. opacity: .5;
  1992. color: #fff;
  1993. height: 30px;
  1994. line-height: 30px;
  1995. overflow: hidden;
  1996. white-space: nowrap;
  1997. text-overflow: ellipsis;
  1998. text-align: center;
  1999. }
  2000. a {
  2001. display: block;
  2002. }
  2003. img {
  2004. width: 100%;
  2005. }
  2006. }
  2007. @media (min-width: 768px) and (max-width: 992px) {
  2008. .focus-img {
  2009. margin-top: 15px;
  2010. > .row {
  2011. margin: 0 -10px;
  2012. > div {
  2013. padding: 0 10px;
  2014. }
  2015. }
  2016. }
  2017. }
  2018. @media (min-width: 992px) and (max-width: 1200px) {
  2019. .focus-img {
  2020. > .row {
  2021. > div .embed-responsive-16by9 {
  2022. padding-bottom: 68.25%;
  2023. }
  2024. }
  2025. }
  2026. }
  2027. .navbar .form-search {
  2028. input[type=search] {
  2029. -webkit-appearance: textfield;
  2030. font-family: inherit;
  2031. font-size: 100%;
  2032. }
  2033. input::-webkit-search-decoration,
  2034. input::-webkit-search-cancel-button {
  2035. display: none;
  2036. }
  2037. input[type=search] {
  2038. background: url('../img/search.svg') no-repeat 10px center;
  2039. background-size: 18px 18px;
  2040. //border: solid 1px #ccc;
  2041. border-color: transparent;
  2042. padding: 6px 10px;
  2043. width: 35px;
  2044. .border-radius(10em);
  2045. .transition(all .5s);
  2046. height: inherit;
  2047. cursor: pointer;
  2048. box-shadow: none;
  2049. color: transparent;
  2050. }
  2051. input[type=search]:hover {
  2052. background-color: #fff;
  2053. }
  2054. input[type=search]:focus {
  2055. border-color: @primary-color;
  2056. width: 200px;
  2057. padding-left: 32px;
  2058. color: #000;
  2059. background-color: #fff;
  2060. cursor: auto;
  2061. .box-shadow(0 0 5px lighten(@primary-color, 30%));
  2062. &::-moz-placeholder {
  2063. color: #999;
  2064. }
  2065. &::-webkit-input-placeholder {
  2066. color: #999;
  2067. }
  2068. }
  2069. input::-moz-placeholder {
  2070. color: transparent;
  2071. }
  2072. input::-webkit-input-placeholder {
  2073. color: transparent;
  2074. }
  2075. }
  2076. @media (min-width: 768px) {
  2077. .navbar .navbar-header {
  2078. position: relative;
  2079. z-index: 9999;
  2080. }
  2081. .navbar .navbar-collapse {
  2082. position: relative;
  2083. z-index: 9998;
  2084. .navbar-nav {
  2085. display: flex;
  2086. justify-content: space-around;
  2087. flex-direction: row;
  2088. white-space: nowrap; //不换行
  2089. }
  2090. .navbar-right {
  2091. position: absolute;
  2092. right: 0;
  2093. background: #fff;
  2094. }
  2095. }
  2096. }
  2097. @media (max-width: 767px) {
  2098. .navbar {
  2099. .form-search input[type=search] {
  2100. position: relative;
  2101. width: 100%;
  2102. border: 1px solid #ddd;
  2103. &:focus {
  2104. width: 100%;
  2105. }
  2106. }
  2107. .navbar-collapse {
  2108. position: fixed;
  2109. top: 0;
  2110. overflow: auto;
  2111. z-index: 9999;
  2112. background: #fff;
  2113. box-shadow: 10px 0 10px rgba(0, 0, 0, 0.06);
  2114. max-height: inherit;
  2115. height: 100vh;
  2116. transition: .5s;
  2117. width: 250px;
  2118. margin-left: -280px;
  2119. margin-right: 0;
  2120. display: flex;
  2121. > ul.navbar-nav {
  2122. margin: 15px 0;
  2123. > li {
  2124. margin-bottom: 5px;
  2125. border-radius: 3px;
  2126. overflow: hidden;
  2127. background: #fbfbfb;
  2128. }
  2129. li {
  2130. > a b.caret {
  2131. position: absolute;
  2132. right: 15px;
  2133. top: 50%;
  2134. margin-top: -2px;
  2135. }
  2136. ul.dropdown-menu {
  2137. border-radius: 0;
  2138. }
  2139. }
  2140. &:first-child {
  2141. width: 100%;
  2142. //flex-grow: 1;
  2143. }
  2144. &.navbar-right {
  2145. width: 100%;
  2146. margin-bottom: 0;
  2147. }
  2148. }
  2149. &.active {
  2150. //display: block;
  2151. margin-left: -15px;
  2152. //flex-wrap: wrap;
  2153. //flex-direction: column-reverse;
  2154. flex-direction: column;
  2155. flex: auto;
  2156. //width: 250px;
  2157. //transition: .5s;
  2158. > ul {
  2159. width: 100%;
  2160. }
  2161. .dropdown-submenu ul.dropdown-menu {
  2162. display: block;
  2163. }
  2164. }
  2165. }
  2166. .navbar-collapse-bg {
  2167. position: fixed;
  2168. top: 0;
  2169. overflow: hidden;
  2170. z-index: 9998;
  2171. background: transparent;
  2172. height: 100vh;
  2173. width: 100%;
  2174. display: block;
  2175. }
  2176. }
  2177. }
  2178. /* 搜索建议 */
  2179. .autocomplete-suggestions {
  2180. text-align: left;
  2181. cursor: default;
  2182. background: #fff;
  2183. //border: 1px solid rgba(0, 0, 0, 0.15);
  2184. border-radius: 2px;
  2185. .box-shadow(0 6px 12px rgba(0, 0, 0, 0.175));
  2186. background-clip: padding-box;
  2187. position: absolute;
  2188. display: none;
  2189. z-index: 1036;
  2190. max-height: 254px;
  2191. overflow: hidden;
  2192. overflow-y: auto;
  2193. box-sizing: border-box;
  2194. .autocomplete-suggestion {
  2195. padding: 6px 12px;
  2196. b {
  2197. color: red;
  2198. }
  2199. &:hover {
  2200. background: #f0f0f0;
  2201. }
  2202. }
  2203. }
  2204. .layui-layer {
  2205. .layui-layer-confirm {
  2206. width: 100%;
  2207. height: 100%;
  2208. &:focus {
  2209. border: 1px solid #444c69;
  2210. .border-radius(2px);
  2211. }
  2212. &:focus-visible {
  2213. outline: 0;
  2214. }
  2215. }
  2216. }