dark_theme.scss 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999
  1. $mainBgColor : #111;
  2. $secondBgColor : #1c1c1c;
  3. $mainTextColor : silver;
  4. $secondTextColor : bisque;
  5. $accentBase : #197474;
  6. $accentBase2 : steelblue;
  7. $accentBase-dark : #4682b485;
  8. $active : rgba(196, 45, 45, 0.95);
  9. $link : #193c9b;
  10. $btnColor : #122940;
  11. $btnShadow : #2b2b2b;
  12. $userCardShadow : #151124;
  13. $RepoFilesBg : #0a294878;
  14. $codeBg : #111;
  15. $codeColor : #9ebdb1;
  16. $codeSelected : #001;
  17. $codeColorSelected : #8f1;
  18. $codeDifOld : #6f3a3a;
  19. $privRepoBg : #f9f8f8;
  20. /**** Syntax Highlighting ****/
  21. $comment : #a2a2a26e;
  22. $selector : #0086b3;
  23. $doctag : #90a959;
  24. $attribute : #1c7100;
  25. $hljsTitle : #d5bd5b;
  26. $meta : #444444;
  27. body:not(.full-width) {
  28. background-color: $mainBgColor;
  29. background-image: url("/img/grad1.png");
  30. background-size: contain;
  31. background-attachment: fixed;
  32. color: $secondTextColor;
  33. }
  34. .following.bar.light {
  35. background-color: $secondBgColor !important;
  36. border-bottom: 1px solid $mainBgColor;
  37. color: $secondTextColor !important;
  38. position: fixed;
  39. top: 0;
  40. }
  41. .ui.menu .dropdown.item .menu {
  42. background: #1d1d1d;
  43. }
  44. @media (max-width: 1199px) {
  45. .ui.container:not(.fluid) {
  46. width: 85% !important;
  47. }
  48. }
  49. @media (min-width: 1200px) {
  50. .ui.container:not(.fluid) {
  51. width: 75% !important;
  52. }
  53. }
  54. .tabular .item {
  55. /* Repo tabs menu */
  56. color: $accentBase !important;
  57. }
  58. h1,
  59. h2,
  60. h3,
  61. h4,
  62. h5,
  63. .ui.header,
  64. .ui.menu,
  65. .ui.input input,
  66. .ui.button:not(.label) {
  67. color: $accentBase;
  68. }
  69. .ui.info.segment.top {
  70. background-color: #1d1d1d!important;
  71. }
  72. #file-content h1,
  73. #file-content h2,
  74. #file-content h3,
  75. #file-content h4,
  76. #file-content h5 {
  77. color: $mainTextColor;
  78. }
  79. pre.raw,
  80. code.raw {
  81. background-color: $secondBgColor;
  82. border: 1px solid $mainBgColor;
  83. }
  84. .following.bar {
  85. color: $accentBase !important;
  86. }
  87. .overflow.menu .items .item {
  88. color: $mainTextColor;
  89. }
  90. .following.bar .top.menu a.item.brand {
  91. color: $accentBase !important;
  92. }
  93. .following.bar .top.menu a.item:hover,
  94. .following.bar .top.menu .dropdown.item:hover,
  95. .following.bar .top.menu .dropdown.item.active {
  96. color: $active !important;
  97. }
  98. .following.bar .top.menu a.item:hover {
  99. color: $active !important;
  100. }
  101. .following.bar .top.menu .menu {
  102. color: $accentBase !important;
  103. }
  104. .following.bar .head.link.item {
  105. color: $accentBase !important;
  106. }
  107. .home {
  108. padding-top: 80px;
  109. }
  110. .ui.left {
  111. padding-left: 5px;
  112. }
  113. .ui.right {
  114. padding-right: 5px;
  115. }
  116. .ui .header>i+.content {
  117. background-color: $mainBgColor !important;
  118. }
  119. footer {
  120. color: $mainTextColor !important;
  121. background-color: $mainBgColor;
  122. }
  123. .markdown:not(code) {
  124. background-color: $secondBgColor;
  125. color: $mainTextColor;
  126. }
  127. .markdown:not(code) blockquote {
  128. border-left: 4px solid $secondBgColor;
  129. }
  130. .markdown:not(code) table th,
  131. .markdown:not(code) table td {
  132. border: 0px solid $accentBase !important;
  133. background-color: $codeBg;
  134. color:$accentBase;
  135. }
  136. .markdown:not(code) span.frame>span {
  137. border: 1px solid $mainBgColor;
  138. }
  139. .markdown:not(code) pre code,
  140. .markdown:not(code) pre tt {
  141. color: $mainTextColor;
  142. }
  143. .markdown:not(code) .highlight pre,
  144. .markdown:not(code) pre {
  145. background-color: $secondBgColor;
  146. }
  147. .home .stackable {
  148. padding-top: 40px;
  149. }
  150. .ui.attached.header {
  151. background: $secondBgColor !important;
  152. color: $accentBase !important;
  153. border: none !important;
  154. }
  155. .repository .header-wrapper {
  156. color: $accentBase !important;
  157. background-color: transparent;
  158. padding-top: 80px;
  159. }
  160. .repository {
  161. padding-top: 80px;
  162. }
  163. .repository #clone-panel {
  164. width: 30vw !important;
  165. }
  166. .repository #clone-panel input {
  167. max-width: 100%;
  168. background-color: $secondBgColor;
  169. }
  170. .repository.file.list #git-stats {
  171. background-color: transparent;
  172. }
  173. .repository.file.list #file-content .view-raw {
  174. border: 0 !important;
  175. }
  176. .repository.file.list #file-content .code-view * {
  177. font-size: 14px;
  178. line-height: 20px!important;
  179. }
  180. .repository.file.list #file-content .code-view .lines-num span {
  181. line-height: 20px !important;
  182. }
  183. .repository.file.list #file-content .code-view table {
  184. border: 0 !important;
  185. }
  186. .repository.file.list #file-content .code-view .lines-num {
  187. background-color: $secondBgColor !important;
  188. line-height :20px !important;
  189. font-size: 12px;
  190. }
  191. .repository.file.list #file-content .code-view .lines-num pre li,
  192. .repository.file.list #file-content .code-view .lines-code pre li,
  193. .repository.file.list #file-content .code-view .lines-num ol li,
  194. .repository.file.list #file-content .code-view .lines-code ol li,
  195. .repository.file.list #file-content .code-view .lines-num .hljs li,
  196. .repository.file.list #file-content .code-view .lines-code .hljs li {
  197. font-size: 14px;
  198. }
  199. .repository.file.list #file-content .code-view .lines-num pre li.active,
  200. .repository.file.list #file-content .code-view .lines-code pre li.active,
  201. .repository.file.list #file-content .code-view .lines-num ol li.active,
  202. .repository.file.list #file-content .code-view .lines-code ol li.active,
  203. .repository.file.list #file-content .code-view .lines-num .hljs li.active,
  204. .repository.file.list #file-content .code-view .lines-code .hljs li.active,
  205. .hljs-meta .hljs-attribute .hljs-name .hljs-tag .hljs-string .hljs-doctag .hljs-subst .hljs-selector-tag .hljs-keyword .hljs-quote .hljs-comment {
  206. background: $codeSelected;
  207. color: $codeColorSelected !important;
  208. }
  209. .repository .diff-file-box .file-body.file-code .lines-num {
  210. background-color: $secondBgColor !important;
  211. }
  212. .repository .diff-file-box .code-diff tbody tr.del-code td {
  213. background-color: $codeDifOld !important;
  214. border-color: #000 !important;
  215. color: #fff !important;
  216. }
  217. .repository .diff-file-box .code-diff tbody tr.add-code td {
  218. background-color: #467b60 !important;
  219. border-color: #c1e9c1 !important;
  220. color: #fff !important;
  221. }
  222. .repository .diff-file-box .code-diff tbody tr.del-code td.add-code pre {
  223. background-color: #4c296a !important;
  224. color: #fff !important;
  225. }
  226. .repository .diff-file-box .code-diff tbody tr.del-code td.add-code {
  227. background-color: #4c296a !important;
  228. color: #fff !important;
  229. }
  230. .repository.file.editor .commit-form-wrapper .commit-form {
  231. border: 1px solid $mainBgColor;
  232. }
  233. .commit-form > .field textarea {
  234. background-color: $mainBgColor !important;
  235. color: $mainTextColor;
  236. caret-color: $secondTextColor;
  237. }
  238. .commit-form > .field textarea:focus {
  239. color: $mainTextColor;
  240. border-color: rgba($secondTextColor, .25);
  241. }
  242. .repository .diff-detail-box ol li {
  243. border-bottom: 1px dashed $mainBgColor;
  244. }
  245. .repository .diff-file-box .file-body.file-code .lines-num-old {
  246. border-right: 1px solid $mainBgColor;
  247. }
  248. .repository .head .mega-octicon {
  249. color: $accentBase;
  250. }
  251. .mega-octicon.octicon-repo {
  252. color: $accentBase2 !important;
  253. }
  254. #repo-clone-url {
  255. color: $accentBase !important;
  256. }
  257. #repo-clone-url::-moz-selection {
  258. color: $active !important;
  259. background-color: $secondBgColor;
  260. }
  261. #repo-clone-url::selection {
  262. color: $active !important;
  263. background-color: $secondBgColor;
  264. }
  265. .repository.release #release-list {
  266. border-top: 1px solid $mainBgColor;
  267. }
  268. .repository.release #release-list>li .detail {
  269. border-left: 1px solid $mainBgColor;
  270. }
  271. .repository.forks .list .item {
  272. border-bottom: 1px solid $mainBgColor;
  273. }
  274. .repository.settings.collaboration .collaborator.list>.item:not(:last-child) {
  275. border-bottom: 1px solid $mainBgColor;
  276. }
  277. #search-user-box .results .item {
  278. border-bottom: 1px solid $mainBgColor;
  279. }
  280. .ui.vertical.menu .header.item {
  281. background: $secondBgColor;
  282. color: $mainTextColor;
  283. text-align: center;
  284. padding-left: 0;
  285. }
  286. .organization {
  287. padding-top: 80px;
  288. }
  289. .organization.profile #org-avatar {
  290. width: 90px;
  291. height: 70px;
  292. margin-right: 5px;
  293. }
  294. .organization.teams .repositories .item:not(:last-child),
  295. .organization.teams .members .item:not(:last-child) {
  296. border-bottom: 1px solid $mainBgColor;
  297. }
  298. .user:not(.icon) {
  299. padding-top: 80px;
  300. }
  301. .ui.card {
  302. background-color: transparent !important;
  303. color: $mainTextColor !important;
  304. border: 0 !important;
  305. }
  306. .user.profile .ui.card .extra.content ul li:not(:last-child) {
  307. border-bottom: 1px solid $mainBgColor;
  308. }
  309. .dashboard {
  310. padding-top: 80px;
  311. }
  312. .feeds .list ul li:not(:last-child) {
  313. border-bottom: none;
  314. }
  315. .feeds .list ul li a .octicon {
  316. color: $accentBase2;
  317. }
  318. .explore {
  319. padding-top: 80px;
  320. }
  321. .ui.repository.list .item .ui.header {
  322. color: $mainTextColor;
  323. }
  324. .ui.repository.list .item .ui.header .name {
  325. color: $mainTextColor;
  326. }
  327. .ui.repository.list .item .ui.header .name:hover {
  328. color: $active;
  329. }
  330. .ui.repository.list .item:not(:first-child) {
  331. border-top: none;
  332. }
  333. .ui.header .sub.header {
  334. color: $accentBase !important;
  335. }
  336. .ui.header {
  337. color: $accentBase !important;
  338. }
  339. .ui.form .inline.field>label,
  340. .ui.form .inline.field>p,
  341. .ui.form .inline.fields .field>label,
  342. .ui.form .inline.fields .field>p,
  343. .ui.form .inline.fields>label {
  344. color: $mainTextColor;
  345. }
  346. .secondary {
  347. background-color: transparent !important;
  348. color: $accentBase !important;
  349. }
  350. .secondary .item {
  351. color: $mainTextColor !important;
  352. }
  353. .secondary .item:hover {
  354. color: $mainTextColor;
  355. }
  356. .repository.file.list #file-content .code-view .lines-num pre,
  357. .repository.file.list #file-content .code-view .lines-code pre,
  358. .repository.file.list #file-content .code-view .lines-num ol,
  359. .repository.file.list #file-content .code-view .lines-code ol,
  360. .repository.file.list #file-content .code-view .lines-num .hljs,
  361. .repository.file.list #file-content .code-view .lines-code .hljs {
  362. background-color: $codeBg !important;
  363. color: $codeColor;
  364. margin: 0;
  365. padding: 0 !important;
  366. border: 0 !important;
  367. }
  368. .feeds .news>.ui.grid {
  369. margin-left: auto;
  370. margin-right: auto;
  371. }
  372. #ActionButtons {
  373. color: $mainTextColor !important;
  374. background-color: inherit !important;
  375. border: 0.5px solid $mainBgColor;
  376. }
  377. .CodeMirror-code {
  378. background-color: $codeBg !important;
  379. color: $codeColor !important;
  380. }
  381. .CodeMirror-gutters {
  382. background-color: $codeBg;
  383. color: $accentBase;
  384. }
  385. .CodeMirror {
  386. /* file edditor */
  387. background: $codeBg;
  388. color: $codeColor !important;
  389. }
  390. #repo-desc {
  391. text-align: center;
  392. font-weight: 500;
  393. color: $mainTextColor;
  394. }
  395. #repo-clone-ssh {
  396. color: $mainTextColor;
  397. }
  398. #repo-clone-https {
  399. color: $mainTextColor;
  400. }
  401. #danger_zone_edited {
  402. background: $secondBgColor;
  403. border-color: $mainBgColor !important;
  404. }
  405. #basic_sett,
  406. #adv_sett,
  407. #adv_sett_form,
  408. #admin_sec_panel,
  409. #admin_small_panel {
  410. background: $secondBgColor;
  411. border-color: $mainBgColor !important;
  412. }
  413. #danger_zone_edited_header {
  414. background: $accentBase !important;
  415. }
  416. #commits-table-head tr th {
  417. color: $mainTextColor !important;
  418. }
  419. .ui.table thead th {
  420. background: $secondBgColor;
  421. color: $mainTextColor;
  422. }
  423. .ui.table thead tr:hover th {
  424. background: $mainBgColor;
  425. }
  426. .ui.table tr td {
  427. border-top: none;
  428. }
  429. .repository.file.list #repo-files-table tr:hover {
  430. background-color: $mainBgColor;
  431. }
  432. tr:hover a {
  433. color: $active;
  434. }
  435. #repo-files-table tr:hover {
  436. color: $active;
  437. }
  438. #repo-files-table tr:hover span {
  439. /* repo time last changed */
  440. color: $active !important;
  441. }
  442. .feeds .list ul li.private {
  443. background-color: $secondBgColor;
  444. }
  445. .feeds .list ul {
  446. background-color: $mainBgColor;
  447. background-image: url("/img/grad1.png");
  448. background-size: contain;
  449. background-attachment: fixed;
  450. background-blend-mode: difference;
  451. }
  452. .repository .diff-file-box .code-diff tbody tr.tag-code td {
  453. background-color: $secondBgColor !important;
  454. }
  455. .repository .diff-file-box .header {
  456. background-color: $accentBase;
  457. }
  458. /* File Editor */
  459. .editor-toolbar a {
  460. color: $link !important;
  461. }
  462. .editor-toolbar a.active,
  463. .editor-toolbar a:hover {
  464. background: $btnShadow;
  465. color: $mainTextColor;
  466. border-color: $btnShadow;
  467. }
  468. .CodeMirror {
  469. border: 1px solid $mainBgColor;
  470. }
  471. .CodeMirror-gutters {
  472. background-color: $secondBgColor;
  473. border-right: none;
  474. border-left: none;
  475. }
  476. /*######################### Syntax Higlight Theme #####################*/
  477. .hljs-comment,
  478. .hljs-quote {
  479. color: $comment !important;
  480. font-weight: 400;
  481. }
  482. .hljs-keyword,
  483. .hljs-selector-tag,
  484. .hljs-subst {
  485. color: $selector !important;
  486. }
  487. .hljs-string,
  488. .hljs-doctag {
  489. color: $doctag !important;
  490. }
  491. .hljs-tag,
  492. .hljs-name,
  493. .hljs-attribute {
  494. color: $attribute !important;
  495. }
  496. .hljs-meta {
  497. color: $meta !important;
  498. }
  499. .hljs-built_in,
  500. .hljs-builtin-name {
  501. color: $selector !important;
  502. }
  503. .hljs-title,
  504. .hljs-section,
  505. .hljs-selector-id {
  506. color: $hljsTitle !important;
  507. }
  508. /* Editor Highlight Theme */
  509. .cm-s-default .cm-comment {
  510. color: $comment !important;
  511. font-weight: 400;
  512. }
  513. .cm-s-default .cm-def {
  514. color: $codeColor;
  515. }
  516. .cm-s-default .cm-builtin {
  517. color: $selector !important;
  518. }
  519. /* semantic */
  520. .ui.attached.segment {
  521. border: 0;
  522. }
  523. .ui.segment {
  524. background: $secondBgColor;
  525. }
  526. .ui.buttons>.ui.dropdown:last-child .menu,
  527. .ui.menu .right.dropdown.item .menu,
  528. .ui.menu .right.menu .dropdown:last-child .menu {
  529. background-color: $secondBgColor !important;
  530. }
  531. .ui.menu .ui.dropdown .menu>.item {
  532. color: $accentBase !important;
  533. background-color: $secondBgColor !important;
  534. }
  535. .ui.dropdown .menu>.item:hover {
  536. color: $active;
  537. }
  538. .ui.menu {
  539. background: $secondBgColor;
  540. }
  541. .ui.menu .ui.dropdown .menu>.selected.item {
  542. color: $active !important;
  543. }
  544. .ui.menu .ui.dropdown .menu>.active.item {
  545. color: $active !important;
  546. }
  547. .ui.selection.dropdown .menu>.item {
  548. border-top: none;
  549. }
  550. .ui.checkbox input:focus~label {
  551. color: $mainTextColor;
  552. }
  553. .ui.checkbox.checked label:focus {
  554. color: $mainTextColor;
  555. }
  556. .ui.checkbox label {
  557. color: $mainTextColor;
  558. }
  559. .ui.checkbox.checked label {
  560. color: $mainTextColor;
  561. }
  562. .ui.checkbox label.focus {
  563. color: $mainTextColor;
  564. }
  565. .ui.checkbox.checked label.focus {
  566. color: $mainTextColor;
  567. }
  568. .ui.checkbox label:hover {
  569. color: $mainTextColor;
  570. }
  571. .ui.checkbox.checked label:hover {
  572. color: $mainTextColor;
  573. }
  574. .ui.checkbox label,
  575. .ui.checkbox+label {
  576. color: $mainTextColor;
  577. }
  578. .ui.checkbox label:hover,
  579. .ui.checkbox+label:hover {
  580. color: $mainTextColor;
  581. }
  582. .ui.checkbox.checked label,
  583. .ui.checkbox.checked+label {
  584. color: $mainTextColor;
  585. }
  586. .ui.checkbox.checked label:hover,
  587. .ui.checkbox.cheked+label:hover {
  588. color: $mainTextColor;
  589. }
  590. .ui.link.menu .item,
  591. .ui.menu .dropdown.item,
  592. .ui.menu .link.item,
  593. .ui.menu a.item {
  594. color: $mainTextColor;
  595. }
  596. .ui.link.menu .item:hover,
  597. .ui.menu .dropdown.item:hover,
  598. .ui.menu .link.item:hover,
  599. .ui.menu a.item:hover {
  600. color: $active;
  601. }
  602. .ui .dropdown .menu {
  603. background-color: $secondBgColor;
  604. }
  605. .ui .dropdown .menu a:hover {
  606. color: $accentBase !important;
  607. }
  608. .ui.basic.button,
  609. .ui.basic.buttons .button {
  610. background: $accentBase !important;
  611. color: $mainTextColor;
  612. }
  613. .ui.vertical.menu {
  614. background: $secondBgColor;
  615. color: $accentBase;
  616. }
  617. .ui.dropdown .menu .selected.item,
  618. .ui.dropdown.selected {
  619. background: $secondBgColor;
  620. color: $mainTextColor;
  621. }
  622. .ui.vertical.menu .item {
  623. color: $mainTextColor;
  624. }
  625. .ui.menu .item {
  626. font-weight: 600;
  627. color: $mainTextColor;
  628. }
  629. .ui.menu .item .active {
  630. font-weight: 600;
  631. }
  632. .ui.menu .item>.input input {
  633. background-color: $mainBgColor;
  634. }
  635. .ui.menu .item:hover,
  636. .ui.vertical.menu .item:hover {
  637. color: $mainTextColor;
  638. }
  639. .ui.vertical.menu .active.item {
  640. background: $link;
  641. }
  642. .ui.menu .active.item {
  643. font-weight: 600;
  644. }
  645. .ui.menu .active.item:hover,
  646. .ui.vertical.menu .active.item:hover {
  647. color: inherit;
  648. }
  649. .ui.dropdown .menu>.item {
  650. color: $mainTextColor;
  651. }
  652. .ui.menu.three.item .item {
  653. background-color: $secondBgColor;
  654. color: $accentBase2;
  655. }
  656. .ui.card>.extra a:not(.ui),
  657. .ui.cards>.card>.extra a:not(.ui) {
  658. color: $mainTextColor;
  659. }
  660. .ui.table {
  661. background-color: $RepoFilesBg;
  662. background-image: url("/img/grad1.png");
  663. background-size: contain;
  664. background-attachment: fixed;
  665. background-blend-mode: color-burn;
  666. color: $mainTextColor;
  667. }
  668. .ui.button {
  669. background: $btnColor !important;
  670. color: $mainTextColor !important;
  671. }
  672. .ui.button:hover {
  673. color: $active;
  674. }
  675. .ui.dropdown .menu>.header {
  676. color: $mainTextColor;
  677. }
  678. .ui.menu .ui.dropdown .menu>.item:hover {
  679. color: $active !important;
  680. background-color: $secondBgColor !important;
  681. }
  682. .ui.dropdown .menu {
  683. border: 1px solid $secondBgColor;
  684. }
  685. .ui.dropdown .menu>.input:not(.transparent) input {
  686. background-color: $mainBgColor;
  687. color: $secondTextColor;
  688. }
  689. .ui.form input:not([type]),
  690. .ui.form input[type="date"],
  691. .ui.form input[type="datetime-local"],
  692. .ui.form input[type="email"],
  693. .ui.form input[type="file"],
  694. .ui.form input[type="number"],
  695. .ui.form input[type="password"],
  696. .ui.form input[type="search"],
  697. .ui.form input[type="tel"],
  698. .ui.form input[type="text"],
  699. .ui.form input[type="time"],
  700. .ui.form input[type="url"] {
  701. background: $mainBgColor;
  702. color: $mainTextColor;
  703. font-weight: 600;
  704. }
  705. .ui.form input:not([type]):focus,
  706. .ui.form input[type="date"]:focus,
  707. .ui.form input[type="datetime-local"]:focus,
  708. .ui.form input[type="email"]:focus,
  709. .ui.form input[type="file"]:focus,
  710. .ui.form input[type="number"]:focus,
  711. .ui.form input[type="password"]:focus,
  712. .ui.form input[type="search"]:focus,
  713. .ui.form input[type="tel"]:focus,
  714. .ui.form input[type="text"]:focus,
  715. .ui.form input[type="time"]:focus,
  716. .ui.form input[type="url"]:focus {
  717. color: $mainTextColor;
  718. border-color: rgba($secondTextColor, .25);
  719. border-radius: 0;
  720. background: $mainBgColor;
  721. -webkit-box-shadow: 0 0 0px 1px $btnShadow;
  722. box-shadow: 0 0 0px 1px $btnShadow;
  723. }
  724. .ui.action.input:not([class*="left action"])>input:focus {
  725. border-right-color: transparent !important;
  726. }
  727. .ui.form .field>label {
  728. color: $mainTextColor;
  729. }
  730. .ui.attached.header {
  731. background: $mainBgColor;
  732. }
  733. .ui .text.black:hover {
  734. color: $secondTextColor;
  735. }
  736. .ui.tabular.menu .active.item {
  737. background: none $secondBgColor;
  738. border-color: $secondBgColor;
  739. color: $active;
  740. }
  741. .ui.basic.button,
  742. .ui.basic.buttons .button {
  743. background: $secondBgColor none !important;
  744. color: $mainTextColor!important;
  745. font-weight: 600;
  746. -webkit-box-shadow: 0 0 0px 1px $btnShadow;
  747. box-shadow: 0 0 0px 1px $btnShadow;
  748. }
  749. .ui.basic.button:hover,
  750. .ui.basic.buttons .button:hover {
  751. background: $secondBgColor !important;
  752. color: $active !important;
  753. -webkit-box-shadow: 0 0 0px 1px $btnShadow;
  754. box-shadow: 0 0 0px 1px $btnShadow;
  755. }
  756. .ui.label {
  757. background-color: $accentBase-dark;
  758. color: #fff;
  759. }
  760. .ui.basic.label {
  761. background: none $accentBase;
  762. }
  763. .ui.breadcrumb a {
  764. color: $mainTextColor;
  765. }
  766. .ui.list .list>.item .description,
  767. .ui.list>.item .description {
  768. color: $mainTextColor;
  769. }
  770. .ui.user.list .item .description a {
  771. color: $mainTextColor;
  772. }
  773. .ui.user.list .item .description a:hover {
  774. text-decoration: underline;
  775. color: $accentBase;
  776. }
  777. .ui.buttons:not(.basic):not(.inverted)>.button,
  778. .ui.buttons>.ui.button:not(.basic):not(.inverted) {
  779. -webkit-box-shadow: 0 0 0px 1px $btnShadow;
  780. box-shadow: 0 0 0px 1px $btnShadow;
  781. }
  782. .ui.button {
  783. background: transparent;
  784. }
  785. .ui.button:hover {
  786. background-color: $secondBgColor;
  787. color: $active !important;
  788. }
  789. .ui.card,
  790. .ui.cards>.card {
  791. box-shadow: 0px -1px 22px 10px $userCardShadow;
  792. }
  793. a {
  794. color: $mainTextColor;
  795. }
  796. a:hover {
  797. color: $active;
  798. }
  799. footer {
  800. border-top: 1px solid $mainBgColor;
  801. }
  802. // Makes caret visible when editing files
  803. .CodeMirror-cursor {
  804. border-color: $secondTextColor;
  805. }