Просмотр файла public/assets/css/main.css

Размер файла: 4.9Kb
  1. .section {
  2. background: #fff;
  3. padding: 15px;
  4. overflow: hidden;
  5. }
  6.  
  7. .section-body {
  8. padding: 0.25rem 0;
  9. margin: 0.25rem 0;
  10. overflow: hidden;
  11. }
  12.  
  13. .section-header {
  14. padding-bottom: 0.5rem;
  15. }
  16.  
  17. .section-content {
  18.  
  19. }
  20.  
  21. .section-message {
  22. overflow-wrap: break-word;
  23. }
  24.  
  25. .section-title {
  26. font-size: 1.1rem;
  27. font-weight: 600;
  28. z-index: 2;
  29. }
  30.  
  31. .section-form {
  32. background: #fff;
  33. padding: 15px;
  34. }
  35.  
  36. .section-media {
  37. padding: .6rem;
  38. margin-top: 1.25rem;
  39. margin-bottom: 1.25rem;
  40. border: 1px solid #eee;
  41. border-left: .25rem solid #d9534f;
  42. }
  43.  
  44. .avatar-default {
  45. height: 64px;
  46. width: 64px;
  47. text-align: center;
  48. font-size: 42px;
  49. display: inline-block;
  50. font-weight: bold;
  51. text-decoration: none;
  52. color: #fff;
  53. }
  54.  
  55. .avatar-mini > .avatar-default {
  56. height: 32px;
  57. width: 32px;
  58. font-size: 21px;
  59. }
  60.  
  61. .avatar-micro > .avatar-default {
  62. height: 20px;
  63. width: 20px;
  64. font-size: 14px;
  65. }
  66.  
  67. .user-avatar {
  68. width: 64px;
  69. height: 64px;
  70. float: left;
  71. margin-right: 14px;
  72. }
  73.  
  74. .user-status {
  75. width: 18px;
  76. height: 18px;
  77. position: relative;
  78. border-radius: 50%;
  79. z-index: 1;
  80. border: 2px solid #fff;
  81. left: 44px;
  82. bottom: 18px;
  83. }
  84.  
  85. @media (max-width: 768px) {
  86. .section, .section-form {
  87. padding: 10px;
  88. }
  89.  
  90. .user-avatar {
  91. width: 48px;
  92. height: 48px;
  93. margin-right: 10px;
  94. }
  95.  
  96. .user-status {
  97. width: 14px;
  98. height: 14px;
  99. left: 32px;
  100. bottom: 14px;
  101. }
  102.  
  103. .avatar-default {
  104. height: 48px;
  105. width: 48px;
  106. font-size: 32px;
  107. }
  108.  
  109. .section-user {
  110. min-height: 48px;
  111. }
  112. }
  113.  
  114. .cursor-pointer {
  115. cursor: pointer;
  116. }
  117.  
  118. textarea.form-control {
  119. resize: vertical;
  120. }
  121.  
  122. .media-file {
  123. max-width: 600px;
  124. margin-bottom: 1rem;
  125. }
  126.  
  127. .blockquote:before {
  128. content: "\f10d";
  129. line-height: 1.0em;
  130. font-size: 130%;
  131. font-family: "Font Awesome 6 Free";
  132. font-weight: 900;
  133. float: left;
  134. margin-right: 10px;
  135. color: #c73401;
  136. }
  137.  
  138. .blockquote {
  139. padding: 8px 15px;
  140. font-size: 95%;
  141. background:#f7f7f9;
  142. border-left: 5px solid #ddd;
  143. font-style:italic;
  144. }
  145.  
  146. .blockquote-footer {
  147. margin: 0;
  148. }
  149.  
  150. .is-invalid .form-control,
  151. .is-invalid .form-select {
  152. border-color: #dc3545;
  153. }
  154.  
  155. .is-invalid .form-control:focus,
  156. .is-invalid .form-select:focus {
  157. border-color: #dc3545;
  158. box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
  159. }
  160.  
  161. .is-invalid .invalid-feedback {
  162. display: block;
  163. }
  164.  
  165. .is-valid .form-control,
  166. .is-valid .form-select {
  167. border-color: #28a745;
  168. }
  169.  
  170. .is-valid .form-control:focus,
  171. .is-valid .form-select:focus {
  172. border-color: #28a745;
  173. box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
  174. }
  175.  
  176. .spoiler {
  177. margin-bottom: 5px;
  178. }
  179.  
  180. .spoiler:before {
  181. content: "\f0da";
  182. font-family: "Font Awesome 6 Free";
  183. font-weight: 900;
  184. font-size: 17px;
  185. color: #bbb;
  186. margin: 0 5px 0 2px;
  187. }
  188.  
  189. .spoiler.spoiler-open:before {
  190. content: "\f0d7";
  191. font-family: "Font Awesome 6 Free";
  192. font-weight: 900;
  193. font-size: 17px;
  194. color: #bbb;
  195. margin: 0 5px 0 2px;
  196. }
  197.  
  198. .spoiler-title {
  199. border-bottom: 1px dashed;
  200. color: #6da3bd;
  201. cursor: pointer;
  202. font-weight: normal;
  203. }
  204.  
  205. .spoiler-text {
  206. padding: 10px 15px;
  207. margin: 5px 0;
  208. background-color: #f7f7f9;
  209. }
  210.  
  211. .hidden-text {
  212. padding: 10px 15px;
  213. margin: 5px 0;
  214. background-color: #f7f7f9;
  215. }
  216.  
  217. .post-rating-up.active {
  218. color: #fff;
  219. background-color: #78c062;
  220. padding: 0 3px;
  221. display: inline-block;
  222. border-radius: 3px;
  223. }
  224.  
  225. .post-rating-down.active {
  226. color: #fff;
  227. background-color: #f75c48;
  228. padding: 0 3px;
  229. display: inline-block;
  230. border-radius: 3px;
  231. }
  232.  
  233. .scrollup {
  234. position: fixed;
  235. bottom: 20px;
  236. right: 20px;
  237. display: none;
  238. cursor: pointer;
  239. opacity: .2;
  240. }
  241.  
  242. .scrollup:before {
  243. content: "\f139";
  244. font-family: "Font Awesome 6 Free";
  245. font-weight: 900;
  246. font-size: 30px;
  247. }
  248.  
  249. .scrollup:hover {
  250. opacity: .5;
  251. }
  252.  
  253. .message-block {
  254. overflow: hidden;
  255. cursor: pointer;
  256. }
  257.  
  258. .message-block:hover,
  259. .message-block:focus {
  260. background-color: #eee;
  261. }
  262.  
  263. .pagination {
  264. overflow-y: hidden;
  265. }
  266.  
  267. @media (max-width: 768px) {
  268. .pagination .page-item:first-child .page-link {
  269. border-top-left-radius: 0.2rem;
  270. border-bottom-left-radius: 0.2rem;
  271. }
  272. .pagination .page-link {
  273. padding: 0.25rem 0.5rem;
  274. font-size: 0.7875rem;
  275. line-height: 1.5;
  276. }
  277. }
  278.  
  279. .performance {
  280. background-color: #f8f9fa;
  281. border: 1px solid #e1e1e8;
  282. margin: 10px 0;
  283. padding: 10px;
  284. }
  285.  
  286. .performance .list-inline {
  287. margin-bottom: 0;
  288. }
  289.  
  290. @media (max-width: 767px) {
  291. .performance {
  292. font-size: 0.75rem;
  293. }
  294. }
  295.  
  296. .stretched-link[aria-expanded=true] .treeview-indicator {
  297. transform: rotate(180deg);
  298. }
  299.  
  300. .progress {
  301. position: relative;
  302. max-width: 500px;
  303. height: 15px;
  304. margin-bottom: 10px;
  305. }
  306.  
  307. .pre-scrollable {
  308. max-height: 340px;
  309. }
  310.  
  311. .form-required .form-label:after {
  312. content:"*";
  313. color:red;
  314. }
  315.  
  316. /* Fix close button bootbox 5.5.2 */
  317. .bootbox-close-button {
  318. margin: -0.8rem -0.5rem -0.5rem auto;
  319. border: 0;
  320. opacity: 0.5;
  321. float: right;
  322. font-size: 30px;
  323. background-color: transparent;
  324. }
  325.  
  326. /* Fix input width in form-group */
  327. .form-control-color {
  328. max-width: 3rem;
  329. }