main.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. .btn {
  2. padding-left: 0.75rem;
  3. padding-right: 0.75rem;
  4. }
  5. label.btn {
  6. margin-bottom: 0;
  7. }
  8. .d-flex > .btn {
  9. flex: 1;
  10. }
  11. .carbonads {
  12. border: 1px solid #ccc;
  13. border-radius: 0.25rem;
  14. font-size: 0.875rem;
  15. overflow: hidden;
  16. padding: 1rem;
  17. }
  18. .carbon-wrap {
  19. overflow: hidden;
  20. }
  21. .carbon-img {
  22. clear: left;
  23. display: block;
  24. float: left;
  25. }
  26. .carbon-text,
  27. .carbon-poweredby {
  28. display: block;
  29. margin-left: 140px;
  30. }
  31. .carbon-text,
  32. .carbon-text:hover,
  33. .carbon-text:focus {
  34. color: #fff;
  35. text-decoration: none;
  36. }
  37. .carbon-poweredby,
  38. .carbon-poweredby:hover,
  39. .carbon-poweredby:focus {
  40. color: #ddd;
  41. text-decoration: none;
  42. }
  43. @media (min-width: 768px) {
  44. .carbonads {
  45. float: right;
  46. margin-bottom: -1rem;
  47. margin-top: -1rem;
  48. max-width: 360px;
  49. }
  50. }
  51. .footer {
  52. font-size: 0.875rem;
  53. }
  54. .heart {
  55. color: #ddd;
  56. display: block;
  57. height: 2rem;
  58. line-height: 2rem;
  59. margin-bottom: 0;
  60. margin-top: 1rem;
  61. position: relative;
  62. text-align: center;
  63. width: 100%;
  64. }
  65. .heart:hover {
  66. color: #ff4136;
  67. }
  68. .heart::before {
  69. border-top: 1px solid #eee;
  70. content: " ";
  71. display: block;
  72. height: 0;
  73. left: 0;
  74. position: absolute;
  75. right: 0;
  76. top: 50%;
  77. }
  78. .heart::after {
  79. background-color: #fff;
  80. content: "♥";
  81. padding-left: 0.5rem;
  82. padding-right: 0.5rem;
  83. position: relative;
  84. z-index: 1;
  85. }
  86. .img-container,
  87. .img-preview {
  88. background-color: #f7f7f7;
  89. text-align: center;
  90. width: 100%;
  91. }
  92. .img-container {
  93. margin-bottom: 1rem;
  94. max-height: 497px;
  95. min-height: 200px;
  96. }
  97. @media (min-width: 768px) {
  98. .img-container {
  99. min-height: 497px;
  100. }
  101. }
  102. .img-container > img {
  103. max-width: 100%;
  104. }
  105. .docs-preview {
  106. margin-right: -1rem;
  107. }
  108. .img-preview {
  109. float: left;
  110. margin-bottom: 0.5rem;
  111. margin-right: 0.5rem;
  112. overflow: hidden;
  113. }
  114. .img-preview > img {
  115. max-width: 100%;
  116. }
  117. .preview-lg {
  118. height: 9rem;
  119. width: 16rem;
  120. }
  121. .preview-md {
  122. height: 4.5rem;
  123. width: 8rem;
  124. }
  125. .preview-sm {
  126. height: 2.25rem;
  127. width: 4rem;
  128. }
  129. .preview-xs {
  130. height: 1.125rem;
  131. margin-right: 0;
  132. width: 2rem;
  133. }
  134. .docs-data > .input-group {
  135. margin-bottom: 0.5rem;
  136. }
  137. .docs-data .input-group-prepend .input-group-text {
  138. min-width: 4rem;
  139. }
  140. .docs-data .input-group-append .input-group-text {
  141. min-width: 3rem;
  142. }
  143. .docs-buttons > .btn,
  144. .docs-buttons > .btn-group,
  145. .docs-buttons > .form-control {
  146. margin-bottom: 0.5rem;
  147. margin-right: 0.25rem;
  148. }
  149. .docs-toggles > .btn,
  150. .docs-toggles > .btn-group,
  151. .docs-toggles > .dropdown {
  152. margin-bottom: 0.5rem;
  153. }
  154. .docs-tooltip {
  155. display: block;
  156. margin: -0.5rem -0.75rem;
  157. padding: 0.5rem 0.75rem;
  158. }
  159. .docs-tooltip > .icon {
  160. margin: 0 -0.25rem;
  161. vertical-align: top;
  162. }
  163. .tooltip-inner {
  164. white-space: normal;
  165. }
  166. .btn-upload .tooltip-inner,
  167. .btn-toggle .tooltip-inner {
  168. white-space: nowrap;
  169. }
  170. .btn-toggle {
  171. padding: 0.5rem;
  172. }
  173. .btn-toggle > .docs-tooltip {
  174. margin: -0.5rem;
  175. padding: 0.5rem;
  176. }
  177. @media (max-width: 400px) {
  178. .btn-group-crop {
  179. margin-right: -1rem !important;
  180. }
  181. .btn-group-crop > .btn {
  182. padding-left: 0.5rem;
  183. padding-right: 0.5rem;
  184. }
  185. .btn-group-crop .docs-tooltip {
  186. margin-left: -0.5rem;
  187. margin-right: -0.5rem;
  188. padding-left: 0.5rem;
  189. padding-right: 0.5rem;
  190. }
  191. }
  192. .docs-options .dropdown-menu {
  193. width: 100%;
  194. }
  195. .docs-options .dropdown-menu > li {
  196. font-size: 0.875rem;
  197. padding: 0.125rem 1rem;
  198. }
  199. .docs-options .dropdown-menu .form-check-label {
  200. display: block;
  201. }
  202. .docs-cropped .modal-body {
  203. text-align: center;
  204. }
  205. .docs-cropped .modal-body > img,
  206. .docs-cropped .modal-body > canvas {
  207. max-width: 100%;
  208. }