|
- @import "variables.less";
- @import "mixins.less";
- @import "common.less";
-
- .nav-pills a, .nav-pills a:hover {
- border-bottom: none;
- }
-
- a.form-link {
- color: inherit;
- font-weight: bold;
- font-size: 102%;
- }
-
- a[disabled="disabled"] {
- color: @text-muted;
- text-decoration: none;
- cursor: default;
-
- &:hover {
- text-decoration: none;
- }
- }
-
- .link-btn {
- position: absolute;
- top: 2px;
- right: 4px;
- border-radius: 2px;
- padding: 3px;
- display: none;
- z-index: 3;
- }
-
- .link-primary& {
- color: @brand-primary;
-
- &:hover, &:focus {
- color: @brand-primary;
- }
- }
-
- .scroll-to-top {
- background-color: @light-bg;
- padding: 7px;
- border-radius: 3px;
- }
-
- .alert-badge {
- margin: 4px 0px;
- }
-
- .alert-badge .badge {
- margin-top: 3px;
- }
-
- /* alert */
-
-
- #alert-container {
- position: fixed;
- bottom: 0px;
- right: 20px;
- z-index: 1050;
- }
-
- #alert-container .desk-alert {
- -webkit-box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1);
- -moz-box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1);
- box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1);
-
- padding: 10px 40px 10px 20px;
- max-width: 400px;
- min-width: 200px;
- max-height: 200px;
- background-color: @light-yellow;
- border: 1px solid @border-color;
-
- // word-break: break-all;
- overflow-y: auto;
- position: relative;
-
- .close {
- color: inherit;
- line-height: inherit;
- opacity: 1;
- font-size: inherit;
- float: none;
- margin-left: 15px;
- margin-right: 15px;
- position: absolute;
- right: 0px;
- }
- }
-
- .missing-image {
- background-color: @light-bg;
- display: table-cell;
- vertical-align: middle;
- text-align: center;
- width: 140px;
- height: 140px;
- }
-
- .missing-image .octicon {
- font-size: 32px;
- color: @border-color;
- }
-
- .missing-image.small {
- width: 20px;
- height: 20px;
- }
-
- .missing-image.small .octicon {
- font-size: 16px;
- }
-
- .frappe-editor {
- cursor: text;
- }
-
- .frappe-editor img {
- max-width: 100%;
- }
-
- textarea.form-control {
- height: 120px;
- }
-
- .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
- background-color: @light-bg;
- }
-
-
- .link-select-row {
- padding: 5px;
- border-bottom: 1px solid @light-border-color;
- }
-
- .datepicker {
- font-family: inherit;
- z-index: 9999 !important;
-
- &--time-current-hours, &--time-current-minutes, &--time-current-seconds {
- font-family: inherit;
- }
-
- &--day-name {
- color: @text-color;
- }
-
- &--cell {
- &.-current- {
- color: @brand-primary;
-
- &.-in-range- {
- color: @brand-primary;
- }
- }
-
- &.-range-from-, &.-range-to- {
- border: 1px solid fade(@brand-primary, 30%);
- background: fade(@brand-primary, 10%);
- }
-
- &.-selected-, &.-current-.-selected- {
- background: @brand-primary;
- }
-
- &.-in-range- {
- background: fade(@brand-primary, 5%);
- }
-
- &.-in-range-.-focus- {
- background: fade(@brand-primary, 10%);
- }
-
- &.-selected-.-focus- {
- background: fade(@brand-primary, 90%);
- }
-
- }
- }
-
- .datepicker--button {
- color: @brand-primary;
- }
-
- .hidden-xs-inline, .hidden-xs-inline-block {
- display: none;
- }
-
- .awesomplete {
- width: 100%;
-
- &> ul {
- z-index: 1041;
- transition: none;
- background: #fff;
- max-height: 200px;
- overflow-y: auto;
- overflow-x: hidden;
- border-radius: 0px 0px 4px 4px;
- box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.176);
- border-color: @border-color;
-
- &:before {
- display: none;
- }
-
- li[aria-selected="true"] mark, mark {
- padding: 0px;
- background-color: inherit;
- }
-
- &> li {
- font-size: 12px;
- padding: 9px 11.8px;
- }
-
- &> li .link-option {
- font-weight: normal;
- }
-
- &> li:hover, &> li[aria-selected=true] {
- background-color: @btn-bg;
- color: @text-color;
- text-shadow: none;
- }
-
- a:hover {
- text-decoration: none;
- }
-
- p {
- margin: 3px 0;
- }
- }
-
- @media (max-width: @screen-sm) {
- &>ul {
- top: 26px;
- }
- }
- }
-
- @media (min-width: 768px) {
- .video-modal {
- width: 700px;
- }
- }
-
- @media (min-width: 768px) {
- .hidden-xs-inline {
- display: inline;
- }
- .hidden-xs-inline-block {
- display: inline-block;
- }
-
- .listview-main-section {
- border-right: 1px solid @border-color;
- }
- }
-
- .panel-bg {
- background-color: @panel-bg;
- }
-
- .light-bg {
- background-color: @light-bg;
- }
-
- .modal-backdrop {
- opacity: 0.5;
- position: fixed;
- }
-
- .modal-header {
- padding: 10px 15px;
- }
-
- .modal-title {
- margin-top: 5px;
- }
-
- .form-control {
- position: relative;
-
- input {
- // for vertically aligned text in inputs
- padding: 6px 10px 8px;
- }
- }
-
- .link-field.ui-front {
- z-index: inherit;
- }
-
- .modal .hasDatepicker {
- z-index: 1140;
- }
-
- .link-field.ui-front {
- z-index: inherit;
- }
-
- .form-group {
- margin-bottom: 7px;
- }
-
- .print-preview {
- padding: 0px;
- max-width: 8.3in;
- margin: auto;
- min-height: 11.69in;
- }
-
- .open-notification {
- position:relative;
- left: 2px;
- display:inline-block;
- background:#ff5858;
- font-size: @text-medium;
- line-height:20px;
- padding:0 8px;
- color:#fff;
- border-radius:10px;
- cursor: pointer;
- margin-right: 10px;
- }
-
- /* on small screens, show only icons on top */
- @media (max-width: 767px) {
- .module-view-layout .nav-stacked > li {
- float: left;
- margin-bottom: 5px;
- }
-
- .nav-stacked > li + li {
- margin-top: 0px;
- margin-left: 2px;
- }
- }
-
- .msg-box {
- padding: 30px 15px;
- text-align: center;
- color: @text-muted;
- }
-
- .no-border {
- border: none !important;
- }
-
- .message-row {
- padding: 10px 15px;
- }
-
- .message-row .indicator {
- margin-left: -5px;
- margin-right: -20px;
- }
-
- .message-box {
- .indicator {
- margin-right: 15px;
- margin-top: 7px;
- }
-
- .timeline-head {
- padding: 30px;
- border: 0px;
- border-bottom: 1px solid @border-color;
- }
- }
-
- .page-only-label {
- margin-top: 5px;
- text-align: center;
- }
-
- .intro-area {
- padding: 15px 30px;
- }
-
- .footnote-area {
- padding: 0px 15px;
- border-top: 1px solid @border-color;
- }
-
- .file-upload {
- .input-group-addon {
- color: @text-muted;
- font-size: 12px;
- }
-
- .file-upload-or {
- font-size: 12px;
- margin: 0px 7px;
- }
-
- .uploaded-filename,
- .web-link-wrapper,
- .input-upload,
- .input-link {
- display: inline-block;
- vertical-align: middle;
- }
-
- .uploaded-filename-display {
- max-width: 194px;
- }
- }
-
- .frappe-rtl input ,.frappe-rtl textarea {
- direction: rtl
- }
-
- .text-editor {
- height: 400px;
- background-color: white;
- border-collapse: separate;
- border: 1px solid rgb(204, 204, 204);
- padding: 4px;
- box-sizing: content-box;
- -webkit-box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
- box-shadow: rgba(0, 0, 0, 0.0745098) 0px 1px 1px 0px inset;
- border-radius: 3px;
- overflow: scroll;
- outline: none;
- }
-
- .markdown-text-editor {
- height: 451px;
- font-family: Monaco, "Courier New", monospace;
- }
-
- .breadcrumb {
- font-size: 12px;
- background-color: #fff;
- }
-
- .breadcrumb.for-file-list {
- margin-bottom: 0px;
- padding: 18px 15px;
- border-bottom: 1px solid @border-color;
- border-radius: 0px;
- }
-
- // like pop-over
- .liked-by-popover {
- min-width: 200px;
- margin-top: -10px;
- margin-bottom: -10px;
-
- li {
- margin: 15px 0px;
- }
- }
-
- .screenshot {
- border: 1px solid @border-color;
- box-shadow: 1px 1px 7px rgba(0,0,0,0.15);
- margin: 8px 0px;
- max-width: 100%;
- }
-
- .help-modal {
- a {
- color: @brand-primary;
- }
-
- .modal-dialog {
- width: 768px;
- }
-
- .modal-body {
- padding: 15px 27px;
- }
-
- .parent-link {
- &:before {
- font-family: 'Octicons';
- content: '\f0a4';
- }
- }
-
- .edit-container {
- padding-bottom: 12px;
- }
-
- @media (max-width: @screen-xs) {
- .modal-dialog {
- width: auto;
- }
-
- .modal-content {
- height: auto !important;
- }
-
- iframe {
- height: auto;
- width: 100%;
- }
- }
- }
-
- .search-result {
- margin-bottom: 24px;
- }
-
- // summernote editor
- .note-editor {
- margin-top: 5px;
-
- &.note-frame {
- border-color: @border-color;
- }
-
- .btn {
- outline: none !important;
- }
-
- .dropdown-style > li > a > * {
- margin: 0;
- }
- .fa.fa-check {
- color: @text-color !important;
- }
- .dropdown-menu {
- z-index: 100;
- max-height: 300px;
- overflow: auto;
- }
- }
-
- // hide some buttons in modal
- .modal .note-editor {
- .note-btn-italic,
- .note-btn-underline,
- [data-original-title="Font Size"],
- [data-original-title="Video"],
- [data-original-title="Table"] {
- display: none;
- }
- }
-
- .search-dialog {
- .modal-dialog {
- width: 768px;
- }
-
- .search-header {
- display: flex;
- align-items: center;
- padding: 5px;
- }
-
- .modal-body {
- padding: 0px 15px;
-
- }
-
- .empty-state {
- color: #d4d9dd;
- height: 500px;
- display: flex;
- justify-content: center;
- align-items: center;
- text-align: center;
-
- .status-icon {
- font-size: 40px;
- position: relative;
- margin-bottom: 10px;
- }
-
- p {
- font-size: 15px;
- display: block;
- }
-
- .cover {
- color: white;
- font-size: 6px;
- position: absolute;
- }
- }
-
- @keyframes twinkle {
- 0% { opacity:1; }
- 50% { opacity:0; }
- 100% { opacity:1; }
- }
- @-o-keyframes twinkle {
- 0% { opacity:1; }
- 50% { opacity:0; }
- 100% { opacity:1; }
- }
- @-moz-keyframes twinkle {
- 0% { opacity:1; }
- 50% { opacity:0; }
- 100% { opacity:1; }
- }
- @-webkit-keyframes twinkle {
- 0% { opacity:1; }
- 50% { opacity:0; }
- 100% { opacity:1; }
- }
- .twinkle-one {
- -webkit-animation: twinkle 1.5s ease infinite;
- -moz-animation: twinkle 1.5s ease infinite;
- -o-animation: twinkle 1.5s ease infinite;
- animation: twinkle 1.5s ease infinite;
- }
- .twinkle-two {
- -webkit-animation: twinkle 1.5s ease infinite 0.5s;
- -moz-animation: twinkle 1.5s ease infinite 0.5s;
- -o-animation: twinkle 1.5s ease infinite 0.5s;
- animation: twinkle 1.5s ease infinite 0.5s;
- }
- .twinkle-three {
- -webkit-animation: twinkle 1.5s ease infinite 1s;
- -moz-animation: twinkle 1.5s ease infinite 1s;
- -o-animation: twinkle 1.5s ease infinite 1s;
- animation: twinkle 1.5s ease infinite 1s;
- }
-
- input.form-control {
- border: none;
- border-left-style:none;
- }
-
- input.form-control:focus {
- outline: none;
- box-shadow: none;
- }
-
- .layout-side-section,
- .layout-main-section {
- height: 500px;
- padding: 0px;
- overflow-y: auto;
- }
-
- .layout-side-section {
- .module-sidebar-nav {
- margin-top: 0px;
- }
- .help-link {
- padding-top: 20px;
- text-transform: uppercase;
- }
-
- .nav {
- li a {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding-left: 20px;
- background-color: #ffffff;
-
- i {
- visibility: hidden;
- }
- }
-
- .active i {
- visibility: visible;
- }
-
- .select a, a:hover {
- background-color: #f7fafc;
- }
- }
- }
-
- .results-area {
- .single-link a {
- color: #36414c;
- }
- }
-
- .module-section {
- .back-link {
- margin-bottom: 20px;
- margin-top: -10px;
- }
-
- .all-results-link:before {
- font-family: 'Octicons';
- content: '\f0a4';
- }
-
- .result {
- margin-bottom: 5px;
- }
- }
-
- .full-list {
- .result {
- margin-top: 15px;
-
- .result-subtype {
- float: right;
- margin-left: 10px;
- }
- }
-
- .result-with-subtype {
- border-bottom: 1px solid #d1d8dd;
- margin-top: 10px;
- }
-
- .section-head {
- margin-bottom: 25px;
- }
- }
-
- .dual-section {
- .result-subtype{
- display: none;
- }
- }
-
- .result-status {
- margin-top: 30px;
- text-align: center;
- }
-
- .more-results {
- display: none;
- }
-
- .result {
- p {
- margin-top: 5px;
- margin-bottom: 5px;
- }
-
- .result-image {
- display: inline-block;
- margin-right: 10px;
- height: 60px;
- width: 60px;
- background-color: #fafbfc;
-
- .flex-text {
- display: flex;
- height: 60px;
- align-items: center;
- justify-content: center;
- }
-
- span {
- font-size: 30px;
- color: @text-extra-muted;
- }
- }
-
- }
-
- @media (max-width: @screen-xs) {
- .modal-dialog {
- width: auto;
- }
-
- .modal-content {
- height: auto !important;
- }
- }
-
- @media (max-width: @screen-sm) {
- .module-body {
- margin: 0px;
- border-top: none;
- }
- }
-
- @media (min-width: 600px) {
- .results-area .back-link {
- display: none;
- }
- }
- }
-
- .note-editor.note-frame .note-editing-area .note-editable {
- color: @text-color;
- }
-
- .c3 svg {
- font-family: inherit;
- font-size: 10px;
- color: @text-color;
- }
-
- .c3-line {
- stroke-width: 3px;
- }
-
- .c3-tooltip {
- box-shadow: 3px 3px 3px rgba(0,0,0,0.1);
- border-radius: 3px;
- opacity: 1;
- }
-
- .c3-tooltip tr {
- border: none;
- }
-
- .c3-tooltip th {
- color: @text-muted;
- background-color: #ffffff;
- font-size: 12px;
- font-weight: normal;
- padding: 2px 5px;
- text-align: left;
- border: 1px solid @border-color;
- }
-
- .c3-tooltip td {
- color: @text-color;
- font-size: 11px;
- padding: 3px 6px;
- background-color: #fff;
- border: 1px solid @border-color;
- }
-
- .c3-tooltip td > span {
- display: inline-block;
- width: 10px;
- height: 10px;
- margin-right: 6px;
- }
-
- .c3-tooltip td.value {
- text-align: right; }
-
- // custom font awesome checkbox
- input[type="checkbox"] {
- visibility: hidden;
- position: relative;
-
- &:before {
- position: absolute;
- font-family: 'FontAwesome';
- content: '\f096';
- visibility: visible;
- font-style: normal;
- font-weight: normal;
- font-variant: normal;
- text-transform: none;
- line-height: 14px;
- display: inline-block;
- font-size: 14px;
- color: @text-extra-muted;
- .transition(150ms color);
- }
-
- &:checked:before {
- content: '\f14a';
- font-size: 13px;
- color: @checkbox-color;
- }
- }
- // mozilla doesn't support
- // pseudo elements on checkbox
- @-moz-document url-prefix() {
- input[type="checkbox"] {
- visibility: visible;
- }
- }
|