custom.scss 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550
  1. html, body {
  2. min-height:100vh;
  3. }
  4. body {
  5. display: flex;
  6. flex-flow: column;
  7. }
  8. #content {
  9. margin-bottom: auto !important;
  10. }
  11. body, button, input, textarea {
  12. font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",
  13. Roboto,Helvetica,Arial,sans-serif;
  14. }
  15. .navbar-laravel {
  16. background-color: #fff;
  17. box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  18. }
  19. .bg-pixelfed {
  20. background:#10c5f8;
  21. background:-webkit-gradient(linear,left top,right bottom,from(#6736dd),to(#10c5f8));
  22. background:linear-gradient(to bottom right,#6736dd,#10c5f8);
  23. }
  24. @media (min-width: 1200px) {
  25. .container {
  26. max-width: 935px;
  27. }
  28. }
  29. .text-dark {
  30. color: #212529 !important;
  31. }
  32. .settings-nav .active {
  33. border-left: 2px solid #6c757d !important
  34. }
  35. .settings-nav .active .nav-link{
  36. font-weight: bold;
  37. }
  38. .card-disabled {
  39. background-color: rgba(245, 245, 245, 1);
  40. opacity: .4;
  41. }
  42. .card.status-container {
  43. }
  44. .card-img-top {
  45. height: auto;
  46. }
  47. .card.status-container .status-photo {
  48. margin: auto !important;
  49. }
  50. @media (min-width: map-get($grid-breakpoints, "md")) {
  51. .card.status-container .status-comments {
  52. overflow-y:scroll;
  53. border-bottom:1px solid rgba(0,0,0,.1);
  54. height: 200px;
  55. }
  56. }
  57. .no-caret.dropdown-toggle {
  58. text-decoration: none !important;
  59. }
  60. .no-caret.dropdown-toggle::after {
  61. display:none;
  62. }
  63. .notification-page .profile-link {
  64. color: #212529;
  65. font-weight: bold;
  66. }
  67. .notification-page .list-group-item:first-child {
  68. border-top: none;
  69. }
  70. .nav-topbar {
  71. border-top: 1px solid $gray-300;
  72. }
  73. .nav-topbar .nav-item {
  74. margin: -1px 1.5rem 0;
  75. }
  76. .nav-topbar .nav-link {
  77. border: 1px solid transparent;
  78. color: $gray-300;
  79. padding: 0.75rem 0;
  80. }
  81. .nav-topbar .nav-link:focus, .nav-topbar .nav-link:hover {
  82. border-top-color: $gray-300;
  83. }
  84. .nav-topbar .nav-link.disabled {
  85. color: $gray-300;
  86. background-color: transparent;
  87. border-color: transparent;
  88. }
  89. .nav-topbar .nav-item.show .nav-link, .nav-topbar .nav-link.active {
  90. color: $gray-600;
  91. border-top-color: $gray-600;
  92. }
  93. .nav-topbar .dropdown-menu {
  94. margin-top:-1px;
  95. }
  96. .info-overlay {
  97. position: relative;
  98. }
  99. .info-overlay .info-overlay-text {
  100. display: none;
  101. position: absolute;
  102. }
  103. .info-overlay:hover .info-overlay-text {
  104. display: flex;
  105. h5 {
  106. display: flex;
  107. flex-flow: column;
  108. justify-content: center;
  109. align-items: center;
  110. width: 100%;
  111. height: 100%;
  112. }
  113. }
  114. .info-overlay-text {
  115. width: 100%;
  116. height: 100%;
  117. background-color: rgba(0,0,0,0.5);
  118. }
  119. .font-weight-lighter {
  120. font-weight: 300 !important
  121. }
  122. .font-weight-ultralight {
  123. font-weight: 200 !important;
  124. }
  125. .square {
  126. position: relative;
  127. width: 100%;
  128. }
  129. .square::after {
  130. content: "";
  131. display: block;
  132. padding-bottom: 100%;
  133. }
  134. .square-content {
  135. position: absolute;
  136. width: 100%;
  137. height: 100%;
  138. background-repeat: no-repeat;
  139. background-size: cover;
  140. background-position: 50%;
  141. }
  142. @media (max-width: map-get($grid-breakpoints, "md")) {
  143. .border-md-left-0 {
  144. border-left:0!important
  145. }
  146. }
  147. @media (max-width: map-get($grid-breakpoints, "md")) {
  148. .border-md-left-0 {
  149. border-left:0!important
  150. }
  151. .card.status-container .status-comments {
  152. border-top:1px solid rgba(0,0,0,.1);
  153. }
  154. .sticky-md-bottom {
  155. position:-webkit-sticky;
  156. position:sticky;
  157. bottom:0;
  158. z-index:1020
  159. }
  160. }
  161. @media (max-width: map-get($grid-breakpoints, "sm")) {
  162. .card-md-border-0 {
  163. border-width: 0!important;
  164. border-radius: 0!important;
  165. }
  166. .card-md-rounded-0 {
  167. border-width: 1px 0;
  168. border-radius:0 !important;
  169. }
  170. }
  171. @keyframes loading-bar {
  172. from { background-position: 0 0; }
  173. to { background-position: 100vw 0; }
  174. }
  175. .loading-page {
  176. background-image: linear-gradient(to right, #6736dd, #10c5f8, #10c5f8, #6736dd);
  177. width: 100vw;
  178. height: .25rem;
  179. animation: loading-bar 3s linear infinite;
  180. }
  181. .liked {
  182. position: relative;
  183. z-index: 1;
  184. }
  185. .liked::after {
  186. content: "\F0a3";
  187. color: transparent;
  188. animation: liking 1.5s;
  189. position: absolute;
  190. z-index: -1;
  191. left: 50%;
  192. top: 0;
  193. }
  194. @keyframes liking {
  195. 0% {
  196. -webkit-transform:rotate(0deg);
  197. transform:rotate(0deg);
  198. font-size:0;
  199. top: .25rem;
  200. color: #ebf70e;
  201. }
  202. 75% {
  203. -webkit-transform:rotate(1turn);
  204. transform:rotate(1turn);
  205. top: -0.55rem;
  206. font-size: 2.8rem;
  207. opacity:1;
  208. left: -0.55rem;
  209. }
  210. 100% {
  211. transform:rotate(1turn);
  212. top: 2.5rem;
  213. left: 0em;
  214. font-size:0;
  215. left: 0.9rem
  216. }
  217. }
  218. .max-hide-overflow {
  219. max-height: 500px;
  220. overflow-y: hidden;
  221. }
  222. @media (min-width: map-get($grid-breakpoints, "xs")) {
  223. .max-hide-overflow {
  224. max-height: 600px!important;
  225. }
  226. }
  227. @media (min-width: map-get($grid-breakpoints, "md")) {
  228. .max-hide-overflow {
  229. max-height: 800px!important;
  230. }
  231. }
  232. @media (min-width: map-get($grid-breakpoints, "xl")) {
  233. .max-hide-overflow {
  234. max-height: 1000px!important;
  235. }
  236. }
  237. .notification-image {
  238. background-size: cover;
  239. width: 32px;
  240. height: 32px;
  241. background-position: 50%;
  242. }
  243. .status-photo img {
  244. object-fit: contain;
  245. width: 100%;
  246. max-height: calc(100vh - (6rem));
  247. }
  248. @keyframes fadeInDown {
  249. 0% {
  250. opacity: 0;
  251. transform: translateY(-1.25em);
  252. }
  253. 100% {
  254. opacity: 1;
  255. transform: translateY(0);
  256. }
  257. }
  258. .details-animated[open] {
  259. animation-name: fadeInDown;
  260. animation-duration: 0.5s;
  261. }
  262. .card {
  263. box-shadow: 0 2px 6px 0 hsla(0, 0%, 0%, 0.2);
  264. border: none;
  265. .comment-submit {
  266. display: none;
  267. position: absolute;
  268. bottom: 12px;
  269. right: 20px;
  270. width: 60px;
  271. text-align: center;
  272. border-radius: 0 3px 3px 0;
  273. }
  274. }
  275. .touch .card {
  276. input[name="comment"] {
  277. padding-right: 70px;
  278. }
  279. .comment-submit {
  280. display: block;
  281. }
  282. }
  283. .box-shadow {
  284. box-shadow: 0 2px 6px 0 hsla(0, 0%, 0%, 0.2);
  285. }
  286. .border-left-primary {
  287. border-left: 3px solid $primary;
  288. }
  289. .settings-nav .nav-item.active .nav-link {
  290. font-weight: bold !important;
  291. }
  292. details summary::-webkit-details-marker {
  293. display: none!important;
  294. }
  295. .details-animated > summary {
  296. display: flex;
  297. flex-flow: column;
  298. justify-content: center;
  299. background-color: #ECF0F1;
  300. padding-top: 50px;
  301. padding-bottom: 50px;
  302. text-align: center;
  303. }
  304. @media (min-width: 720px) {
  305. .details-animated > summary {
  306. min-height: 600px;
  307. }
  308. }
  309. .details-animated[open] > summary {
  310. display: none!important;
  311. }
  312. .profile-avatar img {
  313. object-fit: cover;
  314. }
  315. .tt-menu {
  316. padding: 0 !important;
  317. border-radius: 0 0 0.25rem 0.25rem !important;
  318. }
  319. .tt-dataset .alert {
  320. border: 0 !important;
  321. border-radius: 0 !important;
  322. }
  323. .input-elevated {
  324. font-size: 16px;
  325. line-height: 1.5;
  326. border: none;
  327. background: #FFFFFF;
  328. box-shadow: 0 2px 4px 0 rgba(0,0,0,0.08);
  329. border-radius: 5px;
  330. padding: .5em 1em .5em .5em;
  331. }
  332. .input-elevated::placeholder {
  333. color: #838D99;
  334. }
  335. .input-elevated:focus {
  336. outline: none;
  337. box-shadow: 0 4px 10px 0 rgba(0,0,0,0.16);
  338. }
  339. .icon-wrapper {
  340. display: inline-flex;
  341. padding: 14px;
  342. border-radius: 50%;
  343. background: #10c5f8;
  344. background: -webkit-gradient(linear,left top,right bottom,from(#6736dd),to(#10c5f8));
  345. background: linear-gradient(to bottom right,#6736dd,#10c5f8);
  346. }
  347. .border-left-blue {
  348. border-left: 3px solid #10c5f8;
  349. }
  350. .b-dropdown {
  351. padding:0 !important;
  352. }
  353. .b-dropdown > button {
  354. padding:0 !important;
  355. }
  356. .lds-ring {
  357. display: inline-block;
  358. position: relative;
  359. width: 64px;
  360. height: 64px;
  361. }
  362. .lds-ring div {
  363. box-sizing: border-box;
  364. display: block;
  365. position: absolute;
  366. width: 51px;
  367. height: 51px;
  368. margin: 6px;
  369. border: 6px solid #6c757d;
  370. border-radius: 50%;
  371. animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  372. border-color: #6c757d transparent transparent transparent;
  373. }
  374. .lds-ring div:nth-child(1) {
  375. animation-delay: -0.45s;
  376. }
  377. .lds-ring div:nth-child(2) {
  378. animation-delay: -0.3s;
  379. }
  380. .lds-ring div:nth-child(3) {
  381. animation-delay: -0.15s;
  382. }
  383. @keyframes lds-ring {
  384. 0% {
  385. transform: rotate(0deg);
  386. }
  387. 100% {
  388. transform: rotate(360deg);
  389. }
  390. }
  391. .navbar .nav-notification.dropdown-toggle::after {
  392. display: none;
  393. }
  394. .navbar .dropdown .nav-notification-dropdown {
  395. width:500px;
  396. max-height: 300px;
  397. overflow-y: scroll;
  398. padding-top: 0;
  399. padding-bottom: 0;
  400. }
  401. .nav-notification-dropdown .loader {
  402. padding-top: 5rem;
  403. padding-bottom: 5rem;
  404. }
  405. .timeline-sidenav.nav-pills .nav-link {
  406. color: #6c757d;
  407. }
  408. .timeline-sidenav.nav-pills .nav-link:hover {
  409. background: rgba(0,0,0,0.04);
  410. }
  411. .timeline-sidenav.nav-pills .nav-link.active,
  412. .timeline-sidenav.nav-pills .show > .nav-link {
  413. color: #08d;
  414. background: transparent;
  415. border: 1px solid #08d;
  416. }
  417. .messages-page .bg-primary.text-white a {
  418. color: #fff;
  419. }
  420. .notification-tooltip .tooltip-inner {
  421. font-weight: bold;
  422. }
  423. #previewAvatar {
  424. img {
  425. max-width: 100%;
  426. height: auto;
  427. }
  428. }
  429. .img-thumbnail {
  430. box-sizing: content-box;
  431. }
  432. .reply-container {
  433. .post-thumbnail {
  434. object-fit: cover;
  435. }
  436. }
  437. #l-modal .modal-body,
  438. #s-modal .modal-body {
  439. height: 60vh;
  440. overflow-y: scroll;
  441. }
  442. #l-modal .modal-content,
  443. #s-modal .modal-content {
  444. border-radius: 0;
  445. }
  446. .text-lighter {
  447. color:#B8C2CC !important;
  448. }
  449. .cursor-pointer {
  450. cursor: pointer;
  451. }
  452. .tooltip-notification .tooltip-inner {
  453. max-width: 200px;
  454. padding: 3px 8px;
  455. color: #fff;
  456. text-align: center;
  457. background-color: #dc3545;
  458. border-radius: .25rem;
  459. }
  460. .tooltip-notification .tooltip.bs-tooltip-auto[x-placement^=top] .arrow::before, .tooltip.bs-tooltip-top .arrow::before {
  461. border-top-color: #dc3545;
  462. }