_typography.scss 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. textarea {
  2. overflow: auto;
  3. resize: vertical;
  4. }
  5. /*------- Alignments & values-------*/
  6. .text-monospace {
  7. font-family: Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  8. }
  9. .text-justify {
  10. text-align: justify !important;
  11. }
  12. .text-nowrap {
  13. white-space: nowrap !important;
  14. }
  15. .text-truncate {
  16. overflow: hidden;
  17. text-overflow: ellipsis;
  18. white-space: nowrap;
  19. }
  20. .text-start {
  21. text-align: start !important;
  22. }
  23. .text-end {
  24. text-align: end !important;
  25. }
  26. .text-center {
  27. text-align: center !important;
  28. }
  29. @media (min-width: 576px) {
  30. .text-sm-left {
  31. text-align: start !important;
  32. }
  33. .text-sm-right {
  34. text-align: end !important;
  35. }
  36. .text-sm-center {
  37. text-align: center !important;
  38. }
  39. }
  40. @media (min-width: 768px) {
  41. .text-md-left {
  42. text-align: start !important;
  43. }
  44. .text-md-right {
  45. text-align: end !important;
  46. }
  47. .text-md-center {
  48. text-align: center !important;
  49. }
  50. }
  51. @media (min-width: 992px) {
  52. .text-lg-left {
  53. text-align: start !important;
  54. }
  55. .text-lg-right {
  56. text-align: end !important;
  57. }
  58. .text-lg-center {
  59. text-align: center !important;
  60. }
  61. }
  62. @media (min-width: 1280px) {
  63. .text-xl-left {
  64. text-align: start !important;
  65. }
  66. .text-xl-right {
  67. text-align: end !important;
  68. }
  69. .text-xl-center {
  70. text-align: center !important;
  71. }
  72. }
  73. .text-lowercase {
  74. text-transform: lowercase !important;
  75. }
  76. .text-uppercase {
  77. text-transform: uppercase !important;
  78. }
  79. .text-capitalize {
  80. text-transform: capitalize !important;
  81. }
  82. .text-white-transparent {
  83. color: $white !important;
  84. opacity: 0.9;
  85. }
  86. .text-white-transparent-1 {
  87. color: $white !important;
  88. opacity: 0.5;
  89. }
  90. a.text-primary {
  91. &:hover, &:focus {
  92. color: #4e12b6 !important;
  93. }
  94. }
  95. .text-secondary {
  96. color: $secondary !important;
  97. }
  98. a.text-secondary {
  99. &:hover, &:focus {
  100. color: $secondary !important;
  101. }
  102. }
  103. .text-success {
  104. color: $success !important;
  105. }
  106. a.text-success {
  107. &:hover, &:focus {
  108. color: #448700 !important;
  109. }
  110. }
  111. .text-info {
  112. color: $info !important;
  113. }
  114. a.text-info {
  115. &:hover, &:focus {
  116. color: #1594ef !important;
  117. }
  118. }
  119. .text-warning {
  120. color: $warning !important;
  121. }
  122. a.text-warning {
  123. &:hover, &:focus {
  124. color: #c29d0b !important;
  125. }
  126. }
  127. .text-danger {
  128. color: $danger !important;
  129. }
  130. a.text-danger {
  131. &:hover, &:focus {
  132. color: #d22827 !important;
  133. }
  134. }
  135. .text-light {
  136. color: #ebedef !important;
  137. }
  138. a.text-light {
  139. &:hover, &:focus {
  140. color: #dae0e5 !important;
  141. }
  142. }
  143. .text-dark {
  144. color: #100f15 !important;
  145. }
  146. a.text-dark {
  147. &:hover, &:focus {
  148. color: $primary-1 !important;
  149. }
  150. }
  151. .text-body {
  152. color: #495057 !important;
  153. }
  154. .text-muted {
  155. color: #74829c!important;
  156. }
  157. .text-black-50 {
  158. color: $black-5 !important;
  159. }
  160. .text-white-50 {
  161. color: $white-5 !important;
  162. }
  163. .text-hide {
  164. font: 0/0 a;
  165. color: transparent;
  166. text-shadow: none;
  167. background-color: transparent;
  168. border: 0;
  169. }
  170. .text-wrap {
  171. font-size: 14px;
  172. line-height: 1.66;
  173. > {
  174. :first-child {
  175. margin-block-start: 0;
  176. }
  177. :last-child {
  178. margin-block-end: 0;
  179. }
  180. h1, h2, h3, h4, h5, h6 {
  181. margin-block-start: 1em;
  182. }
  183. }
  184. }
  185. /*----- Typography ------*/
  186. .heading-inverse {
  187. background-color: #333;
  188. color: $white;
  189. padding: 5px;
  190. }
  191. .heading-success {
  192. background-color: #1643A3;
  193. color: $white;
  194. padding: 5px;
  195. }
  196. .heading-info {
  197. background-color: $azure;
  198. color: $white;
  199. padding: 5px;
  200. }
  201. .heading-warning {
  202. background-color: #ecb403;
  203. color: $white;
  204. padding: 5px;
  205. }
  206. .heading-danger {
  207. background-color: #c21a1a;
  208. color: $white;
  209. padding: 5px;
  210. }
  211. .text-inherit {
  212. color: inherit !important;
  213. }
  214. .text-default {
  215. color: #181c31 !important;
  216. }
  217. .text-muted-dark {
  218. color: #1c232f !important;
  219. }
  220. .text-fb-blue {
  221. color: #234684 !important;
  222. }
  223. .text-blue {
  224. color: #467fcf !important;
  225. }
  226. .text-indigo {
  227. color: $indigo !important;
  228. }
  229. .text-purple {
  230. color: #867efc !important;
  231. }
  232. .text-lightpink-red {
  233. color: #ff7088 !important;
  234. }
  235. .text-lightgreen {
  236. color: #26eda2 !important;
  237. }
  238. .text-pink {
  239. color: #ec82ef !important;
  240. }
  241. .text-red {
  242. color: #c21a1a !important;
  243. }
  244. .text-orange {
  245. color: $orange !important;
  246. }
  247. .text-yellow {
  248. color: #ecb403 !important;
  249. }
  250. .text-green {
  251. color: $green !important;
  252. }
  253. .text-green-1 {
  254. color: #0dff01 !important;
  255. }
  256. .text-teal {
  257. color: #2bcbba !important;
  258. }
  259. .text-cyan {
  260. color: #17a2b8 !important;
  261. }
  262. .text-white {
  263. color: $white !important;
  264. }
  265. .text-gray {
  266. color: #969696 !important;
  267. }
  268. .text-gray-dark {
  269. color: $dark !important;
  270. }
  271. .text-azure {
  272. color: $azure !important;
  273. }
  274. .text-lime {
  275. color: $lime !important;
  276. }
  277. textarea[cols] {
  278. height: auto;
  279. }
  280. .text-end {
  281. text-align: end;
  282. }
  283. .text-transparent {
  284. color: #332525;
  285. opacity: 0.5;
  286. }
  287. .text-facebook {
  288. color: #3b5998;
  289. }
  290. .text-google-plus {
  291. color: #dd4b39;
  292. }
  293. .text-twitter {
  294. color: #1da1f2;
  295. }
  296. .text-pinterest {
  297. color: #bd081c;
  298. }
  299. textarea.form-control {
  300. height: auto;
  301. }
  302. .text-primary-gradient {
  303. text-transform: uppercase;
  304. -webkit-background-clip: text;
  305. background-clip: text;
  306. -webkit-text-fill-color: transparent;
  307. }
  308. .text-secondary-gradient {
  309. text-transform: uppercase;
  310. background: $secondary-gradient;
  311. -webkit-background-clip: text;
  312. -webkit-text-fill-color: transparent;
  313. text-transform: uppercase;
  314. background: linear-gradient(to right, #cd489c 0%, #ce4ba4 100%);
  315. -webkit-background-clip: text;
  316. background-clip: text;
  317. -webkit-text-fill-color: transparent;
  318. }
  319. .text-warning-gradient {
  320. text-transform: uppercase;
  321. background: $warning-gradient;
  322. -webkit-background-clip: text;
  323. background-clip: text;
  324. -webkit-text-fill-color: transparent;
  325. }
  326. .text-info-gradient {
  327. text-transform: uppercase;
  328. background: linear-gradient(to right bottom, #1e63c3 0%, #00f2fe 100%);
  329. -webkit-background-clip: text;
  330. background-clip: text;
  331. -webkit-text-fill-color: transparent;
  332. }
  333. .text-danger-gradient {
  334. text-transform: uppercase;
  335. background: linear-gradient(to right, #FF416C 0%, #FF4B2B 100%);
  336. -webkit-background-clip: text;
  337. background-clip: text;
  338. -webkit-text-fill-color: transparent;
  339. }
  340. .text-success-gradient {
  341. text-transform: uppercase;
  342. background: $success-gradient;
  343. -webkit-background-clip: text;
  344. background-clip: text;
  345. -webkit-text-fill-color: transparent;
  346. }
  347. .text-facebook-gradient {
  348. text-transform: uppercase;
  349. background: linear-gradient(to right bottom, #1e3c72 0%, #3d6cbf 100%);
  350. -webkit-background-clip: text;
  351. background-clip: text;
  352. -webkit-text-fill-color: transparent;
  353. }
  354. .text-twitter-gradient {
  355. text-transform: uppercase;
  356. background: linear-gradient(to right bottom, #1e63c3 0%, #00f2fe 100%);
  357. -webkit-background-clip: text;
  358. background-clip: text;
  359. -webkit-text-fill-color: transparent;
  360. }
  361. /*--text-shadow--*/
  362. .text-success-shadow {
  363. text-shadow: 0 5px 10px rgba(19, 191, 166, 0.3) !important;
  364. }
  365. .text-info-shadow {
  366. text-shadow: 0 5px 10px rgba(7, 116, 248, 0.3) !important;
  367. }
  368. .text-warning-shadow {
  369. text-shadow: 0 5px 10px rgba(255, 162, 43, 0.3) !important;
  370. }
  371. .text-danger-shadow {
  372. text-shadow: 0 5px 10px rgba(255, 56, 43, 0.3) !important;
  373. }
  374. .text-pink-shadow {
  375. text-shadow: 0 5px 10px rgba(213, 109, 252, 0.3) !important;
  376. }
  377. .text-purple-shadow {
  378. text-shadow: 0 5px 10px rgba(96, 77, 216, 0.3) !important;
  379. }
  380. .text-dark-shadow {
  381. text-shadow: 0 5px 10px $black-3 !important;
  382. }
  383. .text-white-shadow {
  384. text-shadow: 0 5px 10px $white-3 !important;
  385. }
  386. .text-secondary-shadow {
  387. text-shadow: 0 5px 10px rgba(130, 207, 242, 0.3);
  388. }