Advertisement
b0rn-to-be-wild

FONT WIDGET CSS

Nov 24th, 2018
501
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.49 KB | None | 0 0
  1. /*----- FONT WIDGET BY @BORNTOBEWILDCODES -----*/
  2.  
  3. #font-widget {
  4. position:fixed;
  5. top:{text:Font widget top margin};
  6. left:20px;
  7. width:312px;
  8. height:328px;
  9. color:#fff;
  10. z-index:100000;
  11. overflow:hidden;
  12. {block:ifFontWidgetOnTheRight}
  13. left:auto!important;
  14. right:20px!important;
  15. {/block:ifFontWidgetOnTheRight}
  16. }
  17.  
  18. /*-- BUTTON --*/
  19.  
  20. #font-box-bttn {
  21. float:left;
  22. {block:ifFontWidgetOnTheRight}
  23. float:right!important;
  24. margin-right:0px!important;
  25. margin-left:8px!important;
  26. {/block:ifFontWidgetOnTheRight}
  27. margin:0;
  28. margin-right:8px;
  29. width:20px;
  30. height:20px;
  31. padding:10px;
  32. font-size:16px;
  33. line-height:20px;
  34. text-align:center;
  35. cursor:pointer;
  36. font-family:{select:Font widget accent font};
  37. color:{color:Font widget text};
  38. background:{color:Font widget background};
  39. border:1px solid {color:Font widget border};
  40. border-radius:{text:Font widget border radius};
  41. }
  42.  
  43. #font-box-bttn:hover {
  44. color:{color:Font widget input background};
  45. }
  46.  
  47. /*-- FONT BOX --*/
  48.  
  49. #font-box {
  50. float:right;
  51. margin-right:2px;
  52. width:230px;
  53. height:auto;
  54. overflow-y:auto;
  55. padding:10px;
  56. line-height:12px;
  57. color:{color:Font widget text};
  58. background:{color:Font widget background};
  59. border:1px solid {color:Font widget border};
  60. border-radius:{text:Font widget border radius};
  61. overflow:hidden;
  62. display:none;
  63. }
  64.  
  65. /* Font box heading */
  66.  
  67. #font-box h2 {
  68. margin:0;
  69. margin-bottom:10px;
  70. padding:0;
  71. font-size:16px;
  72. line-height:20px;
  73. color:{color:Font widget text};
  74. font-family:{select:Font widget accent font};
  75. }
  76.  
  77. /* Font box option */
  78.  
  79. .font-box-option {
  80. margin:2px 0;
  81. padding:3px 10px;
  82. width:calc(100% - 20px);
  83. font-family:{select:Font widget body font};
  84. font-size:12px;
  85. line-height:30px;
  86. color:{color:Font widget text};
  87. background:{color:Font widget input background};
  88. border-radius:{text:Font widget border radius};
  89. }
  90.  
  91. #font-box span {
  92. width:60px;
  93. }
  94.  
  95. #font-box select {
  96. margin-left:20px;
  97. width:120px;
  98. height:20px;
  99. font-size:12px;
  100. font-family:{select:Font widget body font};
  101. color:{color:Font widget input text};
  102. background:{color:Font widget input background};
  103. box-shadow:none;
  104. border:none;
  105. border-radius:none;
  106. }
  107.  
  108. #font-box input[type=text] {
  109. margin-left:25px;
  110. width:120px;
  111. height:20px;
  112. font-size:12px;
  113. text-align:right;
  114. font-family:{select:Font widget body font};
  115. color:{color:Font widget input text};
  116. background:{color:Font widget input background};
  117. box-shadow:none;
  118. border:none;
  119. border-radius:none;
  120. }
  121.  
  122. #font-box input::placeholder {
  123. color:{color:Font widget text};
  124. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement