You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1763 lines
34 KiB

7 years ago
7 years ago
7 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
6 years ago
6 years ago
7 years ago
  1. // win95 theme from cybrespace.
  2. // Modified by kibi! to use webpack package syntax for urls (eg,
  3. // `url(~images/…)`) for easy importing into skins.
  4. $win95-bg: #bfbfbf;
  5. $win95-dark-grey: #404040;
  6. $win95-mid-grey: #808080;
  7. $win95-window-header: #00007f;
  8. $win95-tooltip-yellow: #ffffcc;
  9. $win95-blue: blue;
  10. $ui-base-lighter-color: $win95-dark-grey;
  11. $ui-highlight-color: $win95-window-header;
  12. @mixin win95-border-outset() {
  13. border-left: 2px solid #efefef;
  14. border-top: 2px solid #efefef;
  15. border-right: 2px solid #404040;
  16. border-bottom: 2px solid #404040;
  17. border-radius:0px;
  18. }
  19. @mixin win95-outset() {
  20. box-shadow: inset -1px -1px 0px #000000,
  21. inset 1px 1px 0px #ffffff,
  22. inset -2px -2px 0px #808080,
  23. inset 2px 2px 0px #dfdfdf;
  24. border-radius:0px;
  25. }
  26. @mixin win95-border-inset() {
  27. border-left: 2px solid #404040;
  28. border-top: 2px solid #404040;
  29. border-right: 2px solid #efefef;
  30. border-bottom: 2px solid #efefef;
  31. border-radius:0px;
  32. }
  33. @mixin win95-border-slight-inset() {
  34. border-left: 1px solid #404040;
  35. border-top: 1px solid #404040;
  36. border-right: 1px solid #efefef;
  37. border-bottom: 1px solid #efefef;
  38. border-radius:0px;
  39. }
  40. @mixin win95-inset() {
  41. box-shadow: inset 1px 1px 0px #000000,
  42. inset -1px -1px 0px #ffffff,
  43. inset 2px 2px 0px #808080,
  44. inset -2px -2px 0px #dfdfdf;
  45. border-width:0px;
  46. border-radius:0px;
  47. }
  48. @mixin win95-tab() {
  49. box-shadow: inset -1px 0px 0px #000000,
  50. inset 1px 0px 0px #ffffff,
  51. inset 0px 1px 0px #ffffff,
  52. inset 0px 2px 0px #dfdfdf,
  53. inset -2px 0px 0px #808080,
  54. inset 2px 0px 0px #dfdfdf;
  55. border-radius:0px;
  56. border-top-left-radius: 1px;
  57. border-top-right-radius: 1px;
  58. }
  59. @mixin win95-reset() {
  60. box-shadow: unset;
  61. }
  62. @font-face {
  63. font-family:"premillenium";
  64. src: url('~fonts/premillenium/MSSansSerif.ttf') format('truetype');
  65. }
  66. @import 'application';
  67. /* borrowed from cybrespace style: wider columns and full column width images */
  68. @media screen and (min-width: 1300px) {
  69. .column {
  70. flex-grow: 1 !important;
  71. max-width: 400px;
  72. }
  73. .drawer {
  74. width: 17%;
  75. max-width: 400px;
  76. min-width: 330px;
  77. }
  78. }
  79. .media-gallery,
  80. .video-player {
  81. max-height:30vh;
  82. height:30vh !important;
  83. position:relative;
  84. margin-top:20px;
  85. margin-left:-68px;
  86. width: calc(100% + 80px) !important;
  87. max-width: calc(100% + 80px);
  88. }
  89. .detailed-status .media-gallery,
  90. .detailed-status .video-player {
  91. margin-left:-5px;
  92. width: calc(100% + 9px);
  93. max-width: calc(100% + 9px);
  94. }
  95. .video-player video {
  96. transform: unset;
  97. top: unset;
  98. }
  99. .detailed-status .media-spoiler,
  100. .status .media-spoiler {
  101. height: 100%!important;
  102. vertical-align: middle;
  103. }
  104. /* main win95 style */
  105. body {
  106. font-size:13px;
  107. font-family: "MS Sans Serif", "premillenium", sans-serif;
  108. color:black;
  109. }
  110. .ui,
  111. .ui .columns-area,
  112. body.admin {
  113. background: #008080;
  114. }
  115. .loading-bar {
  116. height:5px;
  117. background-color: #000080;
  118. }
  119. .tabs-bar {
  120. background: $win95-bg;
  121. @include win95-outset();
  122. height: 30px;
  123. }
  124. .tabs-bar__link {
  125. color:black;
  126. border:2px outset $win95-bg;
  127. border-top-width: 1px;
  128. border-left-width: 1px;
  129. margin:2px;
  130. padding:3px;
  131. }
  132. .tabs-bar__link.active {
  133. @include win95-inset();
  134. color:black;
  135. }
  136. .tabs-bar__link:last-child::before {
  137. content:"Start";
  138. color:black;
  139. font-weight:bold;
  140. font-size:15px;
  141. width:80%;
  142. display:block;
  143. position:absolute;
  144. right:0px;
  145. }
  146. .tabs-bar__link:last-child {
  147. position:relative;
  148. flex-basis:60px !important;
  149. font-size:0px;
  150. color:$win95-bg;
  151. background-image: url("~images/start.png");
  152. background-repeat:no-repeat;
  153. background-position:8%;
  154. background-clip:padding-box;
  155. background-size:auto 50%;
  156. }
  157. .drawer .drawer__inner {
  158. overflow: visible;
  159. height:inherit;
  160. background:$win95-bg;
  161. }
  162. .drawer:after {
  163. display:block;
  164. content: " ";
  165. position:absolute;
  166. bottom:15px;
  167. left:15px;
  168. width:132px;
  169. height:117px;
  170. background-image:url("~images/clippy_wave.gif"), url("~images/clippy_frame.png");
  171. background-repeat:no-repeat;
  172. background-position: 4px 20px, 0px 0px;
  173. z-index:0;
  174. }
  175. .drawer__pager {
  176. overflow-y:auto;
  177. z-index:1;
  178. }
  179. .privacy-dropdown__dropdown {
  180. z-index:2;
  181. }
  182. .column {
  183. max-height:100vh;
  184. }
  185. .column > .scrollable {
  186. background: $win95-bg;
  187. @include win95-border-outset();
  188. border-top-width:0px;
  189. }
  190. .column-header__wrapper {
  191. color:white;
  192. font-weight:bold;
  193. background:#7f7f7f;
  194. }
  195. .column-header {
  196. padding:2px;
  197. font-size:13px;
  198. background:#7f7f7f;
  199. @include win95-border-outset();
  200. border-bottom-width:0px;
  201. color:white;
  202. font-weight:bold;
  203. align-items:baseline;
  204. }
  205. .column-header__wrapper.active {
  206. background:$win95-window-header;
  207. }
  208. .column-header__wrapper.active::before {
  209. display:none;
  210. }
  211. .column-header.active {
  212. box-shadow:unset;
  213. background:$win95-window-header;
  214. }
  215. .column-header.active .column-header__icon {
  216. color:white;
  217. }
  218. .column-header__buttons {
  219. max-height: 20px;
  220. margin-right:0px;
  221. }
  222. .column-header__button {
  223. background: $win95-bg;
  224. color: black;
  225. line-height:0px;
  226. font-size:14px;
  227. max-height:20px;
  228. padding:0px 2px;
  229. margin-top:2px;
  230. @include win95-outset();
  231. &:hover {
  232. color: black;
  233. }
  234. }
  235. .column-header__button.active, .column-header__button.active:hover {
  236. @include win95-inset();
  237. background-color:#7f7f7f;
  238. }
  239. .column-header__back-button {
  240. background: $win95-bg;
  241. color: black;
  242. padding:2px;
  243. max-height:20px;
  244. margin-top:2px;
  245. @include win95-outset();
  246. font-size:13px;
  247. font-weight:bold;
  248. }
  249. .column-back-button {
  250. background:$win95-bg;
  251. color:black;
  252. @include win95-outset();
  253. padding:2px;
  254. font-size:13px;
  255. font-weight:bold;
  256. }
  257. .column-back-button--slim-button {
  258. position:absolute;
  259. top:-22px;
  260. right:4px;
  261. max-height:20px;
  262. max-width:60px;
  263. padding:0px 2px;
  264. }
  265. .column-back-button__icon {
  266. font-size:11px;
  267. margin-top:-3px;
  268. }
  269. .column-header__collapsible {
  270. border-left:2px outset $win95-bg;
  271. border-right:2px outset $win95-bg;
  272. }
  273. .column-header__collapsible-inner {
  274. background:$win95-bg;
  275. color:black;
  276. }
  277. .column-header__collapsible__extra {
  278. color:black;
  279. }
  280. .column-header__collapsible__extra div[role="group"] {
  281. border: 2px groove $win95-bg;
  282. border-radius:4px;
  283. margin-bottom:8px;
  284. padding:4px;
  285. }
  286. .column-inline-form {
  287. background-color: $win95-bg;
  288. @include win95-border-outset();
  289. border-bottom-width:0px;
  290. border-top-width:0px;
  291. }
  292. .column-settings__section {
  293. color:black;
  294. font-weight:bold;
  295. font-size:11px;
  296. position:relative;
  297. top: -12px;
  298. left:4px;
  299. background-color:$win95-bg;
  300. display:inline-block;
  301. padding:0px 4px;
  302. margin-bottom:0px;
  303. }
  304. .setting-meta__label, .setting-toggle__label {
  305. color:black;
  306. font-weight:normal;
  307. }
  308. .setting-meta__label span:before {
  309. content:"(";
  310. }
  311. .setting-meta__label span:after {
  312. content:")";
  313. }
  314. .setting-toggle {
  315. line-height:13px;
  316. }
  317. .react-toggle .react-toggle-track {
  318. border-radius:0px;
  319. background-color:white;
  320. @include win95-border-inset();
  321. width:12px;
  322. height:12px;
  323. }
  324. .react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {
  325. background-color:white;
  326. }
  327. .react-toggle .react-toggle-track-check {
  328. left:2px;
  329. transition:unset;
  330. }
  331. .react-toggle .react-toggle-track-check svg path {
  332. fill: black;
  333. }
  334. .react-toggle .react-toggle-track-x {
  335. display:none;
  336. }
  337. .react-toggle .react-toggle-thumb {
  338. border-radius:0px;
  339. display:none;
  340. }
  341. .text-btn {
  342. background-color:$win95-bg;
  343. @include win95-outset();
  344. padding:4px;
  345. }
  346. .text-btn:hover {
  347. text-decoration:none;
  348. color:black;
  349. }
  350. .text-btn:active {
  351. @include win95-inset();
  352. }
  353. .setting-text {
  354. color:black;
  355. background-color:white;
  356. @include win95-inset();
  357. font-size:13px;
  358. padding:2px;
  359. }
  360. .setting-text:active, .setting-text:focus,
  361. .setting-text.light:active, .setting-text.light:focus {
  362. color:black;
  363. border-bottom:2px inset $win95-bg;
  364. }
  365. .column-header__setting-arrows .column-header__setting-btn {
  366. padding:3px 10px;
  367. }
  368. .column-header__setting-arrows .column-header__setting-btn:last-child {
  369. padding:3px 10px;
  370. }
  371. .missing-indicator {
  372. background-color:$win95-bg;
  373. color:black;
  374. @include win95-outset();
  375. }
  376. .missing-indicator > div {
  377. background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAACXBIWXMAAC4jAAAuIwF4pT92AAAAF3pUWHRUaXRsZQAACJnLyy9Jyy/NSwEAD5IDblIFOhoAAAAXelRYdEF1dGhvcgAACJlLzijKz0vMAQALmgLoDsFj8gAAAQpJREFUOMuVlD0OwjAMhd2oQl04Axfo0IGBgYELcAY6cqQuSO0ZOEAZGBg6VKg74gwsEaoESRVHjusI8aQqzY8/PbtOEz1qkFSn2YevlaNOpLMJh2DwvixhuXtOa6/LCh51DUMEFkAsgAZD207Doin8mQ562JpRE5CHBAAhmIqD1L8AqzUUUJkxc6kr3AgAJ+NuvIWRdk7WcrKl0AUqcIBBHOiEbpS4m27mIL5Onfg3k0rgggeQuS2sDOGSahKR+glgqaGLgUJs951NN1q9D72cQqQWR9cr3sm9YcEssEuz6eEuZh2bu0aSOhQ1MBezu2O/+TVSvEFII3qLsZWrSA2AAUQIh1HpyP/kC++zjVSMj6ntAAAAAElFTkSuQmCC')
  378. no-repeat;
  379. background-position:center center;
  380. }
  381. .empty-column-indicator,
  382. .error-column {
  383. background: $win95-bg;
  384. color: black;
  385. }
  386. .status__wrapper {
  387. border: 2px groove $win95-bg;
  388. margin:4px;
  389. }
  390. .status {
  391. @include win95-border-slight-inset();
  392. background-color:white;
  393. margin:4px;
  394. padding-bottom:40px;
  395. margin-bottom:8px;
  396. }
  397. .status.status-direct {
  398. background-color:$win95-bg;
  399. }
  400. .status__content {
  401. font-size:13px;
  402. }
  403. .status.light .status__relative-time,
  404. .status.light .display-name span {
  405. color: #7f7f7f;
  406. }
  407. .status__action-bar {
  408. box-sizing:border-box;
  409. position:absolute;
  410. bottom:-1px;
  411. left:-1px;
  412. background:$win95-bg;
  413. width:calc(100% + 2px);
  414. padding-left:10px;
  415. padding: 4px 2px;
  416. padding-bottom:4px;
  417. border-bottom:2px groove $win95-bg;
  418. border-top:1px outset $win95-bg;
  419. text-align: right;
  420. }
  421. .status__wrapper .status__action-bar {
  422. border-bottom-width:0px;
  423. }
  424. .status__action-bar-button {
  425. float:right;
  426. }
  427. .status__action-bar-dropdown {
  428. margin-left:auto;
  429. margin-right:10px;
  430. .icon-button {
  431. min-width:28px;
  432. }
  433. }
  434. .status.light .status__content a {
  435. color:blue;
  436. }
  437. .focusable:focus {
  438. background: $win95-bg;
  439. .detailed-status__action-bar {
  440. background: $win95-bg;
  441. }
  442. .status, .detailed-status {
  443. background: white;
  444. outline:2px dotted $win95-mid-grey;
  445. }
  446. }
  447. .dropdown__trigger.icon-button {
  448. padding-right:6px;
  449. }
  450. .detailed-status__action-bar-dropdown .icon-button {
  451. min-width:28px;
  452. }
  453. .detailed-status {
  454. background:white;
  455. background-clip:padding-box;
  456. margin:4px;
  457. border: 2px groove $win95-bg;
  458. padding:4px;
  459. }
  460. .detailed-status__display-name {
  461. color:#7f7f7f;
  462. }
  463. .detailed-status__display-name strong {
  464. color:black;
  465. font-weight:bold;
  466. }
  467. .account__avatar,
  468. .account__avatar-overlay-base,
  469. .account__header__avatar,
  470. .account__avatar-overlay-overlay {
  471. @include win95-border-slight-inset();
  472. clip-path:none;
  473. filter: saturate(1.8) brightness(1.1);
  474. }
  475. .detailed-status__action-bar {
  476. background-color:$win95-bg;
  477. border:0px;
  478. border-bottom:2px groove $win95-bg;
  479. margin-bottom:8px;
  480. justify-items:left;
  481. padding-left:4px;
  482. }
  483. .icon-button {
  484. background:$win95-bg;
  485. @include win95-border-outset();
  486. padding:0px 0px 0px 0px;
  487. margin-right:4px;
  488. color:#3f3f3f;
  489. &.inverted, &:hover, &.inverted:hover, &:active, &:focus {
  490. color:#3f3f3f;
  491. }
  492. }
  493. .icon-button:active {
  494. @include win95-border-inset();
  495. }
  496. .status__action-bar > .icon-button {
  497. padding:0px 15px 0px 0px;
  498. min-width:25px;
  499. }
  500. .icon-button.star-icon,
  501. .icon-button.star-icon:active {
  502. background:transparent;
  503. border:none;
  504. }
  505. .icon-button.star-icon.active {
  506. color: $gold-star;
  507. &:active, &:hover, &:focus {
  508. color: $gold-star;
  509. }
  510. }
  511. .icon-button.star-icon > i {
  512. background:$win95-bg;
  513. @include win95-border-outset();
  514. padding-bottom:3px;
  515. }
  516. .icon-button.star-icon:active > i {
  517. @include win95-border-inset();
  518. }
  519. .text-icon-button {
  520. color:$win95-dark-grey;
  521. }
  522. .detailed-status__action-bar-dropdown {
  523. margin-left:auto;
  524. justify-content:right;
  525. padding-right:16px;
  526. }
  527. .detailed-status__button {
  528. flex:0 0 auto;
  529. }
  530. .detailed-status__button .icon-button {
  531. padding-left:2px;
  532. padding-right:25px;
  533. }
  534. .status-card {
  535. border-radius:0px;
  536. background:white;
  537. border: 1px solid black;
  538. color:black;
  539. }
  540. .status-card:hover {
  541. background-color:white;
  542. }
  543. .status-card__title {
  544. color:blue;
  545. text-decoration:underline;
  546. font-weight:bold;
  547. }
  548. .load-more {
  549. width:auto;
  550. margin:5px auto;
  551. background: $win95-bg;
  552. @include win95-outset();
  553. color:black;
  554. padding: 2px 5px;
  555. &:hover {
  556. background: $win95-bg;
  557. color:black;
  558. }
  559. }
  560. .status-card__description {
  561. color:black;
  562. }
  563. .account__display-name strong, .status__display-name strong {
  564. color:black;
  565. font-weight:bold;
  566. }
  567. .account .account__display-name {
  568. color:black;
  569. }
  570. .account {
  571. border-bottom: 2px groove $win95-bg;
  572. }
  573. .reply-indicator__content .status__content__spoiler-link, .status__content .status__content__spoiler-link {
  574. background:$win95-bg;
  575. @include win95-outset();
  576. }
  577. .reply-indicator__content .status__content__spoiler-link:hover, .status__content .status__content__spoiler-link:hover {
  578. background:$win95-bg;
  579. }
  580. .reply-indicator__content .status__content__spoiler-link:active, .status__content .status__content__spoiler-link:active {
  581. @include win95-inset();
  582. }
  583. .reply-indicator__content a, .status__content a {
  584. color:blue;
  585. }
  586. .notification {
  587. border: 2px groove $win95-bg;
  588. margin:4px;
  589. }
  590. .notification__message {
  591. color:black;
  592. font-size:13px;
  593. }
  594. .notification__display-name {
  595. font-weight:bold;
  596. }
  597. .drawer__header {
  598. background: $win95-bg;
  599. @include win95-border-outset();
  600. justify-content:left;
  601. margin-bottom:0px;
  602. padding-bottom:2px;
  603. border-bottom:2px groove $win95-bg;
  604. }
  605. .drawer__tab {
  606. color:black;
  607. @include win95-outset();
  608. padding:5px;
  609. margin:2px;
  610. flex: 0 0 auto;
  611. }
  612. .drawer__tab:first-child::before {
  613. content:"Start";
  614. color:black;
  615. font-weight:bold;
  616. font-size:15px;
  617. width:80%;
  618. display:block;
  619. position:absolute;
  620. right:0px;
  621. }
  622. .drawer__tab:first-child {
  623. position:relative;
  624. padding:5px 15px;
  625. width:40px;
  626. font-size:0px;
  627. color:$win95-bg;
  628. background-image: url("~images/start.png");
  629. background-repeat:no-repeat;
  630. background-position:8%;
  631. background-clip:padding-box;
  632. background-size:auto 50%;
  633. }
  634. .drawer__header a:hover {
  635. background-color:transparent;
  636. }
  637. .drawer__header a:first-child:hover {
  638. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAIAAACpTQvdAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAF3pUWHRBdXRob3IAAAiZS84oys9LzAEAC5oC6A7BY/IAAACWSURBVCiRhVJJDsQgDEuqOfRZ7a1P5gbP4uaJaEjTADMWQhHYjlk4p0wLnNdptdF4KvBUDyGzVwc2xO+uKtH+1o0ytEEmqFpuxlvFCGCxKbNIT56QCi2MzaA/2Mz+mERSOeqzJG2RUxkjdTabgPtFoZ1bZxcKvgPcLZVufAyR9Ni8v5dWDzfFx0giC1RvZFv6l35QQ/Mvv39XXgGzQpoAAAAASUVORK5CYII=");
  639. background-repeat:no-repeat;
  640. background-position:8%;
  641. background-clip:padding-box;
  642. background-size:auto 50%;
  643. transition:unset;
  644. }
  645. .drawer__tab:first-child {
  646. }
  647. .search {
  648. background:$win95-bg;
  649. padding-top:2px;
  650. padding:2px;
  651. border:2px outset $win95-bg;
  652. border-top-width:0px;
  653. border-bottom: 2px groove $win95-bg;
  654. margin-bottom:0px;
  655. }
  656. .search input {
  657. background-color:white;
  658. color:black;
  659. @include win95-border-slight-inset();
  660. }
  661. .search__input:focus {
  662. background-color:white;
  663. }
  664. .search-popout {
  665. box-shadow: unset;
  666. color:black;
  667. border-radius:0px;
  668. background-color:$win95-tooltip-yellow;
  669. border:1px solid black;
  670. h4 {
  671. color:black;
  672. text-transform: none;
  673. font-weight:bold;
  674. }
  675. }
  676. .search-results__header {
  677. background-color: $win95-bg;
  678. color:black;
  679. border-bottom:2px groove $win95-bg;
  680. }
  681. .search-results__hashtag {
  682. color:blue;
  683. }
  684. .search-results__section .account:hover,
  685. .search-results__section .account:hover .account__display-name,
  686. .search-results__section .account:hover .account__display-name strong,
  687. .search-results__section .search-results__hashtag:hover {
  688. background-color:$win95-window-header;
  689. color:white;
  690. }
  691. .search__icon .fa {
  692. color:#808080;
  693. &.active {
  694. opacity:1.0;
  695. }
  696. &:hover {
  697. color: #808080;
  698. }
  699. }
  700. .drawer__inner,
  701. .drawer__inner.darker {
  702. background-color:$win95-bg;
  703. border: 2px outset $win95-bg;
  704. border-top-width:0px;
  705. }
  706. .navigation-bar {
  707. color:black;
  708. }
  709. .navigation-bar strong {
  710. color:black;
  711. font-weight:bold;
  712. }
  713. .compose-form .autosuggest-textarea__textarea,
  714. .compose-form .spoiler-input__input {
  715. border-radius:0px;
  716. @include win95-border-slight-inset();
  717. }
  718. .compose-form .autosuggest-textarea__textarea {
  719. border-bottom:0px;
  720. }
  721. .compose-form__uploads-wrapper {
  722. border-radius:0px;
  723. border-bottom:1px inset $win95-bg;
  724. border-top-width:0px;
  725. }
  726. .compose-form__upload-wrapper {
  727. border-left:1px inset $win95-bg;
  728. border-right:1px inset $win95-bg;
  729. }
  730. .compose-form .compose-form__buttons-wrapper {
  731. background-color: $win95-bg;
  732. border:2px groove $win95-bg;
  733. margin-top:4px;
  734. padding:4px 8px;
  735. }
  736. .compose-form__buttons {
  737. background-color:$win95-bg;
  738. border-radius:0px;
  739. box-shadow:unset;
  740. }
  741. .compose-form__buttons-separator {
  742. border-left: 2px groove $win95-bg;
  743. }
  744. .privacy-dropdown.active .privacy-dropdown__value.active,
  745. .advanced-options-dropdown.open .advanced-options-dropdown__value {
  746. background: $win95-bg;
  747. }
  748. .privacy-dropdown.active .privacy-dropdown__value.active .icon-button {
  749. color: $win95-dark-grey;
  750. }
  751. .privacy-dropdown.active
  752. .privacy-dropdown__value {
  753. background: $win95-bg;
  754. box-shadow:unset;
  755. }
  756. .privacy-dropdown__option.active, .privacy-dropdown__option:hover,
  757. .privacy-dropdown__option.active:hover {
  758. background:$win95-window-header;
  759. }
  760. .privacy-dropdown__dropdown,
  761. .privacy-dropdown.active .privacy-dropdown__dropdown,
  762. .advanced-options-dropdown__dropdown,
  763. .advanced-options-dropdown.open .advanced-options-dropdown__dropdown
  764. {
  765. box-shadow:unset;
  766. color:black;
  767. @include win95-outset();
  768. background: $win95-bg;
  769. }
  770. .privacy-dropdown__option__content {
  771. color:black;
  772. }
  773. .privacy-dropdown__option__content strong {
  774. font-weight:bold;
  775. }
  776. .compose-form__warning::before {
  777. content:"Tip:";
  778. font-weight:bold;
  779. display:block;
  780. position:absolute;
  781. top:-10px;
  782. background-color:$win95-bg;
  783. font-size:11px;
  784. padding: 0px 5px;
  785. }
  786. .compose-form__warning {
  787. position:relative;
  788. box-shadow:unset;
  789. border:2px groove $win95-bg;
  790. background-color:$win95-bg;
  791. color:black;
  792. }
  793. .compose-form__warning a {
  794. color:blue;
  795. }
  796. .compose-form__warning strong {
  797. color:black;
  798. text-decoration:underline;
  799. }
  800. .compose-form__buttons button.active:last-child {
  801. @include win95-border-inset();
  802. background: #dfdfdf;
  803. color:#7f7f7f;
  804. }
  805. .compose-form__upload-thumbnail {
  806. border-radius:0px;
  807. border:2px groove $win95-bg;
  808. background-color:$win95-bg;
  809. padding:2px;
  810. box-sizing:border-box;
  811. }
  812. .compose-form__upload-thumbnail .icon-button {
  813. max-width:20px;
  814. max-height:20px;
  815. line-height:10px !important;
  816. }
  817. .compose-form__upload-thumbnail .icon-button::before {
  818. content:"X";
  819. font-size:13px;
  820. font-weight:bold;
  821. color:black;
  822. }
  823. .compose-form__upload-thumbnail .icon-button i {
  824. display:none;
  825. }
  826. .emoji-picker-dropdown__menu {
  827. z-index:2;
  828. }
  829. .emoji-dialog.with-search {
  830. box-shadow:unset;
  831. border-radius:0px;
  832. background-color:$win95-bg;
  833. border:1px solid black;
  834. box-sizing:content-box;
  835. }
  836. .emoji-dialog .emoji-search {
  837. color:black;
  838. background-color:white;
  839. border-radius:0px;
  840. @include win95-inset();
  841. }
  842. .emoji-dialog .emoji-search-wrapper {
  843. border-bottom:2px groove $win95-bg;
  844. }
  845. .emoji-dialog .emoji-category-title {
  846. color:black;
  847. font-weight:bold;
  848. }
  849. .reply-indicator {
  850. background-color:$win95-bg;
  851. border-radius:3px;
  852. border:2px groove $win95-bg;
  853. }
  854. .button {
  855. background-color:$win95-bg;
  856. @include win95-outset();
  857. border-radius:0px;
  858. color:black;
  859. font-weight:bold;
  860. &:hover, &:focus, &:disabled {
  861. background-color:$win95-bg;
  862. }
  863. &:active {
  864. @include win95-inset();
  865. }
  866. &:disabled {
  867. color: #808080;
  868. text-shadow: 1px 1px 0px #efefef;
  869. &:active {
  870. @include win95-outset();
  871. }
  872. }
  873. }
  874. #Getting-started {
  875. background-color:$win95-bg;
  876. @include win95-inset();
  877. border-bottom-width:0px;
  878. }
  879. #Getting-started::before {
  880. content:"Start";
  881. color:black;
  882. font-weight:bold;
  883. font-size:15px;
  884. width:80%;
  885. text-align:center;
  886. display:block;
  887. position:absolute;
  888. right:2px;
  889. }
  890. #Getting-started {
  891. position:relative;
  892. padding:5px 15px;
  893. width:60px;
  894. font-size:0px;
  895. color:$win95-bg;
  896. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAOCAIAAACpTQvdAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAF3pUWHRBdXRob3IAAAiZS84oys9LzAEAC5oC6A7BY/IAAACWSURBVCiRhVJJDsQgDEuqOfRZ7a1P5gbP4uaJaEjTADMWQhHYjlk4p0wLnNdptdF4KvBUDyGzVwc2xO+uKtH+1o0ytEEmqFpuxlvFCGCxKbNIT56QCi2MzaA/2Mz+mERSOeqzJG2RUxkjdTabgPtFoZ1bZxcKvgPcLZVufAyR9Ni8v5dWDzfFx0giC1RvZFv6l35QQ/Mvv39XXgGzQpoAAAAASUVORK5CYII=");
  897. background-repeat:no-repeat;
  898. background-position:8%;
  899. background-clip:padding-box;
  900. background-size:auto 50%;
  901. }
  902. .column-subheading {
  903. background-color:$win95-bg;
  904. color:black;
  905. border-bottom: 2px groove $win95-bg;
  906. text-transform: none;
  907. font-size: 16px;
  908. }
  909. .column-link {
  910. background-color:transparent;
  911. color:black;
  912. &:hover {
  913. background-color: $win95-window-header;
  914. color:white;
  915. }
  916. }
  917. .getting-started__wrapper {
  918. .column-subheading {
  919. font-size:0px;
  920. margin:0px;
  921. padding:0px;
  922. }
  923. .column-link {
  924. background-size:32px 32px;
  925. background-repeat:no-repeat;
  926. background-position: 36px 50%;
  927. padding-left:40px;
  928. &:hover {
  929. background-size:32px 32px;
  930. background-repeat:no-repeat;
  931. background-position: 36px 50%;
  932. }
  933. i {
  934. font-size: 0px;
  935. width:32px;
  936. }
  937. }
  938. }
  939. .column-link[href="/web/timelines/public"] {
  940. background-image: url("~images/icon_public.png");
  941. &:hover { background-image: url("~images/icon_public.png"); }
  942. }
  943. .column-link[href="/web/timelines/public/local"] {
  944. background-image: url("~images/icon_local.png");
  945. &:hover { background-image: url("~images/icon_local.png"); }
  946. }
  947. .column-link[href="/web/pinned"] {
  948. background-image: url("~images/icon_pin.png");
  949. &:hover { background-image: url("~images/icon_pin.png"); }
  950. }
  951. .column-link[href="/web/favourites"] {
  952. background-image: url("~images/icon_likes.png");
  953. &:hover { background-image: url("~images/icon_likes.png"); }
  954. }
  955. .column-link[href="/web/lists"] {
  956. background-image: url("~images/icon_lists.png");
  957. &:hover { background-image: url("~images/icon_lists.png"); }
  958. }
  959. .column-link[href="/web/follow_requests"] {
  960. background-image: url("~images/icon_follow_requests.png");
  961. &:hover { background-image: url("~images/icon_follow_requests.png"); }
  962. }
  963. .column-link[href="/web/keyboard-shortcuts"] {
  964. background-image: url("~images/icon_keyboard_shortcuts.png");
  965. &:hover { background-image: url("~images/icon_keyboard_shortcuts.png"); }
  966. }
  967. .column-link[href="/web/blocks"] {
  968. background-image: url("~images/icon_blocks.png");
  969. &:hover { background-image: url("~images/icon_blocks.png"); }
  970. }
  971. .column-link[href="/web/mutes"] {
  972. background-image: url("~images/icon_mutes.png");
  973. &:hover { background-image: url("~images/icon_mutes.png"); }
  974. }
  975. .column-link[href="/settings/preferences"] {
  976. background-image: url("~images/icon_settings.png");
  977. &:hover { background-image: url("~images/icon_settings.png"); }
  978. }
  979. .column-link[href="/about/more"] {
  980. background-image: url("~images/icon_about.png");
  981. &:hover { background-image: url("~images/icon_about.png"); }
  982. }
  983. .column-link[href="/auth/sign_out"] {
  984. background-image: url("~images/icon_logout.png");
  985. &:hover { background-image: url("~images/icon_logout.png"); }
  986. }
  987. .getting-started__footer {
  988. display:none;
  989. }
  990. .getting-started__wrapper::before {
  991. content:"Mastodon 95";
  992. font-weight:bold;
  993. font-size:23px;
  994. color:white;
  995. line-height:30px;
  996. padding-left:20px;
  997. padding-right:40px;
  998. left:0px;
  999. bottom:-30px;
  1000. display:block;
  1001. position:absolute;
  1002. background-color:#7f7f7f;
  1003. width:200%;
  1004. height:30px;
  1005. -ms-transform: rotate(-90deg);
  1006. -webkit-transform: rotate(-90deg);
  1007. transform: rotate(-90deg);
  1008. transform-origin:top left;
  1009. }
  1010. .getting-started__wrapper {
  1011. @include win95-border-outset();
  1012. background-color:$win95-bg;
  1013. }
  1014. .column .static-content.getting-started {
  1015. display:none;
  1016. }
  1017. .keyboard-shortcuts kbd {
  1018. background-color: $win95-bg;
  1019. }
  1020. .account__header {
  1021. background-color:#7f7f7f;
  1022. }
  1023. .account__header .account__header__content {
  1024. color:white;
  1025. }
  1026. .account-authorize__wrapper {
  1027. border: 2px groove $win95-bg;
  1028. margin: 2px;
  1029. padding:2px;
  1030. }
  1031. .account--panel {
  1032. background-color: $win95-bg;
  1033. border:0px;
  1034. border-top: 2px groove $win95-bg;
  1035. }
  1036. .account-authorize .account__header__content {
  1037. color:black;
  1038. margin:10px;
  1039. }
  1040. .account__action-bar__tab > span {
  1041. color:black;
  1042. font-weight:bold;
  1043. }
  1044. .account__action-bar__tab strong {
  1045. color:black;
  1046. }
  1047. .account__action-bar {
  1048. border: unset;
  1049. }
  1050. .account__action-bar__tab {
  1051. border: 1px outset $win95-bg;
  1052. }
  1053. .account__action-bar__tab:active {
  1054. @include win95-inset();
  1055. }
  1056. .dropdown--active .dropdown__content > ul,
  1057. .dropdown-menu {
  1058. background:$win95-tooltip-yellow;
  1059. border-radius:0px;
  1060. border:1px solid black;
  1061. box-shadow:unset;
  1062. }
  1063. .dropdown-menu a {
  1064. background-color:transparent;
  1065. }
  1066. .dropdown--active::after {
  1067. display:none;
  1068. }
  1069. .dropdown--active .icon-button {
  1070. color:black;
  1071. @include win95-inset();
  1072. }
  1073. .dropdown--active .dropdown__content > ul > li > a {
  1074. background:transparent;
  1075. }
  1076. .dropdown--active .dropdown__content > ul > li > a:hover {
  1077. background:transparent;
  1078. color:black;
  1079. text-decoration:underline;
  1080. }
  1081. .dropdown__sep,
  1082. .dropdown-menu__separator
  1083. {
  1084. border-color:#7f7f7f;
  1085. }
  1086. .detailed-status__action-bar-dropdown .dropdown--active .dropdown__content.dropdown__left {
  1087. left:unset;
  1088. }
  1089. .dropdown > .icon-button, .detailed-status__button > .icon-button,
  1090. .status__action-bar > .icon-button, .star-icon i {
  1091. /* i don't know what's going on with the inline
  1092. styles someone should look at the react code */
  1093. height: 25px !important;
  1094. width: 28px !important;
  1095. box-sizing: border-box;
  1096. }
  1097. .status__action-bar-button .fa-floppy-o {
  1098. padding-top: 2px;
  1099. }
  1100. .status__action-bar-dropdown {
  1101. position: relative;
  1102. top: -3px;
  1103. }
  1104. .detailed-status__action-bar-dropdown .dropdown {
  1105. position: relative;
  1106. top: -4px;
  1107. }
  1108. .notification .status__action-bar {
  1109. border-bottom: none;
  1110. }
  1111. .notification .status {
  1112. margin-bottom: 4px;
  1113. }
  1114. .status__wrapper .status {
  1115. margin-bottom: 3px;
  1116. }
  1117. .status__wrapper {
  1118. margin-bottom: 8px;
  1119. }
  1120. .icon-button .fa-retweet {
  1121. position: relative;
  1122. top: -1px;
  1123. }
  1124. .embed-modal, .error-modal, .onboarding-modal,
  1125. .actions-modal, .boost-modal, .confirmation-modal, .report-modal {
  1126. @include win95-outset();
  1127. background:$win95-bg;
  1128. }
  1129. .actions-modal::before,
  1130. .boost-modal::before,
  1131. .confirmation-modal::before,
  1132. .report-modal::before {
  1133. content: "Confirmation";
  1134. display:block;
  1135. background:$win95-window-header;
  1136. color:white;
  1137. font-weight:bold;
  1138. padding-left:2px;
  1139. }
  1140. .boost-modal::before {
  1141. content: "Boost confirmation";
  1142. }
  1143. .boost-modal__action-bar > div > span:before {
  1144. content: "Tip: ";
  1145. font-weight:bold;
  1146. }
  1147. .boost-modal__action-bar, .confirmation-modal__action-bar, .report-modal__action-bar {
  1148. background:$win95-bg;
  1149. margin-top:-15px;
  1150. }
  1151. .embed-modal h4, .error-modal h4, .onboarding-modal h4 {
  1152. background:$win95-window-header;
  1153. color:white;
  1154. font-weight:bold;
  1155. padding:2px;
  1156. font-size:13px;
  1157. text-align:left;
  1158. }
  1159. .confirmation-modal__action-bar {
  1160. .confirmation-modal__cancel-button {
  1161. color:black;
  1162. &:active,
  1163. &:focus,
  1164. &:hover {
  1165. color:black;
  1166. }
  1167. &:active {
  1168. @include win95-inset();
  1169. }
  1170. }
  1171. }
  1172. .embed-modal .embed-modal__container .embed-modal__html,
  1173. .embed-modal .embed-modal__container .embed-modal__html:focus {
  1174. background:white;
  1175. color:black;
  1176. @include win95-inset();
  1177. }
  1178. .modal-root__overlay,
  1179. .account__header > div {
  1180. background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAFnpUWHRUaXRsZQAACJnLzU9JzElKBwALgwLXaCRlPwAAABd6VFh0QXV0aG9yAAAImUvOKMrPS8wBAAuaAugOwWPyAAAAEUlEQVQImWNgYGD4z4AE/gMADwMB/414xEUAAAAASUVORK5CYII=');
  1181. }
  1182. .admin-wrapper::before {
  1183. position:absolute;
  1184. top:0px;
  1185. content:"Control Panel";
  1186. color:white;
  1187. background-color:$win95-window-header;
  1188. font-size:13px;
  1189. font-weight:bold;
  1190. width:calc(100%);
  1191. margin: 2px;
  1192. display:block;
  1193. padding:2px;
  1194. padding-left:22px;
  1195. box-sizing:border-box;
  1196. }
  1197. .admin-wrapper {
  1198. position:relative;
  1199. background: $win95-bg;
  1200. @include win95-outset();
  1201. width:70vw;
  1202. height:80vh;
  1203. margin:10vh auto;
  1204. color: black;
  1205. padding-top:24px;
  1206. flex-direction:column;
  1207. overflow:hidden;
  1208. }
  1209. @media screen and (max-width: 1120px) {
  1210. .admin-wrapper {
  1211. width:90vw;
  1212. height:95vh;
  1213. margin:2.5vh auto;
  1214. }
  1215. }
  1216. @media screen and (max-width: 740px) {
  1217. .admin-wrapper {
  1218. width:100vw;
  1219. height:95vh;
  1220. height:calc(100vh - 24px);
  1221. margin:0px 0px 0px 0px;
  1222. }
  1223. }
  1224. .admin-wrapper .sidebar-wrapper {
  1225. position:static;
  1226. height:auto;
  1227. flex: 0 0 auto;
  1228. margin:2px;
  1229. }
  1230. .admin-wrapper .content-wrapper {
  1231. flex: 1 1 auto;
  1232. width:calc(100% - 20px);
  1233. @include win95-border-outset();
  1234. position:relative;
  1235. margin-left:10px;
  1236. margin-right:10px;
  1237. margin-bottom:40px;
  1238. box-sizing:border-box;
  1239. }
  1240. .admin-wrapper .content {
  1241. background-color: $win95-bg;
  1242. width: 100%;
  1243. max-width:100%;
  1244. min-height:100%;
  1245. box-sizing:border-box;
  1246. position:relative;
  1247. }
  1248. .admin-wrapper .sidebar {
  1249. position:static;
  1250. background: $win95-bg;
  1251. color:black;
  1252. width: 100%;
  1253. height:auto;
  1254. padding-bottom: 20px;
  1255. }
  1256. .admin-wrapper .sidebar .logo {
  1257. position:absolute;
  1258. top:2px;
  1259. left:4px;
  1260. width:18px;
  1261. height:18px;
  1262. margin:0px;
  1263. }
  1264. .admin-wrapper .sidebar > ul {
  1265. background: $win95-bg;
  1266. margin:0px;
  1267. margin-left:8px;
  1268. color:black;
  1269. & > li {
  1270. display:inline-block;
  1271. &#settings,
  1272. &#admin {
  1273. padding:2px;
  1274. border: 0px solid transparent;
  1275. }
  1276. &#logout {
  1277. position:absolute;
  1278. @include win95-outset();
  1279. right:12px;
  1280. bottom:10px;
  1281. }
  1282. &#web {
  1283. display:inline-block;
  1284. @include win95-outset();
  1285. position:absolute;
  1286. left: 12px;
  1287. bottom: 10px;
  1288. }
  1289. & > a {
  1290. display:inline-block;
  1291. @include win95-tab();
  1292. padding:2px 5px;
  1293. margin:0px;
  1294. color:black;
  1295. vertical-align:baseline;
  1296. &.selected {
  1297. background: $win95-bg;
  1298. color:black;
  1299. padding-top: 4px;
  1300. padding-bottom:4px;
  1301. }
  1302. &:hover {
  1303. background: $win95-bg;
  1304. color:black;
  1305. }
  1306. }
  1307. & > ul {
  1308. width:calc(100% - 20px);
  1309. background: transparent;
  1310. position:absolute;
  1311. left: 10px;
  1312. top:54px;
  1313. z-index:3;
  1314. & > li {
  1315. background: $win95-bg;
  1316. display: inline-block;
  1317. vertical-align:baseline;
  1318. & > a {
  1319. background: $win95-bg;
  1320. @include win95-tab();
  1321. color:black;
  1322. padding:2px 5px;
  1323. position:relative;
  1324. z-index:3;
  1325. &.selected {
  1326. background: $win95-bg;
  1327. color:black;
  1328. padding-bottom:4px;
  1329. padding-top: 4px;
  1330. padding-right:7px;
  1331. margin-left:-2px;
  1332. margin-right:-2px;
  1333. position:relative;
  1334. z-index:4;
  1335. &:first-child {
  1336. margin-left:0px;
  1337. }
  1338. &:hover {
  1339. background: transparent;
  1340. color:black;
  1341. }
  1342. }
  1343. &:hover {
  1344. background: $win95-bg;
  1345. color:black;
  1346. }
  1347. }
  1348. }
  1349. }
  1350. }
  1351. }
  1352. @media screen and (max-width: 1520px) {
  1353. .admin-wrapper .sidebar > ul > li > ul {
  1354. max-width:1000px;
  1355. }
  1356. .admin-wrapper .sidebar {
  1357. padding-bottom: 45px;
  1358. }
  1359. }
  1360. @media screen and (max-width: 600px) {
  1361. .admin-wrapper .sidebar > ul > li > ul {
  1362. max-width:500px;
  1363. }
  1364. .admin-wrapper {
  1365. .sidebar {
  1366. padding:0px;
  1367. padding-bottom: 70px;
  1368. width: 100%;
  1369. height: auto;
  1370. }
  1371. .content-wrapper {
  1372. overflow:auto;
  1373. height:80%;
  1374. height:calc(100% - 150px);
  1375. }
  1376. }
  1377. }
  1378. .flash-message {
  1379. background-color:$win95-tooltip-yellow;
  1380. color:black;
  1381. border:1px solid black;
  1382. border-radius:0px;
  1383. position:absolute;
  1384. top:0px;
  1385. left:0px;
  1386. width:100%;
  1387. }
  1388. .admin-wrapper table {
  1389. background-color: white;
  1390. @include win95-border-slight-inset();
  1391. }
  1392. .admin-wrapper .content h2,
  1393. .simple_form .input.with_label .label_input > label,
  1394. .admin-wrapper .content h6,
  1395. .admin-wrapper .content > p,
  1396. .admin-wrapper .content .muted-hint,
  1397. .simple_form span.hint,
  1398. .simple_form h4,
  1399. .simple_form .check_boxes .checkbox label,
  1400. .simple_form .input.with_label.boolean .label_input > label,
  1401. .filters .filter-subset a,
  1402. .simple_form .input.radio_buttons .radio label,
  1403. a.table-action-link,
  1404. a.table-action-link:hover,
  1405. .simple_form .input.with_block_label > label,
  1406. .simple_form p.hint {
  1407. color:black;
  1408. }
  1409. .table > tbody > tr:nth-child(2n+1) > td,
  1410. .table > tbody > tr:nth-child(2n+1) > th {
  1411. background-color:white;
  1412. }
  1413. .simple_form input[type=text],
  1414. .simple_form input[type=number],
  1415. .simple_form input[type=email],
  1416. .simple_form input[type=password],
  1417. .simple_form textarea {
  1418. color:black;
  1419. background-color:white;
  1420. @include win95-border-slight-inset();
  1421. &:active, &:focus {
  1422. background-color:white;
  1423. }
  1424. }
  1425. .simple_form button,
  1426. .simple_form .button,
  1427. .simple_form .block-button
  1428. {
  1429. background: $win95-bg;
  1430. @include win95-outset();
  1431. color:black;
  1432. font-weight: normal;
  1433. &:hover {
  1434. background: $win95-bg;
  1435. }
  1436. }
  1437. .simple_form .warning, .table-form .warning
  1438. {
  1439. background: $win95-tooltip-yellow;
  1440. color:black;
  1441. box-shadow: unset;
  1442. text-shadow:unset;
  1443. border:1px solid black;
  1444. a {
  1445. color: blue;
  1446. text-decoration:underline;
  1447. }
  1448. }
  1449. .simple_form button.negative,
  1450. .simple_form .button.negative,
  1451. .simple_form .block-button.negative
  1452. {
  1453. background: $win95-bg;
  1454. }
  1455. .filters .filter-subset {
  1456. border: 2px groove $win95-bg;
  1457. padding:2px;
  1458. }
  1459. .filters .filter-subset a::before {
  1460. content: "";
  1461. background-color:white;
  1462. border-radius:50%;
  1463. border:2px solid black;
  1464. border-top-color:#7f7f7f;
  1465. border-left-color:#7f7f7f;
  1466. border-bottom-color:#f5f5f5;
  1467. border-right-color:#f5f5f5;
  1468. width:12px;
  1469. height:12px;
  1470. display:inline-block;
  1471. vertical-align:middle;
  1472. margin-right:2px;
  1473. }
  1474. .filters .filter-subset a.selected::before {
  1475. background-color:black;
  1476. box-shadow: inset 0 0 0 3px white;
  1477. }
  1478. .filters .filter-subset a,
  1479. .filters .filter-subset a:hover,
  1480. .filters .filter-subset a.selected {
  1481. color:black;
  1482. border-bottom: 0px solid transparent;
  1483. }