trumbowyg.giphy.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /**
  2. * Trumbowyg v2.22.0 - A lightweight WYSIWYG editor
  3. * Trumbowyg plugin stylesheet
  4. * ------------------------
  5. * @link http://alex-d.github.io/Trumbowyg
  6. * @license MIT
  7. * @author Alexandre Demode (Alex-D)
  8. * Twitter : @AlexandreDemode
  9. * Website : alex-d.fr
  10. */
  11. .trumbowyg-giphy-button svg {
  12. transform: scale(1.22); }
  13. .trumbowyg-giphy-search {
  14. display: block;
  15. width: 80%;
  16. margin: 5%;
  17. padding-left: 10px;
  18. padding-right: 150px; }
  19. .trumbowyg-giphy-close {
  20. position: absolute;
  21. top: calc(5% + 8px);
  22. right: calc(5% - 2px);
  23. width: 30px;
  24. height: 30px;
  25. background: none;
  26. border: 1px solid transparent; }
  27. .trumbowyg-giphy-close:hover, .trumbowyg-giphy-close:focus {
  28. outline: none;
  29. background: #ecf0f1; }
  30. .trumbowyg-giphy-close:focus {
  31. border-color: rgba(0, 0, 0, 0.3); }
  32. .trumbowyg-powered-by-giphy {
  33. position: absolute;
  34. top: calc(5% + 12px);
  35. right: calc(15% + 10px);
  36. pointer-events: none;
  37. -webkit-user-select: none;
  38. -moz-user-select: none;
  39. -ms-user-select: none;
  40. user-select: none; }
  41. .trumbowyg-powered-by-giphy span {
  42. text-transform: uppercase;
  43. font-weight: bold;
  44. font-size: 10px;
  45. opacity: 0.6; }
  46. .trumbowyg-powered-by-giphy svg {
  47. width: 66px;
  48. height: 15px;
  49. vertical-align: bottom;
  50. margin-left: 6px;
  51. opacity: 0.45; }
  52. .trumbowyg-giphy-modal-scroll {
  53. overflow: auto;
  54. overflow-x: hidden;
  55. height: 240px; }
  56. .trumbowyg-giphy-modal {
  57. padding: 0 5%;
  58. -moz-columns: 3;
  59. columns: 3;
  60. -moz-column-gap: 10px;
  61. column-gap: 10px; }
  62. .trumbowyg-giphy-modal .trumbowyg-giphy-no-result {
  63. width: 250%;
  64. margin: 13% 0 0 29%; }
  65. .trumbowyg-giphy-modal .trumbowyg-giphy-offline {
  66. font-size: 18px;
  67. width: 305%;
  68. height: 600px;
  69. margin-top: 95px;
  70. text-align: center; }
  71. .trumbowyg-giphy-modal .img-container {
  72. width: 100%;
  73. margin-bottom: 10px;
  74. background-color: #ecf0f1; }
  75. .trumbowyg-giphy-modal .img-container img {
  76. width: 100%;
  77. cursor: pointer;
  78. opacity: 0;
  79. transition: opacity 150ms; }
  80. .trumbowyg-giphy-modal .img-container img:hover, .trumbowyg-giphy-modal .img-container img:focus {
  81. border: #2ecc71 solid 3px; }
  82. .trumbowyg-giphy-modal .img-container img.tbw-loaded {
  83. opacity: 1; }