demo.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. .custom-template {
  2. position: fixed;
  3. top: 50%;
  4. transform: translateY(-50%);
  5. right: -325px;
  6. width: 325px;
  7. height: max-content;
  8. display: block;
  9. z-index: 1;
  10. background: #ffffff;
  11. transition: all .3s;
  12. z-index: 1003;
  13. box-shadow: -1px 1px 20px rgba(69, 65, 78, 0.15);
  14. border-top-left-radius: 5px;
  15. border-bottom-left-radius: 5px;
  16. transition: all .5s;
  17. }
  18. .custom-template.open {
  19. right: 0px;
  20. }
  21. .custom-template .custom-toggle {
  22. position: absolute;
  23. width: 45px;
  24. height: 45px;
  25. background: rgb(88, 103, 221);
  26. top: 50%;
  27. left: -45px;
  28. transform: translateY(-50%);
  29. display: flex;
  30. align-items: center;
  31. justify-content: center;
  32. text-align: center;
  33. border-top-left-radius: 5px;
  34. border-bottom-left-radius: 5px;
  35. border-right: 1px solid #177dff;
  36. cursor: pointer;
  37. color: #ffffff;
  38. box-shadow: -5px 5px 20px rgba(69, 65, 78, 0.21);
  39. }
  40. .custom-template .custom-toggle i {
  41. font-size: 20px;
  42. animation: 1.3s spin linear infinite;
  43. }
  44. .custom-template .title{
  45. padding: 15px;
  46. text-align: left;
  47. font-size: 16px;
  48. font-weight: 600;
  49. color: #ffffff;
  50. border-top-left-radius: 5px;
  51. border-bottom: 1px solid #ebedf2;
  52. background: #5867dd;
  53. }
  54. .custom-template .custom-content{
  55. padding: 20px 15px;
  56. max-height: calc(100vh - 90px);
  57. overflow: auto;
  58. }
  59. .custom-template .switcher {
  60. padding: 5px 0;
  61. }
  62. .custom-template .switch-block h4 {
  63. font-size: 13px;
  64. font-weight: 600;
  65. color: #444;
  66. line-height: 1.3;
  67. margin-bottom: 0;
  68. text-transform: uppercase;
  69. }
  70. .custom-template .btnSwitch {
  71. margin-top: 20px;
  72. margin-bottom: 25px;
  73. }
  74. .custom-template .btnSwitch button {
  75. border: 0px;
  76. height: 20px;
  77. width: 20px;
  78. outline: 0;
  79. margin-right: 10px;
  80. margin-bottom: 10px;
  81. cursor: pointer;
  82. padding: 0;
  83. border-radius: 50%;
  84. border: 2px solid #eee;
  85. position: relative;
  86. transition: all .2s;
  87. }
  88. .custom-template .btnSwitch button:hover{
  89. border-color: #0bf;
  90. }
  91. .custom-template .btnSwitch button.selected{
  92. border-color: #0bf;
  93. }
  94. .custom-template .img-pick {
  95. padding: 4px;
  96. min-height: 100px;
  97. border-radius: 5px;
  98. cursor: pointer;
  99. }
  100. .custom-template .img-pick img {
  101. height: 100%;
  102. height: 100px;
  103. width: 100%;
  104. border-radius: 5px;
  105. border: 2px solid transparent;
  106. }
  107. .custom-template .img-pick:hover img, .custom-template .img-pick.active img{
  108. border-color: #177dff;
  109. }
  110. .demo .btn, .demo .progress{
  111. margin-bottom: 15px !important;
  112. }
  113. .demo .form-check-label, .demo .form-radio-label{
  114. margin-right: 15px;
  115. }
  116. .demo .toggle, .demo .btn-group{
  117. margin-right: 15px;
  118. }
  119. .demo #slider{
  120. margin-bottom: 15px;
  121. }
  122. .table-typo tbody > tr > td{
  123. border-color: #fafafa;
  124. }
  125. .table-typo tbody > tr > td:first-child{
  126. min-width: 200px;
  127. vertical-align: bottom;
  128. }
  129. .table-typo tbody > tr > td:first-child p{
  130. font-size: 14px;
  131. color: #333;
  132. }
  133. .demo-icon {
  134. display: flex;
  135. flex-direction: row;
  136. align-items: center;
  137. margin-bottom: 20px;
  138. padding: 10px;
  139. transition: all .2s;
  140. }
  141. .demo-icon:hover{
  142. background-color: #f4f5f8;
  143. border-radius: 3px;
  144. }
  145. .demo-icon .icon-preview{
  146. font-size: 1.8rem;
  147. margin-right: 10px;
  148. line-height: 1;
  149. color: #333439;
  150. }
  151. body[data-background-color="dark"] .demo-icon .icon-preview {
  152. color: #969696;
  153. }
  154. .demo-icon .icon-class{
  155. font-weight: 300;
  156. font-size: 13px;
  157. color: #777;
  158. }
  159. body[data-background-color="dark"] .demo-icon .icon-class {
  160. color: #a9a8a8;
  161. }
  162. .form-show-notify .form-control{
  163. margin-bottom: 15px;
  164. }
  165. .form-show-notify label{
  166. padding-top: 0.65rem;
  167. }
  168. .map-demo {
  169. height: 300px;
  170. }
  171. #instructions li{
  172. padding: 5px 0;
  173. }
  174. .row-demo-grid{
  175. margin-bottom: 15px;
  176. }
  177. .row-demo-grid [class^="col"]{
  178. text-align: center;
  179. }
  180. .row-demo-grid [class^="col"] .card-body{
  181. background: #ddd;
  182. }
  183. .btnSwitch button[data-color="white"] {
  184. background-color: #fff;
  185. }
  186. .btnSwitch button[data-color="grey"] {
  187. background-color: #f1f1f1;
  188. }
  189. .btnSwitch button[data-color="black"] {
  190. background-color: #191919;
  191. }
  192. .btnSwitch button[data-color="dark"] {
  193. background-color: #1a2035;
  194. }
  195. .btnSwitch button[data-color="blue"] {
  196. background-color: #1572E8;
  197. }
  198. .btnSwitch button[data-color="purple"] {
  199. background-color: #6861CE;
  200. }
  201. .btnSwitch button[data-color="light-blue"] {
  202. background-color: #48ABF7;
  203. }
  204. .btnSwitch button[data-color="green"] {
  205. background-color: #01561F;
  206. }
  207. .btnSwitch button[data-color="orange"] {
  208. background-color: #FFAD46;
  209. }
  210. .btnSwitch button[data-color="red"] {
  211. background-color: #F25961;
  212. }
  213. .btnSwitch button[data-color="dark2"] {
  214. background-color: #1f283e;
  215. }
  216. .btnSwitch button[data-color="blue2"] {
  217. background-color: #1269DB;
  218. }
  219. .btnSwitch button[data-color="purple2"] {
  220. background-color: #5C55BF;
  221. }
  222. .btnSwitch button[data-color="light-blue2"] {
  223. background-color: #3697E1;
  224. }
  225. .btnSwitch button[data-color="green2"] {
  226. background-color: #01561F;
  227. }
  228. .btnSwitch button[data-color="orange2"] {
  229. background-color: #FF9E27;
  230. }
  231. .btnSwitch button[data-color="red2"] {
  232. background-color: #EA4d56;
  233. }
  234. .btnSwitch button[data-color="bg1"] {
  235. background-color: #fafafa;
  236. }
  237. .btnSwitch button[data-color="bg2"] {
  238. background-color: #fff;
  239. }
  240. .btnSwitch button[data-color="bg3"] {
  241. background-color: #f1f1f1;
  242. }
  243. @media screen and (max-width: 550px){
  244. .table-typo tr td{
  245. display: flex;
  246. align-items: center;
  247. word-break: break-word;
  248. }
  249. .table-typo tr td:first-child p{
  250. margin-bottom: 0px;
  251. }
  252. }
  253. @media screen and (max-width: 576px){
  254. .custom-template .custom-content {
  255. overflow: auto;
  256. }
  257. .form-show-notify > .text-right, .form-show-validation > .text-right {
  258. text-align: left !important;
  259. }
  260. }
  261. @media screen and (max-width: 400px) {
  262. .custom-template {
  263. width: 85% !important;
  264. right: -85%;
  265. }
  266. }