You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

978 regels
14 KiB

  1. @import "variables.less";
  2. .form-print-wrapper {
  3. border: 1px solid @border-color;
  4. border-top: none;
  5. }
  6. .print-preview-wrapper {
  7. padding: 30px 0px;
  8. background-color: @navbar-bg;
  9. }
  10. .print-toolbar {
  11. margin: 0px;
  12. padding: 10px 0px;
  13. border-bottom: 1px solid @border-color;
  14. }
  15. .form-inner-toolbar {
  16. padding: 10px 15px 0px;
  17. background-color: @light-bg;
  18. text-align: right;
  19. .btn {
  20. margin-bottom: 10px;
  21. }
  22. }
  23. .form-clickable-section {
  24. border-top: 1px solid @border-color;
  25. padding: 10px 15px;
  26. background-color: @panel-bg;
  27. }
  28. .form-page.second-page {
  29. border-top: 1px solid @border-color;
  30. }
  31. .form-message {
  32. padding: 15px 30px;
  33. border-bottom: 1px solid @border-color;
  34. }
  35. .document-flow-wrapper {
  36. padding: 40px 15px 30px;
  37. font-size: @text-medium;
  38. border-bottom: 1px solid @light-border-color;
  39. .document-flow {
  40. display: inline-block;
  41. position: relative;
  42. left: 50%;
  43. transform: translateX(-50%);
  44. .document-flow-link-wrapper {
  45. width: 140px;
  46. display: inline-block;
  47. }
  48. .document-flow-link-wrapper:not(:last-child) {
  49. border-top: 1px solid @indicator-darkgrey;
  50. // padding-left: 20px;
  51. // padding-right: 20px;
  52. margin-right: -4px;
  53. }
  54. .document-flow-link-wrapper:first-child {
  55. // padding-left: 0px;
  56. }
  57. .document-flow-link-wrapper:last-child {
  58. // padding-right: 0px;
  59. margin-right: -140px;
  60. }
  61. .document-flow-link {
  62. margin-top: -10px;
  63. display: inline-block;
  64. }
  65. .document-flow-link:not(.disabled):hover,
  66. .document-flow-link:not(.disabled):focus,
  67. .document-flow-link:not(.disabled):active {
  68. .document-flow-link-label {
  69. text-decoration: underline;
  70. }
  71. }
  72. .document-flow-link-label {
  73. display: inline-block;
  74. margin-left: -50%;
  75. margin-top: 5px;
  76. }
  77. }
  78. }
  79. @media(max-width: @screen-xs) {
  80. .document-flow-wrapper {
  81. display: none;
  82. }
  83. }
  84. .form-dashboard {
  85. background-color: @light-bg;
  86. }
  87. .form-dashboard-wrapper {
  88. margin: -15px 0px;
  89. }
  90. .form-documents h6 {
  91. margin-top: 15px;
  92. }
  93. .form-dashboard-section {
  94. margin: 0px -15px;
  95. padding: 15px 30px;
  96. border-bottom: 1px solid @light-border-color;
  97. }
  98. .form-dashboard-section:first-child {
  99. padding-top: 0px;
  100. }
  101. .form-dashboard-section:last-child {
  102. border-bottom: none;
  103. }
  104. .form-heatmap {
  105. .heatmap-message {
  106. margin-top: 10px;
  107. }
  108. @media (max-width: @screen-sm) {
  109. overflow: hidden;
  110. overflow-x: scroll;
  111. }
  112. }
  113. .inline-graph {
  114. .inline-graph-half {
  115. width: 48%;
  116. display: inline-block;
  117. position: relative;
  118. height: 30px;
  119. .inline-graph-count {
  120. font-size: 10px;
  121. position: absolute;
  122. left: 0;
  123. right: 0;
  124. top: 3px;
  125. padding: 0px 5px;
  126. text-align: left;
  127. }
  128. .inline-graph-bar {
  129. position: absolute;
  130. left: 0;
  131. right: 0;
  132. top: 20px;
  133. }
  134. .inline-graph-bar-inner {
  135. display: block;
  136. float: left;
  137. background-color: @border-color;
  138. height: 6px;
  139. border-radius: 0px 3px 3px 0px;
  140. }
  141. .inline-graph-bar-inner.dark {
  142. background-color: @text-color;
  143. }
  144. }
  145. .inline-graph-half:first-child {
  146. border-right: 1px solid @border-color;
  147. margin-right: -3px;
  148. .inline-graph-count {
  149. text-align: right;
  150. }
  151. .inline-graph-bar-inner {
  152. float: right;
  153. border-radius: 3px 0px 0px 3px;
  154. }
  155. }
  156. }
  157. .progress-area {
  158. padding-top: 15px;
  159. padding-bottom: 15px;
  160. }
  161. .form-links {
  162. .document-link {
  163. margin-bottom: 10px;
  164. height: 22px;
  165. }
  166. .document-link:hover .badge-link {
  167. text-decoration: underline;
  168. }
  169. .document-link:hover .badge-link[disabled='disabled'] {
  170. text-decoration: none;
  171. }
  172. .count {
  173. display: inline-block;
  174. margin-left: 5px;
  175. margin-right: 5px;
  176. }
  177. }
  178. h6.uppercase, .h6.uppercase {
  179. font-size: 11px;
  180. font-weight: normal;
  181. letter-spacing: 0.4px;
  182. text-transform: uppercase;
  183. color: @text-muted;
  184. }
  185. .form-section {
  186. margin: 0px;
  187. padding: 15px;
  188. .form-section-description {
  189. margin-bottom: 10px;
  190. }
  191. .form-section-heading {
  192. margin: 10px 0px;
  193. }
  194. .section-head {
  195. margin: 0px 0px 15px 15px;
  196. cursor: pointer;
  197. .collapse-indicator {
  198. color: @text-extra-muted;
  199. margin-left: 10px;
  200. position: relative;
  201. bottom: -1px;
  202. }
  203. .collapse-indicator.octicon-chevron-up {
  204. bottom: -2px;
  205. }
  206. }
  207. .section-head.collapsed {
  208. margin-bottom: 0px;
  209. }
  210. }
  211. .form-section:not(:last-child),
  212. .form-inner-toolbar {
  213. border-bottom: 1px solid @border-color;
  214. }
  215. .empty-section {
  216. display: none !important;
  217. }
  218. .shaded-section {
  219. //background-color: @light-bg;
  220. }
  221. .modal {
  222. .form-layout {
  223. margin: -15px;
  224. }
  225. .form-grid .form-layout {
  226. margin: 0px;
  227. }
  228. .form-section {
  229. padding: 15px 7px;
  230. }
  231. }
  232. .help ol {
  233. padding-left: 19px;
  234. }
  235. .field_description_top {
  236. margin-bottom: 3px;
  237. }
  238. .user-actions {
  239. margin-bottom: 15px;
  240. }
  241. .user-actions a {
  242. font-weight: bold;
  243. }
  244. .badge-important {
  245. background-color: #e74c3c;
  246. }
  247. .address-box {
  248. background-color: @light-bg;
  249. padding: 0px 15px;
  250. margin: 15px 0px;
  251. border: 1px solid @border-color;
  252. border-radius: 3px;
  253. font-size: 12px;
  254. }
  255. .timeline {
  256. margin: 30px 0px;
  257. .timeline-head {
  258. .comment-input {
  259. height: auto;
  260. }
  261. }
  262. }
  263. .timeline-item {
  264. margin-top: 0px;
  265. b {
  266. color: @text-color !important;
  267. }
  268. blockquote {
  269. font-size: inherit;
  270. }
  271. .btn-more {
  272. margin-left: 65px;
  273. }
  274. .gmail_extra {
  275. display: none;
  276. }
  277. }
  278. .timeline-items {
  279. position: relative;
  280. }
  281. .timeline {
  282. position: relative;
  283. }
  284. .timeline::before {
  285. content: " ";
  286. border-left: 1px solid @border-color;
  287. position: absolute;
  288. top: 0px;
  289. bottom: -124px;
  290. left: 43px;
  291. z-index: 0;
  292. }
  293. .timeline.in-dialog::before {
  294. bottom: 0px;
  295. }
  296. @media(max-width: @screen-sm) {
  297. .timeline::before {
  298. bottom: -64px;
  299. }
  300. }
  301. .timeline-item.user-content {
  302. margin: 30px 0px 30px 27px;
  303. .media-body {
  304. border: 1px solid @border-color;
  305. border-radius: 3px;
  306. margin-left: -7px;
  307. position: relative;
  308. max-width: calc(~"100% - 50px");
  309. padding-right: 0px;
  310. // to display the triangle beside the box
  311. overflow: visible;
  312. }
  313. .avatar-medium {
  314. margin-right: 10px;
  315. height: 45px;
  316. width: 45px;
  317. }
  318. .action-btns {
  319. position: absolute;
  320. right: 0;
  321. padding: 5px 15px 2px 5px;
  322. }
  323. .comment-header {
  324. background-color: @light-bg;
  325. padding: 10px 15px 10px 13px;
  326. margin: 0px;
  327. color: @text-muted;
  328. border-bottom: 1px solid @light-border-color;
  329. &.links-active {
  330. padding-right: 60px;
  331. }
  332. .commented-on-small {
  333. display: none;
  334. }
  335. .octicon-heart {
  336. color: @heart-color;
  337. cursor: pointer;
  338. }
  339. }
  340. .reply {
  341. padding: 15px;
  342. overflow: auto;
  343. & > div > p:first-child {
  344. margin-top: 0px;
  345. }
  346. & > div > p:last-child {
  347. margin-bottom: 0px;
  348. }
  349. hr {
  350. margin: 10px 0px;
  351. }
  352. }
  353. .close-btn-container {
  354. .close {
  355. color: inherit;
  356. opacity: 1;
  357. padding: 0 0 0 10px;
  358. }
  359. }
  360. .edit-btn-container {
  361. padding: 0;
  362. .edit {
  363. color: inherit;
  364. font-size: 21px;
  365. line-height: 1;
  366. .octicon-check {
  367. font-size: 1em;
  368. }
  369. &:hover, &:focus {
  370. color: #000;
  371. }
  372. }
  373. }
  374. .comment-likes {
  375. margin-left: 5px;
  376. }
  377. .media-body:after, .media-body:before {
  378. right: 100%;
  379. top: 15px;
  380. border: solid transparent;
  381. content: " ";
  382. height: 0;
  383. width: 0;
  384. position: absolute;
  385. pointer-events: none;
  386. }
  387. .media-body:after {
  388. border-color: rgba(136, 183, 213, 0);
  389. border-right-color: #fafbfc;
  390. border-width: 6px;
  391. margin-top: -6px;
  392. }
  393. .media-body:before {
  394. border-color: rgba(194, 225, 245, 0);
  395. border-right-color: @border-color;
  396. border-width: 7px;
  397. margin-top: -7px;
  398. }
  399. }
  400. .timeline-item.notification-content {
  401. padding-left: 30px;
  402. margin: 30px 0px;
  403. position: relative;
  404. color: @text-muted;
  405. * {
  406. color: @text-muted;
  407. }
  408. .fa-fw {
  409. margin-left: 36px;
  410. }
  411. div.small {
  412. padding-left: 40px;
  413. .fa-fw {
  414. margin-left: 0px;
  415. }
  416. }
  417. .octicon-heart {
  418. color: @heart-color !important;
  419. }
  420. }
  421. .timeline-indicator() {
  422. content: " ";
  423. width: 7px;
  424. height: 7px;
  425. background-color: @border-color;
  426. // background-color: white;
  427. // border: 1px solid @border-color;
  428. position: absolute;
  429. left: 40px;
  430. border-radius: 50%;
  431. top: 5px;
  432. }
  433. .timeline-item.notification-content::before {
  434. .timeline-indicator();
  435. }
  436. .timeline-item .reply-link {
  437. padding-left: 7px;
  438. }
  439. .timeline-head {
  440. background-color: white;
  441. // padding: 15px 30px;
  442. border: 1px solid @border-color;
  443. border-radius: 3px;
  444. position: relative;
  445. z-index: 1;
  446. .comment-input-header {
  447. background-color: @light-bg;
  448. padding: 7px 15px;
  449. border-bottom: 1px solid @light-border-color;
  450. }
  451. .comment-input-container {
  452. padding: 15px;
  453. .awesomplete > ul {
  454. min-width: 200px;
  455. }
  456. }
  457. .comment-input {
  458. border-color: @light-border-color;
  459. max-width: 100%;
  460. &:focus {
  461. box-shadow: none;
  462. }
  463. }
  464. }
  465. @media(max-width: @screen-xs) {
  466. .timeline-head {
  467. border-left: none;
  468. border-right: none;
  469. border-radius: 0px;
  470. }
  471. }
  472. .signature-field {
  473. min-height: 300px;
  474. background: #fff;
  475. border: 1px solid @border-color;
  476. border-radius: 3px;
  477. position: relative;
  478. margin-top: -10px;
  479. }
  480. .signature-display {
  481. margin: 7px 0px;
  482. background: #fff;
  483. }
  484. .signature-btn-row {
  485. position: absolute;
  486. bottom: 12px;
  487. right: 12px;
  488. }
  489. .signature-reset {
  490. height: 30px;
  491. width: 30px;
  492. padding: 4px 0px;
  493. }
  494. .signature-img {
  495. border: 1px solid @border-color;
  496. background: #fff;
  497. border-radius: 3px;
  498. margin-top: 5px;
  499. width: 100%;
  500. max-height: 300px;
  501. }
  502. .timeline-new-email {
  503. margin: 30px 0px;
  504. padding-left: 70px;
  505. position: relative;
  506. }
  507. .timeline-new-email::before {
  508. .timeline-indicator();
  509. }
  510. .form-footer h5 {
  511. margin: 15px 0px;
  512. font-weight: bold;
  513. }
  514. .control-label, .grid-heading-row {
  515. color: @text-muted;
  516. font-size: 12px;
  517. }
  518. .control-label {
  519. margin-bottom: 5px;
  520. font-weight: normal;
  521. }
  522. .like-disabled-input {
  523. margin-bottom: 7px;
  524. border-radius: 3px;
  525. min-height: 30px;
  526. font-weight: bold;
  527. background-color: @navbar-bg;
  528. padding: 5px 10px;
  529. border-radius: 3px;
  530. }
  531. .disabled-check {
  532. color: @navbar-bg;
  533. margin-right: 3px;
  534. margin-bottom: -2px;
  535. }
  536. .like-disabled-input.for-description {
  537. font-weight: normal;
  538. font-size: 12px;
  539. }
  540. .frappe-control& {
  541. margin-bottom: 10px;
  542. .help-box {
  543. margin-top: 3px;
  544. }
  545. pre {
  546. white-space: pre-wrap;
  547. background-color: inherit;
  548. border: none;
  549. padding: 0px;
  550. margin: 0px;
  551. }
  552. }
  553. .flex-justify-center {
  554. display: flex;
  555. justify-content: center;
  556. }
  557. .flex-justify-end {
  558. display: flex;
  559. justify-content: flex-end;
  560. }
  561. .hide-control {
  562. display: none !important;
  563. }
  564. .shared-user {
  565. margin-bottom: 10px;
  566. }
  567. .attach-missing-image,
  568. .attach-image-display {
  569. cursor: pointer;
  570. }
  571. select.form-control {
  572. -webkit-appearance: none;
  573. -moz-appearance: none;
  574. appearance: none;
  575. }
  576. .form-control.bold {
  577. color: #000;
  578. font-weight: bold;
  579. background-color: @extra-light-yellow;
  580. }
  581. .form-control[data-fieldtype="Password"] {
  582. position: inherit;
  583. }
  584. .password-strength-indicator {
  585. float: right;
  586. padding: 15px;
  587. margin-top: -41px;
  588. margin-right: -7px;
  589. }
  590. .password-strength-message {
  591. margin-top: -10px;
  592. }
  593. .delivery-status-indicator {
  594. display: inline-block;
  595. margin-top: -3px;
  596. margin-left: 1px;
  597. font-weight: 500;
  598. color: @text-muted;
  599. }
  600. // above mobile
  601. @media (min-width: 768px) {
  602. .layout-main .form-column.col-sm-12 > form > .input-max-width {
  603. max-width: 50%;
  604. padding-right: 15px;
  605. }
  606. // don't max-width when in form-grid with half width
  607. .col-sm-6 .form-grid .form-column.col-sm-12 > form > .input-max-width {
  608. max-width: none;
  609. padding-right: 0px;
  610. }
  611. .form-column.col-sm-6 textarea[data-fieldtype="Code"] {
  612. height: 120px !important;
  613. }
  614. }
  615. // upto tablets
  616. @media (max-width: @screen-sm) {
  617. .form-section .form-section-heading {
  618. margin-top: 10px;
  619. }
  620. }
  621. // mobile
  622. @media (max-width: @screen-xs) {
  623. // padding to form section on mobile
  624. .form-section {
  625. .section-head {
  626. padding: 15px 15px 15px 0px;
  627. }
  628. .section-body .form-column:first-child{
  629. .radio, .checkbox{
  630. margin-top: 0;
  631. }
  632. }
  633. }
  634. .form-column {
  635. border-bottom: 1px solid @light-border-color;
  636. padding-top: 15px;
  637. padding-bottom: 15px;
  638. }
  639. .form-column:last-child {
  640. border-bottom: 0px;
  641. }
  642. .form-section {
  643. padding-left: 0px !important;
  644. padding-right: 0px !important;
  645. }
  646. .form-grid {
  647. margin-left: -17px;
  648. margin-right: -17px;
  649. border-left: none !important;
  650. border-right: none !important;
  651. border-radius: none;
  652. }
  653. // forms
  654. .form-page {
  655. .form-section {
  656. padding: 0px 15px;
  657. }
  658. .frappe-control& {
  659. padding: 7px 15px;
  660. border-bottom: 1px solid @light-border-color;
  661. margin: 0px -15px;
  662. .link-btn {
  663. top: -2px;
  664. }
  665. .like-disabled-input {
  666. min-height: 0px !important;
  667. }
  668. &:last-child {
  669. margin-bottom: 0px;
  670. }
  671. }
  672. .frappe-control:last-child {
  673. border-bottom: 0px;
  674. }
  675. .frappe-control[data-fieldtype="Table"] {
  676. padding: 0px 15px;
  677. margin-top: -1px;
  678. border-bottom: none;
  679. label {
  680. margin-top: 7px;
  681. }
  682. }
  683. // .form-section:last-child .form-column:last-child .frappe-control:last-child {
  684. // border-bottom: none;
  685. // }
  686. .form-control {
  687. border: none;
  688. border-bottom: 1px solid @border-color;
  689. box-shadow: none;
  690. background-color: inherit;
  691. height: auto;
  692. padding: 0px;
  693. margin-bottom: 7px;
  694. border-radius: 0px;
  695. // make all fields left-aligned!
  696. text-align: left !important;
  697. }
  698. .form-control:focus {
  699. box-shadow: none;
  700. }
  701. // select.form-control {
  702. // text-indent: -2px;
  703. // }
  704. }
  705. }
  706. /* goals */
  707. .goals-page-container {
  708. background-color: #fafbfc;
  709. padding-top: 1px;
  710. .goal-container {
  711. background-color: #fff;
  712. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  713. border-radius: 2px;
  714. padding: 10px;
  715. margin: 10px;
  716. }
  717. }
  718. .graph-container {
  719. .graphics {
  720. margin-top: 10px;
  721. padding: 10px 0px;
  722. }
  723. .stats-group {
  724. display: flex;
  725. justify-content: space-around;
  726. flex: 1;
  727. }
  728. .stats-container {
  729. display: flex;
  730. justify-content: space-around;
  731. .stats {
  732. padding-bottom: 15px;
  733. }
  734. .stats-title {
  735. color: #8D99A6;
  736. }
  737. .stats-value {
  738. font-size: 20px;
  739. font-weight: 300;
  740. }
  741. .stats-description {
  742. font-size: 12px;
  743. color: #8D99A6;
  744. }
  745. .graph-data .stats-value {
  746. color: #98d85b;
  747. }
  748. }
  749. }
  750. .bar-graph, .line-graph {
  751. .axis {
  752. font-size: 10px;
  753. fill: #6a737d;
  754. line {
  755. stroke: rgba(27,31,35,0.1);
  756. }
  757. }
  758. }
  759. .data-points {
  760. circle {
  761. fill: #28a745;
  762. stroke: #fff;
  763. stroke-width: 2;
  764. }
  765. g.mini {
  766. fill: #98d85b;
  767. }
  768. path {
  769. fill: none;
  770. stroke: #28a745;
  771. stroke-opacity: 1;
  772. stroke-width: 2px;
  773. }
  774. }
  775. .line-graph {
  776. .path {
  777. fill: none;
  778. stroke: #28a745;
  779. stroke-opacity: 1;
  780. stroke-width: 2px;
  781. }
  782. }
  783. line.dashed {
  784. stroke-dasharray: 5,3;
  785. }
  786. .tick {
  787. &.x-axis-label {
  788. display: block;
  789. }
  790. .specific-value {
  791. text-anchor: start;
  792. }
  793. .y-value-text {
  794. text-anchor: end;
  795. }
  796. .x-value-text {
  797. text-anchor: middle;
  798. }
  799. }
  800. body[data-route^="Form/Communication"] textarea[data-fieldname="subject"] {
  801. height: 80px !important;
  802. }