edit.scss 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. @import "lib/global";
  2. form {
  3. text-align: center;
  4. }
  5. #bar {
  6. width: 652px;
  7. margin: 0 auto;
  8. position: relative;
  9. }
  10. #url {
  11. font-family: 'Raleway', sans-serif;
  12. font-size: 32px;
  13. font-weight: 300;
  14. width: 600px;
  15. padding: 25px;
  16. color: #999;
  17. border-radius: 4px;
  18. border: 1px solid #ccc;
  19. outline: none;
  20. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  21. }
  22. #url:focus {
  23. border: 1px solid #09f;
  24. }
  25. #url::-webkit-input-placeholder {
  26. color: #ddd;
  27. }
  28. #url::-moz-placeholder {
  29. color: #ddd;
  30. }
  31. #cmp {
  32. padding: 25px;
  33. width: 560px;
  34. margin: 0 auto;
  35. text-align: left;
  36. font-size: 21px;
  37. transition: transform 200ms ease-in-out;
  38. transform: scaleY(0);
  39. transform-origin: top center;
  40. border-bottom-left-radius: 4px;
  41. border-bottom-right-radius: 4px;
  42. border: 1px solid #ccc;
  43. }
  44. #cmp.link {
  45. background-color: #f6f6f6;
  46. }
  47. #cmp.fuck {
  48. background-color: #fee;
  49. color: #999;
  50. }
  51. #cmp > a {
  52. color: #09f;
  53. text-decoration: none;
  54. }
  55. #cmp > .hnt {
  56. color: #ddd;
  57. text-shadow: 1px 1px 0 #fff;
  58. }
  59. #cmp > .hnt {
  60. float: right;
  61. }
  62. #cls {
  63. position: absolute;
  64. top: 0;
  65. right: 0;
  66. bottom: 0;
  67. width: 64px;
  68. background-image: url("/s/close.svg");
  69. background-position: center center;
  70. background-repeat: no-repeat;
  71. background-size: 48px 48px;
  72. cursor: pointer;
  73. transition: opacity 200ms cubic-bezier(0.77, 0, 0.175, 1);
  74. opacity: 0;
  75. pointer-events: none;
  76. }
  77. #cls.vis {
  78. opacity: 0.3;
  79. pointer-events: inherit;
  80. }
  81. #cls:hover {
  82. opacity: 0.6;
  83. }