custom.scss 9.7 KB

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