"OdenseTrack" is a school assignment/project from AspIT https://aspit.dfine.net/odensetrack
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

style.css 29KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496
  1. /*
  2. Made by DFiNE (Kenneth Hedahl)
  3. Copyright DIS (www.dfine.net)
  4. */
  5. /* Global styles */
  6. @charset "UTF-8";
  7. *, *:before, *:after {
  8. padding:0px;
  9. margin:0px;
  10. box-sizing: inherit;
  11. }
  12. html {
  13. height: 100%;
  14. box-sizing: border-box;
  15. }
  16. body {
  17. background:url('../img/bg.png');
  18. font-family:verdana, arial;
  19. position: relative;
  20. padding-bottom:200px;
  21. min-height: 100%;
  22. overflow-y:scroll;
  23. }
  24. a {
  25. text-decoration:none;
  26. color:#578282;
  27. }
  28. a:hover {
  29. color:#789b9b;
  30. }
  31. /* General site buildup */
  32. .contentwrapper {
  33. width:990px;
  34. margin-left:auto;
  35. margin-right:auto;
  36. /*min-height:800px;*/
  37. }
  38. .header {
  39. height:75px;
  40. width:100%;
  41. background-color:#111111;
  42. }
  43. .header_logo {
  44. background:url('../img/header.png');
  45. background-repeat:no-repeat;
  46. background-position-y: 15px;
  47. width:200px;
  48. height:70px;
  49. margin-left:20px;
  50. float:left;
  51. }
  52. .header_right {
  53. float:right;
  54. padding-top:50px;
  55. padding-right:50px;
  56. font-size:10px;
  57. color:#333333;
  58. }
  59. .header_right a {
  60. text-decoration:none;
  61. color:#999;
  62. }
  63. .header_right a:hover {
  64. text-decoration:underline;
  65. }
  66. /* Main navigation */
  67. .topnav {
  68. height:30px;
  69. padding-right:5px;
  70. background-color:black;
  71. text-align:right;
  72. padding-top:5px;
  73. padding-bottom:5px;
  74. }
  75. .topnav p {
  76. text-transform:uppercase;
  77. color:red;
  78. font-size:15px;
  79. line-height:12px;
  80. display:inline-block;
  81. }
  82. .topnav button {
  83. height:20px;
  84. font-size:12px;
  85. /*line-height:11px;*/
  86. background-color:red;
  87. color:white;
  88. border:1px solid red;
  89. border-radius:2px;
  90. padding:3px 3px 3px 3px;
  91. }
  92. .mainnav {
  93. border-top:1px solid #2e2e2e;
  94. height:50px;
  95. background-color:#111111;
  96. text-decoration:none;
  97. text-transform:uppercase;
  98. }
  99. .mainnav ul, .mainnav li {
  100. list-style-type:none;
  101. display:inline-block;
  102. }
  103. .mainnav li {
  104. line-height:50px;
  105. padding-left:50px;
  106. }
  107. .mainnav a {
  108. text-decoration:none;
  109. color:#FFF;
  110. height:100%;
  111. }
  112. .mainnav a:hover {
  113. color:#999;
  114. }
  115. /* Content styling */
  116. .content {
  117. width:100%;
  118. color:#FFF;
  119. }
  120. .events {
  121. padding:10px 10px 10px 10px;
  122. }
  123. .events a {
  124. color:#FFF;
  125. }
  126. .events h1 {
  127. color:#FFF;
  128. font-size:20px;
  129. margin-bottom:10px;
  130. text-transform:uppercase;
  131. font-weight:normal;
  132. }
  133. .eventslidertext {
  134. padding-top:5px;
  135. padding-left:1px;
  136. font-size:12px !important;
  137. }
  138. .content-slice {
  139. display:inline-block;
  140. width:460px;
  141. padding:10px 10px 10px 10px;
  142. margin-bottom:10px;
  143. box-sizing: content-box;
  144. }
  145. .content-slice h1 {
  146. display:inline-block;
  147. font-size:20px;
  148. }
  149. .content-slice a {
  150. display:inline-block;
  151. color:#0093a1;
  152. font-size:11px;
  153. }
  154. .content-slice a:before {
  155. content: ">";
  156. padding-right: 3px;
  157. color:#0093a1;
  158. font-size:13px;
  159. }
  160. .event-item {
  161. width:460px;
  162. height:90px;
  163. max-height:90px !important;
  164. margin-top:10px;
  165. box-sizing:border-box;
  166. }
  167. .event-date {
  168. width:50px;
  169. height:50px;
  170. float:left;
  171. background-color:#009ea6;
  172. color:#FFF;
  173. margin-left:5px;
  174. margin-top:10px;
  175. border-top-left-radius: 5px;
  176. border-bottom-left-radius: 5px;
  177. font-family:arial;
  178. text-align:center;
  179. font-size:30px;
  180. }
  181. .event-date span {
  182. display:block;
  183. font-size:12px;
  184. }
  185. .event-content {
  186. width:370px;
  187. height:90px;
  188. float:left;
  189. background-color:#333333;
  190. margin-top:0px;
  191. padding:5px 5px 5px 5px;
  192. border-radius:2px;
  193. box-sizing:border-box;
  194. }
  195. .event-contentext {
  196. width:370px;
  197. height:80px;
  198. float:left;
  199. background-color:#333333;
  200. margin-top:-10px;
  201. padding:5px 5px 5px 5px;
  202. border-radius:2px;
  203. }
  204. .event-left {
  205. padding:10px 10px 10px 10px;
  206. width:250px;
  207. float:left;
  208. font-size:12px;
  209. font-weight:normal;
  210. }
  211. .event-right {
  212. float:left;
  213. }
  214. .event-right button {
  215. width:90px;
  216. height:25px;
  217. background-color:#e51937;
  218. color:#FFF;
  219. border:none;
  220. font-weight:bold;
  221. margin-top:30%;
  222. }
  223. .eventextra {
  224. height:80px;
  225. }
  226. .activitybtn {
  227. margin-right:30px;
  228. }
  229. .activitybtn p {
  230. width:16px;
  231. height:16px;
  232. color:#c57e19;
  233. background:transparent;
  234. border:none;
  235. font-size:15px;
  236. display:inline-block;
  237. margin-left:5px;
  238. }
  239. .activitybtn p:hover {
  240. color:#ffa019;
  241. }
  242. .page {
  243. padding:10px 10px 10px 10px;
  244. }
  245. .page h1 {
  246. display:inline-block;
  247. margin-bottom:10px;
  248. font-size: 20px;
  249. margin-bottom: 10px;
  250. text-transform: uppercase;
  251. font-weight: normal;
  252. }
  253. .page p {
  254. margin-bottom:10px;
  255. }
  256. .page ul {
  257. list-style: disc outside;
  258. display:block;
  259. margin-left:20px;
  260. }
  261. .newsitem {
  262. width:100%;
  263. height:150px;
  264. background-color:#333;
  265. margin-bottom:20px;
  266. }
  267. .newsitemimg {
  268. width:20%;
  269. }
  270. .newsitemimg img {
  271. height:150px;
  272. max-width:150px;
  273. }
  274. .newsitemcont {
  275. width:60%;
  276. overflow:hidden;
  277. height:135px;
  278. }
  279. .newsitemcont .newsitemauthor {
  280. width:100%;
  281. border-bottom:1px solid #2e2e2e;
  282. margin-bottom:5px;
  283. }
  284. .newsitemcont .newsitemauthor h2 {
  285. display:inline;
  286. font-size:16px;
  287. }
  288. .newsitemcont .newsitemauthor p {
  289. display:inline;
  290. font-size:12px;
  291. margin-left:1em;
  292. }
  293. .newsitemread {
  294. width:20%;
  295. text-align:center;
  296. }
  297. .newsitemread button {
  298. margin-top:30%;
  299. background-color:#e51937;
  300. color:#FFF;
  301. border:none;
  302. padding:10px 10px 10px 10px;
  303. vertical-align:middle;
  304. }
  305. .newstitle {
  306. font-size:12px;
  307. line-height:20px;
  308. }
  309. .newsbody {
  310. }
  311. .newsbody img {
  312. max-width:970px;
  313. }
  314. .newsbody p {
  315. padding: 3px 3px 3px 3px;
  316. }
  317. .eventslice {
  318. width:319px;
  319. float:left;
  320. height:250px;
  321. margin-left:2px;
  322. margin-right:2px;
  323. margin-bottom:20px;
  324. display:block;
  325. }
  326. .eventslice-top img {
  327. padding-left:5px;
  328. padding-right:5px;
  329. width:320px;
  330. max-width:320px;
  331. }
  332. .eventslice-middle {
  333. display:block;
  334. height:20%;
  335. padding:5px 5px 10px 10px;
  336. overflow:hidden;
  337. }
  338. .eventslice-bottom {
  339. display:block;
  340. height:15%;
  341. padding-left:5px;
  342. padding-right:5px;
  343. }
  344. .eventslice-bottom button {
  345. width:100%;
  346. height:100%;
  347. background-color:#000;
  348. color:#e51937;
  349. border:1px solid #e51937;
  350. }
  351. .contactform {
  352. width:400px;
  353. float:left;
  354. }
  355. .contactform .form-control {
  356. display:table;
  357. }
  358. .contactform .form-control label {
  359. display:block;
  360. margin-top:20px;
  361. }
  362. .contactform .form-control .inputfield {
  363. width:400px;
  364. height:30px;
  365. font-size:20px;
  366. border-radius: 2px;
  367. border:none;
  368. margin-top:1px;
  369. padding:2px 2px 2px 2px;
  370. }
  371. .contactform .form-control textarea {
  372. width:400px;
  373. height:100px;
  374. border-radius: 2px;
  375. border:none;
  376. margin-top:1px;
  377. padding:2px 2px 2px 2px;
  378. }
  379. .contactform .form-control .contactsubmit {
  380. margin-top:20px;
  381. width:150px;
  382. height:50px;
  383. background-color:#000;
  384. color:#e51937;
  385. border:1px solid #e51937;
  386. margin-left:250px;
  387. }
  388. .amenu button {
  389. height:30px;
  390. padding:5px 5px 5px 5px;
  391. }
  392. .nmin {
  393. margin-top:20px;
  394. }
  395. .nmin button {
  396. width:30px;
  397. height:30px;
  398. border:none;
  399. font-size:18px;
  400. /*padding:4px 3px 3px 6px;*/
  401. border-radius:2px;
  402. text-align:center;
  403. margin-right:10px;
  404. }
  405. .nmin table {
  406. text-align:left;
  407. display:table;
  408. border:none;
  409. width:970px;
  410. }
  411. .nmin tr {
  412. width:970px;
  413. height:35px;
  414. font-size:15px;
  415. }
  416. .nmin th {
  417. border:none;
  418. padding-left:5px;
  419. }
  420. .nmin td {
  421. border:none;
  422. padding-left:5px;
  423. }
  424. .nmin tr:nth-child(even) {
  425. background:rgba(255,255,255,0.05)
  426. }
  427. .editorform {
  428. }
  429. .editorform .editformtitle {
  430. width:300px;
  431. height:30px;
  432. }
  433. .editorform input {
  434. width:100px;
  435. height:30px;
  436. }
  437. /* Frontpage banner styling - Ugly AF, but works. */
  438. .fbanner {
  439. width:100%;
  440. padding-bottom:20px;
  441. margin-bottom:10px;
  442. border-bottom:2px solid #2e2e2e;
  443. }
  444. .fbanner * {
  445. /* This is a fix, as we have another boxsizing for general style
  446. We have that due to the fact we want the footer to be stuck at the bottom.
  447. */
  448. box-sizing: content-box;
  449. }
  450. .fbanner a {
  451. color:#FFF;
  452. }
  453. .fbanner-bg {
  454. background-color:#000;
  455. height:328px;
  456. }
  457. .fbanner-c1 {
  458. height:85px;
  459. width:160px;
  460. background:url('../img/fbanner/t1.png');
  461. border-right:4px solid black;
  462. border-bottom:4px solid black;
  463. animation-name:fbannerload;
  464. animation-duration:0.5s;
  465. animation-iteration-count: 1;
  466. -webkit-animation-name:fbannerload;
  467. -webkit-animation-duration:0.5s;
  468. -webkit-animation-iteration-count: 1;
  469. }
  470. .fbanner-c2 {
  471. height:85px;
  472. width:129px;
  473. background:url('../img/fbanner/t2.png');
  474. border-right:4px solid black;
  475. border-bottom:4px solid black;
  476. animation-name:fbannerload;
  477. animation-duration:0.6s;
  478. animation-iteration-count: 1;
  479. -webkit-animation-name:fbannerload;
  480. -webkit-animation-duration:0.6s;
  481. -webkit-animation-iteration-count: 1;
  482. }
  483. .fbanner-c3 {
  484. height:85px;
  485. width:140px;
  486. background:url('../img/fbanner/t3.png');
  487. border-right:4px solid black;
  488. border-bottom:4px solid black;
  489. animation-name:fbannerload;
  490. animation-duration:0.7s;
  491. animation-iteration-count: 1;
  492. -webkit-animation-name:fbannerload;
  493. -webkit-animation-duration:0.7s;
  494. -webkit-animation-iteration-count: 1;
  495. }
  496. .fbanner-c4 {
  497. height:85px;
  498. width:137px;
  499. background:url('../img/fbanner/t4.png');
  500. border-right:4px solid black;
  501. border-bottom:4px solid black;
  502. animation-name:fbannerload;
  503. animation-duration:0.8s;
  504. animation-iteration-count: 1;
  505. -webkit-animation-name:fbannerload;
  506. -webkit-animation-duration:0.8s;
  507. -webkit-animation-iteration-count: 1;
  508. }
  509. .fbanner-c5 {
  510. height:85px;
  511. width:137px;
  512. background:url('../img/fbanner/t5.png');
  513. border-right:4px solid black;
  514. border-bottom:4px solid black;
  515. animation-name:fbannerload;
  516. animation-duration:0.9s;
  517. animation-iteration-count: 1;
  518. -webkit-animation-name:fbannerload;
  519. -webkit-animation-duration:0.9s;
  520. -webkit-animation-iteration-count: 1;
  521. }
  522. .fbanner-c6 {
  523. height:85px;
  524. width:137px;
  525. background:url('../img/fbanner/t6.png');
  526. border-right:4px solid black;
  527. border-bottom:4px solid black;
  528. animation-name:fbannerload;
  529. animation-duration:1.0s;
  530. animation-iteration-count: 1;
  531. -webkit-animation-name:fbannerload;
  532. -webkit-animation-duration:1.0s;
  533. -webkit-animation-iteration-count: 1;
  534. }
  535. .fbanner-c7 {
  536. height:85px;
  537. width:126px;
  538. background:url('../img/fbanner/t7.png');
  539. border-bottom:4px solid black;
  540. animation-name:fbannerload;
  541. animation-duration:1.1s;
  542. animation-iteration-count: 1;
  543. -webkit-animation-name:fbannerload;
  544. -webkit-animation-duration:1.1s;
  545. -webkit-animation-iteration-count: 1;
  546. }
  547. .fbanner-track {
  548. width:391px;
  549. height:260px;
  550. background:url('../img/fbanner/track.png');
  551. margin-top:-20px;
  552. }
  553. .fbanner-cm1 {
  554. height:93px;
  555. width:140px;
  556. background:url('../img/fbanner/m1.png');
  557. margin-left:-94px;
  558. border-right:4px solid black;
  559. animation-name:fbannerload;
  560. animation-duration:0.7s;
  561. animation-iteration-count: 1;
  562. -webkit-animation-name:fbannerload;
  563. -webkit-animation-duration:0.7s;
  564. -webkit-animation-iteration-count: 1;
  565. }
  566. .fbanner-cm2 {
  567. height:93px;
  568. width:137px;
  569. background:url('../img/fbanner/m2.png');
  570. border-right:4px solid black;
  571. animation-name:fbannerload;
  572. animation-duration:0.8s;
  573. animation-iteration-count: 1;
  574. -webkit-animation-name:fbannerload;
  575. -webkit-animation-duration:0.8s;
  576. -webkit-animation-iteration-count: 1;
  577. }
  578. .fbanner-cm3 {
  579. height:93px;
  580. width:137px;
  581. background:url('../img/fbanner/m3.png');
  582. border-right:4px solid black;
  583. animation-name:fbannerload;
  584. animation-duration:0.9s;
  585. animation-iteration-count: 1;
  586. -webkit-animation-name:fbannerload;
  587. -webkit-animation-duration:0.9s;
  588. -webkit-animation-iteration-count: 1;
  589. }
  590. .fbanner-cm4 {
  591. height:93px;
  592. width:137px;
  593. background:url('../img/fbanner/m4.png');
  594. border-right:4px solid black;
  595. animation-name:fbannerload;
  596. animation-duration:1.0s;
  597. animation-iteration-count: 1;
  598. -webkit-animation-name:fbannerload;
  599. -webkit-animation-duration:1.0s;
  600. -webkit-animation-iteration-count: 1;
  601. }
  602. .fbanner-cm5 {
  603. height:93px;
  604. width:126px;
  605. background:url('../img/fbanner/m5.png');
  606. animation-name:fbannerload;
  607. animation-duration:1.1s;
  608. animation-iteration-count: 1;
  609. -webkit-animation-name:fbannerload;
  610. -webkit-animation-duration:1.1s;
  611. -webkit-animation-iteration-count: 1;
  612. }
  613. .fbanner-ad {
  614. width:667px;
  615. height:147px;
  616. background-color:white;
  617. background:url('../img/fbanner/redbox.png') repeat 0 0 !important;
  618. background-position-x: 630px;
  619. background-position-y: 603px;
  620. margin-left:-68px;
  621. color:white;
  622. }
  623. .fbanner-adtext {
  624. color:#0093a1;
  625. padding-left:150px;
  626. }
  627. .fbanner-adtext h1 {
  628. color:#FFF;
  629. font-size:30px;
  630. }
  631. .fbanner-adtext p {
  632. padding-left:12px;
  633. padding-top:3px;
  634. font-weight:bold;
  635. }
  636. .fbanner-order {
  637. width:250px;
  638. height:80px;
  639. margin-left:100px;
  640. margin-top:5px;
  641. padding-top:15px;
  642. line-height:30px;
  643. }
  644. .fbanner-order h1 {
  645. font-size:30px;
  646. font-weight:normal;
  647. }
  648. .fbanner-order p {
  649. font-size:15px;
  650. }
  651. @keyframes fbannerload {
  652. 0% {transform:rotateY(180deg);}
  653. 100% {transform:rotateY(360deg);}
  654. }
  655. @-webkit-keyframes fbannerload {
  656. 0% {-webkit-transform:rotateY(180deg);}
  657. 100% {-webkit-transform:rotateY(360deg);}
  658. }
  659. /* Footer elements */
  660. footer {
  661. background-color:#111111;
  662. width:100%;
  663. height:200px;
  664. color:#c4c4c4;
  665. position: absolute;
  666. right: 0;
  667. bottom: 0;
  668. left: 0;
  669. }
  670. footer h1 {
  671. font-size:15px;
  672. text-transform:uppercase;
  673. }
  674. footer p {
  675. font-size:10px;
  676. }
  677. footer li {
  678. list-style:none;
  679. display:inline-block;
  680. }
  681. .footer_wrap {
  682. width:990px;
  683. margin-left:auto;
  684. margin-right:auto;
  685. }
  686. .footer_logo {
  687. width:40%;
  688. height:150px;
  689. background:url('../img/header.png');
  690. background-repeat:no-repeat;
  691. background-position-x: 25px;
  692. background-position-y: 50px;
  693. float:left;
  694. }
  695. .footer_followus {
  696. width:30%;
  697. float:left;
  698. padding-top:40px;
  699. }
  700. .footer_followus .socialicons {
  701. margin-top:20px;
  702. }
  703. .footer_newsletter {
  704. width:30%;
  705. float:left;
  706. padding-top:40px;
  707. }
  708. .footer_links {
  709. width:100%;
  710. border-top:1px solid #2e2e2e;
  711. font-size:10px;
  712. line-height:30px;
  713. }
  714. .footer_links a {
  715. font-size:10px;
  716. }
  717. .footer_links li a {
  718. border-right:1px solid #292929;
  719. padding-right:10px;
  720. padding-left:5px;
  721. }
  722. .footer_links li:last-of-type a {
  723. border:none;
  724. }
  725. /* United styles */
  726. .seperator {
  727. border-left:1px solid #333;
  728. margin-left:5px;
  729. margin-right:5px;
  730. }
  731. .socialicons img {
  732. width:28px;
  733. height:28px;
  734. margin-right:10px;
  735. }
  736. .border {
  737. border-bottom:2px solid #2e2e2e;
  738. }
  739. .pull_left { float:left; }
  740. .pull_right { float:right; }
  741. .clear { clear:both; }
  742. /* BTN styles from bootstrap */
  743. .btn:hover {
  744. color: #212529;
  745. text-decoration: none;
  746. }
  747. .btn:focus, .btn.focus {
  748. outline: 0;
  749. box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  750. }
  751. .btn.disabled, .btn:disabled {
  752. opacity: 0.65;
  753. }
  754. a.btn.disabled,
  755. fieldset:disabled a.btn {
  756. pointer-events: none;
  757. }
  758. .btn-primary {
  759. color: #fff;
  760. background-color: #007bff;
  761. border-color: #007bff;
  762. }
  763. .btn-primary:hover {
  764. color: #fff;
  765. background-color: #0069d9;
  766. border-color: #0062cc;
  767. }
  768. .btn-primary:focus, .btn-primary.focus {
  769. box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
  770. }
  771. .btn-primary.disabled, .btn-primary:disabled {
  772. color: #fff;
  773. background-color: #007bff;
  774. border-color: #007bff;
  775. }
  776. .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
  777. .show > .btn-primary.dropdown-toggle {
  778. color: #fff;
  779. background-color: #0062cc;
  780. border-color: #005cbf;
  781. }
  782. .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
  783. .show > .btn-primary.dropdown-toggle:focus {
  784. box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
  785. }
  786. .btn-secondary {
  787. color: #fff;
  788. background-color: #6c757d;
  789. border-color: #6c757d;
  790. }
  791. .btn-secondary:hover {
  792. color: #fff;
  793. background-color: #5a6268;
  794. border-color: #545b62;
  795. }
  796. .btn-secondary:focus, .btn-secondary.focus {
  797. box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5);
  798. }
  799. .btn-secondary.disabled, .btn-secondary:disabled {
  800. color: #fff;
  801. background-color: #6c757d;
  802. border-color: #6c757d;
  803. }
  804. .btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
  805. .show > .btn-secondary.dropdown-toggle {
  806. color: #fff;
  807. background-color: #545b62;
  808. border-color: #4e555b;
  809. }
  810. .btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus,
  811. .show > .btn-secondary.dropdown-toggle:focus {
  812. box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5);
  813. }
  814. .btn-success {
  815. color: #fff;
  816. background-color: #28a745;
  817. border-color: #28a745;
  818. }
  819. .btn-success:hover {
  820. color: #fff;
  821. background-color: #218838;
  822. border-color: #1e7e34;
  823. }
  824. .btn-success:focus, .btn-success.focus {
  825. box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
  826. }
  827. .btn-success.disabled, .btn-success:disabled {
  828. color: #fff;
  829. background-color: #28a745;
  830. border-color: #28a745;
  831. }
  832. .btn-success:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled).active,
  833. .show > .btn-success.dropdown-toggle {
  834. color: #fff;
  835. background-color: #1e7e34;
  836. border-color: #1c7430;
  837. }
  838. .btn-success:not(:disabled):not(.disabled):active:focus, .btn-success:not(:disabled):not(.disabled).active:focus,
  839. .show > .btn-success.dropdown-toggle:focus {
  840. box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
  841. }
  842. .btn-info {
  843. color: #fff;
  844. background-color: #17a2b8;
  845. border-color: #17a2b8;
  846. }
  847. .btn-info:hover {
  848. color: #fff;
  849. background-color: #138496;
  850. border-color: #117a8b;
  851. }
  852. .btn-info:focus, .btn-info.focus {
  853. box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
  854. }
  855. .btn-info.disabled, .btn-info:disabled {
  856. color: #fff;
  857. background-color: #17a2b8;
  858. border-color: #17a2b8;
  859. }
  860. .btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active,
  861. .show > .btn-info.dropdown-toggle {
  862. color: #fff;
  863. background-color: #117a8b;
  864. border-color: #10707f;
  865. }
  866. .btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus,
  867. .show > .btn-info.dropdown-toggle:focus {
  868. box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
  869. }
  870. .btn-warning {
  871. color: #212529;
  872. background-color: #ffc107;
  873. border-color: #ffc107;
  874. }
  875. .btn-warning:hover {
  876. color: #212529;
  877. background-color: #e0a800;
  878. border-color: #d39e00;
  879. }
  880. .btn-warning:focus, .btn-warning.focus {
  881. box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5);
  882. }
  883. .btn-warning.disabled, .btn-warning:disabled {
  884. color: #212529;
  885. background-color: #ffc107;
  886. border-color: #ffc107;
  887. }
  888. .btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active,
  889. .show > .btn-warning.dropdown-toggle {
  890. color: #212529;
  891. background-color: #d39e00;
  892. border-color: #c69500;
  893. }
  894. .btn-warning:not(:disabled):not(.disabled):active:focus, .btn-warning:not(:disabled):not(.disabled).active:focus,
  895. .show > .btn-warning.dropdown-toggle:focus {
  896. box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5);
  897. }
  898. .btn-danger {
  899. color: #fff;
  900. background-color: #dc3545;
  901. border-color: #dc3545;
  902. }
  903. .btn-danger:hover {
  904. color: #fff;
  905. background-color: #c82333;
  906. border-color: #bd2130;
  907. }
  908. .btn-danger:focus, .btn-danger.focus {
  909. box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
  910. }
  911. .btn-danger.disabled, .btn-danger:disabled {
  912. color: #fff;
  913. background-color: #dc3545;
  914. border-color: #dc3545;
  915. }
  916. .btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active,
  917. .show > .btn-danger.dropdown-toggle {
  918. color: #fff;
  919. background-color: #bd2130;
  920. border-color: #b21f2d;
  921. }
  922. .btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus,
  923. .show > .btn-danger.dropdown-toggle:focus {
  924. box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
  925. }
  926. .btn-light {
  927. color: #212529;
  928. background-color: #f8f9fa;
  929. border-color: #f8f9fa;
  930. }
  931. .btn-light:hover {
  932. color: #212529;
  933. background-color: #e2e6ea;
  934. border-color: #dae0e5;
  935. }
  936. .btn-light:focus, .btn-light.focus {
  937. box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
  938. }
  939. .btn-light.disabled, .btn-light:disabled {
  940. color: #212529;
  941. background-color: #f8f9fa;
  942. border-color: #f8f9fa;
  943. }
  944. .btn-light:not(:disabled):not(.disabled):active, .btn-light:not(:disabled):not(.disabled).active,
  945. .show > .btn-light.dropdown-toggle {
  946. color: #212529;
  947. background-color: #dae0e5;
  948. border-color: #d3d9df;
  949. }
  950. .btn-light:not(:disabled):not(.disabled):active:focus, .btn-light:not(:disabled):not(.disabled).active:focus,
  951. .show > .btn-light.dropdown-toggle:focus {
  952. box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
  953. }
  954. .btn-dark {
  955. color: #fff;
  956. background-color: #343a40;
  957. border-color: #343a40;
  958. }
  959. .btn-dark:hover {
  960. color: #fff;
  961. background-color: #23272b;
  962. border-color: #1d2124;
  963. }
  964. .btn-dark:focus, .btn-dark.focus {
  965. box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5);
  966. }
  967. .btn-dark.disabled, .btn-dark:disabled {
  968. color: #fff;
  969. background-color: #343a40;
  970. border-color: #343a40;
  971. }
  972. .btn-dark:not(:disabled):not(.disabled):active, .btn-dark:not(:disabled):not(.disabled).active,
  973. .show > .btn-dark.dropdown-toggle {
  974. color: #fff;
  975. background-color: #1d2124;
  976. border-color: #171a1d;
  977. }
  978. .btn-dark:not(:disabled):not(.disabled):active:focus, .btn-dark:not(:disabled):not(.disabled).active:focus,
  979. .show > .btn-dark.dropdown-toggle:focus {
  980. box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5);
  981. }
  982. .btn-outline-primary {
  983. color: #007bff;
  984. border-color: #007bff;
  985. }
  986. .btn-outline-primary:hover {
  987. color: #fff;
  988. background-color: #007bff;
  989. border-color: #007bff;
  990. }
  991. .btn-outline-primary:focus, .btn-outline-primary.focus {
  992. box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
  993. }
  994. .btn-outline-primary.disabled, .btn-outline-primary:disabled {
  995. color: #007bff;
  996. background-color: transparent;
  997. }
  998. .btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active,
  999. .show > .btn-outline-primary.dropdown-toggle {
  1000. color: #fff;
  1001. background-color: #007bff;
  1002. border-color: #007bff;
  1003. }
  1004. .btn-outline-primary:not(:disabled):not(.disabled):active:focus, .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
  1005. .show > .btn-outline-primary.dropdown-toggle:focus {
  1006. box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
  1007. }
  1008. .btn-outline-secondary {
  1009. color: #6c757d;
  1010. border-color: #6c757d;
  1011. }
  1012. .btn-outline-secondary:hover {
  1013. color: #fff;
  1014. background-color: #6c757d;
  1015. border-color: #6c757d;
  1016. }
  1017. .btn-outline-secondary:focus, .btn-outline-secondary.focus {
  1018. box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
  1019. }
  1020. .btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
  1021. color: #6c757d;
  1022. background-color: transparent;
  1023. }
  1024. .btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active,
  1025. .show > .btn-outline-secondary.dropdown-toggle {
  1026. color: #fff;
  1027. background-color: #6c757d;
  1028. border-color: #6c757d;
  1029. }
  1030. .btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
  1031. .show > .btn-outline-secondary.dropdown-toggle:focus {
  1032. box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
  1033. }
  1034. .btn-outline-success {
  1035. color: #28a745;
  1036. border-color: #28a745;
  1037. }
  1038. .btn-outline-success:hover {
  1039. color: #fff;
  1040. background-color: #28a745;
  1041. border-color: #28a745;
  1042. }
  1043. .btn-outline-success:focus, .btn-outline-success.focus {
  1044. box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
  1045. }
  1046. .btn-outline-success.disabled, .btn-outline-success:disabled {
  1047. color: #28a745;
  1048. background-color: transparent;
  1049. }
  1050. .btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active,
  1051. .show > .btn-outline-success.dropdown-toggle {
  1052. color: #fff;
  1053. background-color: #28a745;
  1054. border-color: #28a745;
  1055. }
  1056. .btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus,
  1057. .show > .btn-outline-success.dropdown-toggle:focus {
  1058. box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
  1059. }
  1060. .btn-outline-info {
  1061. color: #17a2b8;
  1062. border-color: #17a2b8;
  1063. }
  1064. .btn-outline-info:hover {
  1065. color: #fff;
  1066. background-color: #17a2b8;
  1067. border-color: #17a2b8;
  1068. }
  1069. .btn-outline-info:focus, .btn-outline-info.focus {
  1070. box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
  1071. }
  1072. .btn-outline-info.disabled, .btn-outline-info:disabled {
  1073. color: #17a2b8;
  1074. background-color: transparent;
  1075. }
  1076. .btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active,
  1077. .show > .btn-outline-info.dropdown-toggle {
  1078. color: #fff;
  1079. background-color: #17a2b8;
  1080. border-color: #17a2b8;
  1081. }
  1082. .btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus,
  1083. .show > .btn-outline-info.dropdown-toggle:focus {
  1084. box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
  1085. }
  1086. .btn-outline-warning {
  1087. color: #ffc107;
  1088. border-color: #ffc107;
  1089. }
  1090. .btn-outline-warning:hover {
  1091. color: #212529;
  1092. background-color: #ffc107;
  1093. border-color: #ffc107;
  1094. }
  1095. .btn-outline-warning:focus, .btn-outline-warning.focus {
  1096. box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
  1097. }
  1098. .btn-outline-warning.disabled, .btn-outline-warning:disabled {
  1099. color: #ffc107;
  1100. background-color: transparent;
  1101. }
  1102. .btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active,
  1103. .show > .btn-outline-warning.dropdown-toggle {
  1104. color: #212529;
  1105. background-color: #ffc107;
  1106. border-color: #ffc107;
  1107. }
  1108. .btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus,
  1109. .show > .btn-outline-warning.dropdown-toggle:focus {
  1110. box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
  1111. }
  1112. .btn-outline-danger {
  1113. color: #dc3545;
  1114. border-color: #dc3545;
  1115. }
  1116. .btn-outline-danger:hover {
  1117. color: #fff;
  1118. background-color: #dc3545;
  1119. border-color: #dc3545;
  1120. }
  1121. .btn-outline-danger:focus, .btn-outline-danger.focus {
  1122. box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
  1123. }
  1124. .btn-outline-danger.disabled, .btn-outline-danger:disabled {
  1125. color: #dc3545;
  1126. background-color: transparent;
  1127. }
  1128. .btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active,
  1129. .show > .btn-outline-danger.dropdown-toggle {
  1130. color: #fff;
  1131. background-color: #dc3545;
  1132. border-color: #dc3545;
  1133. }
  1134. .btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus,
  1135. .show > .btn-outline-danger.dropdown-toggle:focus {
  1136. box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
  1137. }
  1138. .btn-outline-light {
  1139. color: #f8f9fa;
  1140. border-color: #f8f9fa;
  1141. }
  1142. .btn-outline-light:hover {
  1143. color: #212529;
  1144. background-color: #f8f9fa;
  1145. border-color: #f8f9fa;
  1146. }
  1147. .btn-outline-light:focus, .btn-outline-light.focus {
  1148. box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
  1149. }
  1150. .btn-outline-light.disabled, .btn-outline-light:disabled {
  1151. color: #f8f9fa;
  1152. background-color: transparent;
  1153. }
  1154. .btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active,
  1155. .show > .btn-outline-light.dropdown-toggle {
  1156. color: #212529;
  1157. background-color: #f8f9fa;
  1158. border-color: #f8f9fa;
  1159. }
  1160. .btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus,
  1161. .show > .btn-outline-light.dropdown-toggle:focus {
  1162. box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
  1163. }
  1164. .btn-outline-dark {
  1165. color: #343a40;
  1166. border-color: #343a40;
  1167. }
  1168. .btn-outline-dark:hover {
  1169. color: #fff;
  1170. background-color: #343a40;
  1171. border-color: #343a40;
  1172. }
  1173. .btn-outline-dark:focus, .btn-outline-dark.focus {
  1174. box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
  1175. }
  1176. .btn-outline-dark.disabled, .btn-outline-dark:disabled {
  1177. color: #343a40;
  1178. background-color: transparent;
  1179. }
  1180. .btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active,
  1181. .show > .btn-outline-dark.dropdown-toggle {
  1182. color: #fff;
  1183. background-color: #343a40;
  1184. border-color: #343a40;
  1185. }
  1186. .btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus,
  1187. .show > .btn-outline-dark.dropdown-toggle:focus {
  1188. box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
  1189. }
  1190. .btn-link {
  1191. font-weight: 400;
  1192. color: #007bff;
  1193. text-decoration: none;
  1194. }
  1195. .btn-link:hover {
  1196. color: #0056b3;
  1197. text-decoration: underline;
  1198. }
  1199. .btn-link:focus, .btn-link.focus {
  1200. text-decoration: underline;
  1201. box-shadow: none;
  1202. }
  1203. .btn-link:disabled, .btn-link.disabled {
  1204. color: #6c757d;
  1205. pointer-events: none;
  1206. }
  1207. .btn-lg, .btn-group-lg > .btn {
  1208. padding: 0.5rem 1rem;
  1209. font-size: 1.25rem;
  1210. line-height: 1.5;
  1211. border-radius: 0.3rem;
  1212. }
  1213. .btn-sm, .btn-group-sm > .btn {
  1214. padding: 0.25rem 0.5rem;
  1215. font-size: 0.875rem;
  1216. line-height: 1.5;
  1217. border-radius: 0.2rem;
  1218. }
  1219. .btn-block {
  1220. display: block;
  1221. width: 100%;
  1222. }
  1223. .btn-block + .btn-block {
  1224. margin-top: 0.5rem;
  1225. }
  1226. input[type="submit"].btn-block,
  1227. input[type="reset"].btn-block,
  1228. input[type="button"].btn-block {
  1229. width: 100%;
  1230. }
  1231. button {
  1232. border-radius: 0;
  1233. }
  1234. button:focus {
  1235. outline: 1px dotted;
  1236. outline: 5px auto -webkit-focus-ring-color;
  1237. }