refactor: Delete unwanted .less files

This commit is contained in:
Suraj Shetty 2020-08-26 21:40:30 +05:30
parent 11d7b7483e
commit 73832edcec
18 changed files with 1 additions and 1560 deletions

View file

@ -39,7 +39,6 @@ app_include_js = [
app_include_css = [
"assets/css/desk.min.css",
"assets/css/list.min.css",
"assets/css/form.min.css",
"assets/css/report.min.css",
]

View file

@ -1,7 +1,6 @@
{
"css/frappe-web-b4.css": [
"public/scss/website.scss",
"public/less/indicator.less"
"public/scss/website.scss"
],
"css/frappe-chat-web.css": [
"public/css/font-awesome.css",
@ -91,20 +90,12 @@
"public/less/desk.less",
"public/less/module.less",
"public/less/flex.less",
"public/less/indicator.less",
"public/less/avatar.less",
"public/less/notifications.less",
"public/less/sidebar.less",
"public/less/page.less",
"public/less/tree.less",
"public/less/link_preview.less",
"public/less/form.less",
"public/less/mobile.less",
"public/less/kanban.less",
"public/less/dashboard_view.less",
"public/less/controls.less",
"public/less/chat.less",
"public/less/filters.less",
"public/less/social.less",
"public/scss/main.scss",
"node_modules/frappe-charts/dist/frappe-charts.min.css",
@ -244,9 +235,6 @@
"public/js/frappe/ui/driver.js",
"public/js/frappe/barcode_scanner/index.js"
],
"css/form.min.css": [
"public/less/form_grid.less"
],
"js/form.min.js": [
"public/js/frappe/form/templates/**.html",
"public/js/frappe/form/controls/control.js",
@ -255,8 +243,6 @@
"public/js/frappe/meta_tag.js"
],
"css/list.min.css": [
"public/less/list.less",
"public/less/calendar.less",
"public/less/gantt.less"
],
"js/list.min.js": [
@ -303,9 +289,7 @@
"public/js/frappe/views/kanban/kanban_card.html"
],
"css/report.min.css": [
"public/less/report.less",
"node_modules/frappe-datatable/dist/frappe-datatable.css",
"public/less/frappe-datatable.less",
"public/css/tree_grid.css"
],
"js/report.min.js": [
@ -324,10 +308,8 @@
"public/js/frappe/web_form/webform_script.js"
],
"css/web_form.css": [
"public/less/list.less",
"website/css/web_form.css",
"public/css/octicons/octicons.css",
"public/less/form_grid.less",
"public/less/controls.less",
"node_modules/frappe-datatable/dist/frappe-datatable.css"
],

View file

@ -1,136 +0,0 @@
// @import "variables.less";
// .fc-toolbar {
// padding: 15px;
// margin-bottom: 0px !important;
// }
// .fc-view-container {
// margin-left: -1px;
// margin-right: -1px;
// }
// .fc-head-container {
// border-top: 0 !important;
// }
// th.fc-widget-header {
// // background-color: @panel-bg;
// color: #8C99A5;
// border: none !important;
// }
// // th {
// // border: none !important;
// // }
// .fc-unthemed td,
// .fc-unthemed hr,
// .fc-unthemed thead,
// .fc-unthemed tbody,
// .fc-unthemed .fc-row,
// .fc-unthemed .fc-popover {
// border-color: @border-color !important;
// }
// .fc-unthemed .fc-today {
// background-color: #FFF !important;
// .fc-day-number {
// background-color: @brand-primary;
// min-width: 20px;
// border-radius: 50%;
// color: #fff;
// text-align: center;
// }
// }
// .fc-highlight {
// background-color: @light-yellow !important;
// }
// .fc-event {
// border: 1px solid #E8DDFF; /* default BORDER color */
// background-color: #E8DDFF;
// }
// @media (max-width: @screen-xs) {
// .fc-scroller {
// height: auto !important;
// }
// }
// .fc-day-top {
// padding: 12px 12px 0 0 !important;
// }
// th.fc-day-header {
// text-align: right !important;
// padding: 10px 12px 10px 0 !important;
// text-transform: uppercase;
// font-size: 12px;
// }
// .fc.fc-unthemed .fc-toolbar {
// padding: 15px;
// }
// .fc-event-container .fc-content {
// padding: 3px;
// }
// .fc-left h2 {
// font-size: 14px;
// }
// .fc button {
// height: auto !important;
// font-size: @text-medium !important;
// outline: none !important;
// .fc-icon {
// top: -1px !important;
// }
// }
// .fc-state-active {
// box-shadow: none !important;
// background: #cfdce5 !important;
// }
// .fc-day-grid-event {
// border: none !important;
// margin: 5px 4px 0 !important;
// padding: 1px 5px !important;
// }
// .fc-bg-color(@color) {
// @light: ~"@{color}-light";
// @extra-light: ~"@{color}-extra-light";
// @dark: ~"@{color}-dark";
// background-color: @@extra-light !important;
// color: @@dark !important;
// &.fc-start {
// border-left: 3px solid @@light !important;
// }
// }
// .fc-bg-orange {
// .fc-bg-color(orange);
// }
// .fc-bg-red {
// .fc-bg-color(red);
// }
// .fc-bg-skyblue {
// .fc-bg-color(skyblue);
// }
// .fc-bg-green {
// .fc-bg-color(green);
// }
// .fc-bg-blue {
// .fc-bg-color(blue);
// }
// .fc-bg-yellow {
// .fc-bg-color(yellow);
// }

View file

@ -1,6 +1,5 @@
@import "variables.less";
@import "mixins.less";
@import "awesomplete.less";
@import "datepicker.less";
@import "quill.less";

View file

@ -1,60 +0,0 @@
// .dashboard-page {
// .dashboard-view {
// min-height: calc(100vh - 284px);
// padding: 20px 20px 0 20px;
// .new-widget {
// text-align: center;
// }
// .new-chart-widget {
// min-height: 200px;
// }
// .new-number-card-widget {
// min-height: 110px;
// }
// }
// .empty-dashboard {
// margin-top: 45px;
// }
// .page-form {
// height: 50px;
// .dashboard-header {
// padding: 10px;
// display: flex;
// justify-content: space-between;
// width: 100%;
// .header-title {
// line-height: 1.5em;
// vertical-align: text-bottom;
// }
// .restricted-button {
// cursor: default;
// position: relative;
// right: 5px;
// top: -3px;
// }
// }
// .customize-dashboard {
// font-size: 13px;
// cursor: pointer;
// }
// .customize-options {
// display: none;
// cursor: pointer;
// .customize-option:hover {
// text-decoration: underline;
// }
// }
// }
// }

View file

@ -1,74 +0,0 @@
// @import 'common';
// .active-tag-filters {
// .add-filter, .filter-tag, .clear-filters {
// margin: 0 10px 10px 0;
// }
// }
// .toggle-filter {
// max-width: 200px !important;
// .ellipsis;
// }
// .active-tag-filters .btn-group {
// white-space: nowrap;
// font-size: 0;
// }
// .active-tag-filters .btn-group .btn-default {
// background-color: transparent;
// border: 1px solid @border-color;
// color: @text-muted;
// float: none;
// }
// .frappe-list .filter-box {
// border-bottom: 1px solid @border-color;
// padding: 10px 15px;
// }
// .filter-popover {
// min-width: 300px;
// // min-width: 700px;
// min-height: 50px;
// .filter-box {
// padding-right: 15px;
// padding-top: 10px;
// .form-group {
// @media (min-width: @screen-xs) {
// margin-bottom: 0;
// }
// }
// .remove-filter {
// margin-top: 6px;
// margin-left: 15px;
// }
// .filter-field {
// .frappe-control {
// position: relative;
// margin-bottom: 0;
// }
// }
// }
// .filter-actions {
// padding-top: 15px;
// }
// }
// // for sm and above
// @media (min-width: @screen-xs) {
// .filter-box .row > div[class*="col-sm-"] {
// padding-right: 0px;
// }
// .filter-field {
// .frappe-control {
// position: relative;
// }
// }
// }

View file

@ -1,110 +0,0 @@
// @import "variables.less";
// .datatable {
// margin-left: -1px;
// margin-top: -1px;
// font-size: @text-medium;
// .frappe-control, .form-control {
// margin: 0;
// border-radius: 0px;
// border: none;
// background-color: transparent;
// }
// .form-group {
// margin: 0;
// }
// .link-btn {
// top: 6px;
// }
// select {
// height: 27px;
// }
// .checkbox {
// margin: 7px 0 7px 8px;
// }
// [data-fieldtype="Color"] .control-input {
// overflow: hidden;
// }
// }
// .dt-scrollable {
// max-height: calc(100vh - 250px);
// min-height: 100px;
// scrollbar-width: thin;
// }
// table td.dt-cell {
// position: relative;
// }
// .dt-cell__edit {
// padding: 0;
// input {
// font-size: inherit;
// height: 27px;
// }
// }
// .dt-header {
// --dt-header-cell-bg: @panel-bg;
// --dt-cell-bg: @panel-bg;
// --dt-text-color: @text-muted;
// .dt-row[data-is-filter] {
// display: flex !important;
// }
// }
// .dt-row {
// height: 35px;
// }
// .dt-row.dt-row-totalRow {
// font-weight: bold;
// }
// .dt-row.row-update {
// animation: 500ms breathe forwards;
// }
// .report-action-checkbox {
// margin: 0;
// margin-left: 10px;
// .checkbox {
// margin: 0;
// }
// .help-box {
// display: none;
// }
// }
// .dt-filter {
// border: 1px solid @light-border-color;
// border-radius: 3px;
// background-color: #fff;
// }
// .dt-tree-node__toggle + a {
// margin-left: 4px;
// }
// @keyframes breathe {
// 0% {
// background-color: transparent;
// }
// 50% {
// background-color: @extra-light-yellow;
// }
// 100% {
// background-color: transparent;
// }
// }

View file

@ -1,89 +0,0 @@
@import "variables.less";
.indicator,
.indicator-right {
background:none;
vertical-align:middle;
font-size: 12px;
font-weight:bold;
color:#6c7680;
}
.indicator::before,
.indicator-right::after {
content:'';
display:inline-block;
height:8px;
width:8px;
border-radius:8px;
}
.indicator::before {
margin:0px 4px 0px 0px;
}
.indicator-right::after {
margin:0 0 0 4px;
}
.indicator.grey::before,
.indicator-right.grey::after {
background: @btn-bg;
}
.indicator.blue::before,
.indicator-right.blue::after {
background: @indicator-blue;
}
.indicator.red::before,
.indicator-right.red::after {
background: @indicator-red;
}
.indicator.green::before,
.indicator-right.green::after {
background: @indicator-green;
}
.indicator.orange::before,
.indicator-right.orange::after {
background: @indicator-orange;
}
.indicator.purple::before,
.indicator-right.purple::after {
background: @indicator-purple;
}
.indicator.darkgrey::before,
.indicator-right.darkgrey::after {
background: @indicator-darkgrey;
}
.indicator.black::before,
.indicator-right.black::after {
background: @text-color;
}
.indicator.yellow::before,
.indicator-right.yellow::after {
background: @indicator-yellow;
}
.indicator.light-blue::before,
.indicator-right.light-blue::after {
background: @indicator-light-blue;
}
.indicator.lightblue::before,
.indicator-right.lightblue::after {
background: @indicator-light-blue;
}
.modal-header .indicator {
margin: auto 0;
margin-right: 3px;
}
.indicator.blink {
animation: blink 1s linear infinite;
}
@keyframes blink {
50% { opacity: 0.5; }
}

View file

@ -1,195 +0,0 @@
// @import "variables.less";
// .kanban {
// min-height: ~"calc(100vh - 252px)";
// background-color: @light-bg;
// display: flex;
// overflow: auto;
// .kanban-column {
// flex: 0 0 230px;
// max-width: 230px;
// background-color: @light-bg;
// border-right: 1px solid @border-color;
// padding: 15px;
// &.add-new-column {
// order: 1;
// border-right: none;
// }
// }
// .kanban-column-title {
// margin-top: 0;
// margin-bottom: 15px;
// position: relative;
// font-weight: bold;
// font-size: 12px;
// .column-options {
// .button-group {
// display: flex;
// padding: 12px 14px;
// .btn.indicator {
// flex: 1;
// }
// }
// .indicator::before {
// margin: 0;
// }
// }
// &:hover {
// cursor: pointer;
// }
// }
// .sortable-ghost > .kanban-card:not(.add-card) {
// background: #ccc !important;
// color: transparent;
// * {
// background: transparent !important;
// color: transparent !important;
// }
// }
// .kanban-card {
// background-color: #fff;
// box-shadow: 0 1px 3px rgba(0,0,0,0.30);
// border-radius: 2px;
// padding: 6px 6px 6px 8px;
// margin-top: 10px;
// &.add-card {
// background-color: transparent;
// box-shadow: none;
// color: @text-muted;
// &:hover {
// box-shadow: none;
// color: @text-color;
// cursor: pointer;
// }
// .octicon-plus {
// top: -1px;
// font-size: 1em;
// margin-right: 5px;
// position:relative;
// }
// }
// }
// .kanban-card-wrapper {
// position: relative;
// .kanban-card-redirect {
// display: block;
// &:hover,
// &:focus {
// text-decoration: none;
// }
// }
// }
// .kanban-card:hover, .new-card-area, .edit-card-area {
// box-shadow: 0 2px 4px rgba(0,0,0,0.30);
// }
// .kanban-card-wrapper:hover {
// cursor: pointer;
// text-decoration: none;
// .kanban-card-edit {
// opacity: 1;
// }
// }
// .kanban-card-title {
// max-width: 90%;
// font-size: 12px;
// }
// .kanban-card-edit {
// position: absolute;
// right: 10px;
// opacity: 0;
// transition: 0.2s ease;
// }
// .new-card-area, .edit-card-area {
// margin-bottom: 10px;
// textarea {
// font-size: 12px;
// resize: none;
// border: none;
// background: none;
// overflow: hidden;
// word-wrap: break-word;
// width: 100%;
// &:focus {
// outline: none;
// }
// }
// }
// .compose-column-form {
// .new-column-title {
// background: transparent;
// border: none;
// outline: none;
// }
// }
// .add-new-column a:hover {
// color: @text-color !important;
// }
// .kanban-card-meta {
// margin-top: 8px;
// text-align: right;
// .avatar {
// width: 16px;
// height: 16px;
// }
// }
// .kanban-empty-state {
// width: 100%;
// line-height: 400px;
// }
// }
// body[data-route*="Kanban"] {
// .modal .add-assignment:hover {
// // border-color: @text-color;
// i {
// color: @text-color !important;
// }
// }
// }
// .edit-card-title {
// .h4 {
// margin-top: 5px;
// margin-bottom: 5px;
// }
// span:hover {
// background-color: @light-yellow;
// cursor: pointer;
// }
// input {
// border: none;
// outline: none;
// width: 100%;
// }
// }

View file

@ -1,607 +0,0 @@
// @import "variables.less";
// .frappe-list {
// .result, .no-result, .freeze {
// min-height: ~"calc(100vh - 284px)";
// }
// .msg-box {
// margin-bottom: 8em;
// // To compensate for percieved centering
// .null-state {
// height: 15rem !important;
// max-height: 150px;
// width: auto;
// }
// .meta-description {
// width: 45%;
// margin-right: auto;
// margin-left: auto;
// }
// }
// }
// .freeze-row {
// .level-left, .level-right, .list-row-col {
// height: 100%;
// width: 100%;
// }
// .list-row-col {
// background-color: @border-color;
// border-radius: 2px;
// animation: 2s breathe infinite;
// }
// }
// @keyframes breathe {
// 0% {
// opacity: 0.2;
// }
// 50% {
// opacity: 0.5;
// }
// 100% {
// opacity: 0.2;
// }
// }
// body.no-list-sidebar {
// [data-page-route^="List/"] {
// @media (min-width: @screen-md) {
// .layout-side-section {
// display: none;
// }
// .layout-main-section-wrapper {
// width: 100% !important;
// }
// }
// }
// }
// .filter-list {
// position: relative;
// .tag-filters-area {
// padding: 10px 150px 0 10px;
// border-bottom: 1px solid @border-color;
// }
// .sort-selector {
// position: absolute;
// top: 0px;
// right: 0px;
// margin: 10px;
// display: flex;
// .dropdown:hover {
// text-decoration: underline;
// }
// .dropdown-menu {
// max-height: 300px;
// overflow-y: scroll;
// right: 0;
// left: auto;
// }
// button {
// margin-left: 10px;
// }
// }
// }
// .list-row-container {
// border-bottom: 1px solid @border-color;
// display: flex;
// flex-direction: column;
// outline: none;
// &:focus {
// background-color: @light-yellow;
// }
// }
// .list-row {
// padding: 12px 15px;
// height: 40px;
// cursor: pointer;
// transition: color 0.2s;
// -webkit-transition: color 0.2s;
// &:hover {
// background-color: @panel-bg;
// }
// &:last-child {
// border-bottom: 0px;
// }
// .level-left {
// flex: 3;
// width: 75%;
// }
// .level-right {
// flex: 1;
// }
// }
// .list-row-head {
// background-color: @panel-bg;
// border-bottom: 1px solid @border-color !important;
// .list-subject {
// font-weight: normal;
// }
// .checkbox-actions {
// display: none;
// }
// }
// .list-row-col {
// flex: 1;
// margin-right: 15px;
// }
// .list-subject {
// flex: 2;
// justify-content: start;
// .level-item {
// margin-right: 8px;
// }
// &.seen {
// font-weight: normal;
// }
// }
// .list-row-activity {
// justify-content: flex-end;
// min-width: 120px;
// .avatar:not(.avatar-empty) {
// margin: 0;
// }
// &> span {
// display: inline-block;
// &:not(:last-child) {
// margin-right: 8px;
// }
// }
// .comment-count {
// min-width: 35px;
// }
// }
// .list-paging-area, .footnote-area {
// padding: 10px 15px;
// border-top: 1px solid @border-color;
// overflow: auto;
// }
// .progress {
// height: 10px;
// }
// .likes-count {
// display: none;
// }
// .list-liked-by-me {
// margin-bottom: 1px;
// }
// input.list-check-all, input.list-row-checkbox {
// margin-top: 0px;
// }
// .filterable {
// cursor: pointer;
// }
// .listview-main-section {
// .octicon-heart {
// cursor: pointer;
// }
// .page-form {
// padding-left: 17px;
// @media (max-width: @screen-sm) {
// padding-left: 25px;
// }
// .octicon-search {
// float: left;
// padding-top: 7px;
// margin-left: -4px;
// margin-right: -4px;
// @media (max-width: @screen-sm) {
// margin-left: -12px;
// }
// }
// }
// }
// .like-action.octicon-heart {
// color: @heart-color;
// }
// .list-comment-count {
// display: inline-block;
// width: 37px;
// text-align: left;
// }
// // tags
// .result.tags-shown {
// .tag-row {
// display: block;
// }
// }
// .tag-row {
// display: none;
// margin-left: 50px;
// }
// .taggle_placeholder {
// top: 0;
// left: 5px;
// font-size: 11px;
// color: @text-muted;
// }
// .taggle_list {
// padding-left: 5px;
// margin-bottom: 3px;
// .taggle {
// font-size: 11px;
// padding: 2px 4px;
// font-weight: normal;
// background-color: @btn-bg;
// white-space: normal;
// &:hover {
// padding: 2px 15px 2px 4px;
// background: #cfdce5;
// transition: all .2s;
// }
// }
// li {
// margin-bottom: 0;
// .awesomplete > ul > li {
// width: 100%;
// }
// .awesomplete > ul {
// top: 15px;
// z-index: 100;
// }
// }
// .close {
// right: 5px;
// color: @text-color;
// font-size: 11px;
// }
// }
// .page-form {
// .awesomplete > ul {
// min-width: 300px;
// }
// }
// .frappe-rtl {
// .restricted-button {
// margin: auto auto auto 5px;
// direction: ltr;
// }
// }
// .taggle_input {
// padding: 0;
// margin-top: 3px;
// font-size: 11px;
// max-width: 100px;
// }
// // Image view
// .image-view-container {
// display: flex;
// flex-wrap: wrap;
// .image-view-row {
// display: flex;
// border-bottom: 1px solid #ebeff2;
// }
// .image-view-item {
// flex: 0 0 100%/4;
// padding: 15px;
// border-bottom: 1px solid @light-border-color;
// border-right: 1px solid @light-border-color;
// max-width: 100%/4;
// }
// .image-view-item:nth-child(4n) {
// border-right: none;
// }
// .image-view-header {
// margin-bottom: 10px;
// }
// .image-view-info {
// margin-top: 10px;
// }
// .image-view-body {
// &:hover .zoom-view {
// opacity: 0.7;
// }
// a {
// text-decoration: none;
// }
// }
// .image-field {
// display: flex;
// align-content: center;
// align-items: center;
// justify-content: center;
// position: relative;
// height: 200px;
// img {
// max-height: 100%;
// }
// &.no-image {
// background-color: @light-bg;
// }
// }
// .placeholder-text {
// font-size: 72px;
// color: @text-extra-muted;
// }
// .zoom-view {
// bottom: 10px !important;
// right: 10px !important;
// width: 36px;
// height: 36px;
// opacity: 0;
// font-size: 16px;
// color: @text-color;
// position: absolute;
// // show zoom button on mobile devices
// @media (max-width: @screen-xs) {
// opacity: 0.5
// }
// }
// // 3 columns for small screen
// @media(max-width: @screen-sm) {
// .image-view-container.three-column;
// }
// }
// .item-selector {
// border: 1px solid @border-color;
// .image-view-row {
// width: 100%;
// }
// .image-field {
// height: 120px;
// }
// .placeholder-text {
// font-size: 48px;
// }
// }
// .image-view-container.three-column {
// .image-view-item {
// flex: 0 0 100%/3;
// max-width: 100%/3;
// }
// .image-view-item:nth-child(3n) {
// border-right: none;
// }
// .image-view-item:nth-last-child(-n + 3):nth-child(3n + 1),
// .image-view-item:nth-last-child(-n + 3):nth-child(3n + 1) ~ .image-view-item {
// border-bottom: none;
// }
// .image-view-item:nth-child(4n) {
// border-right: 1px solid @light-border-color;
// }
// .image-view-item:nth-last-child(-n + 4):nth-child(4n + 1),
// .image-view-item:nth-last-child(-n + 4):nth-child(4n + 1) ~ .image-view-item {
// border-bottom: 1px solid @light-border-color;
// }
// }
// .pswp--svg .pswp__button,
// .pswp--svg .pswp__button--arrow--left:before,
// .pswp--svg .pswp__button--arrow--right:before {
// background-image: url('/assets/frappe/images/default-skin.svg') !important;
// }
// .pswp--svg .pswp__button--arrow--left,
// .pswp--svg .pswp__button--arrow--right {
// background: none !important;
// }
// .pswp__bg {
// background-color: #fff !important;
// }
// .pswp__more-items {
// position: absolute;
// bottom: 12px;
// left: 50%;
// transform: translateX(-50%);
// }
// .pswp__more-item {
// display: inline-block;
// margin: 5px;
// height: 100px;
// cursor: pointer;
// border: 1px solid @border-color;
// img {
// max-height: 100%;
// }
// }
// .inbox-attachment, .inbox-link {
// margin-right: 7px;
// }
// .select-inbox {
// padding: 30px 30px;
// }
// .inbox-value {
// padding-top: 2px;
// }
// // list view
// .modal-body {
// .list-item--head {
// position: sticky !important;
// z-index: 500;
// top: 0;
// }
// }
// .list-items {
// width: 100%;
// }
// .list-item-container {
// border-bottom: 1px solid @border-color;
// &:last-child {
// border-bottom: none;
// }
// }
// .list-item-table {
// border: 1px solid @border-color;
// border-radius: 3px;
// }
// .list-item {
// display: flex;
// align-items: center;
// cursor: pointer;
// height: 40px;
// padding-left: 15px;
// font-size: @text-medium;
// &:hover {
// background-color: @panel-bg;
// }
// @media (max-width: @screen-xs) {
// height: 50px;
// padding-left: 10px;
// font-size: @text-regular;
// font-weight: normal;
// }
// &--head {
// background-color: @panel-bg;
// border-bottom: 1px solid @border-color;
// cursor: auto;
// }
// input[type=checkbox] {
// margin: 0;
// margin-right: 5px;
// flex: 0 0 12px;
// }
// .liked-by, .liked-by-filter-button {
// display: inline-block;
// width: 20px;
// margin-right: 10px;
// }
// }
// .list-item__content {
// flex: 1;
// margin-right: 15px;
// display: flex;
// align-items: center;
// &--flex-2 {
// flex: 2;
// }
// &--activity {
// justify-content: flex-end;
// margin-right: 5px;
// min-width: 110px;
// .list-row-modified, .avatar-small {
// margin-right: 10px;
// }
// }
// &--indicator span::before {
// height: 12px;
// width: 12px;
// }
// &--id {
// justify-content: flex-end;
// }
// }
// .frappe-timestamp {
// white-space: nowrap;
// }
// .file-grid {
// display: flex;
// flex-wrap: wrap;
// align-content: flex-start;
// a {
// height: 100%;
// }
// }
// .file-wrapper {
// width: 120px;
// flex-direction: column;
// align-items: center;
// }
// .file-title {
// margin-top: 5px;
// }

View file

@ -1,159 +0,0 @@
// @import "variables.less";
// // grid report
// .grid-report .plot {
// margin: 15px;
// display: none;
// height: 300px !important;
// width: 97% !important;
// }
// .grid-report .ui-widget {
// border: none !important;
// outline: none !important;
// border-top: 1px solid @border-color !important;
// background-color: @light-bg !important;
// }
// .grid-report .show-zero {
// margin: 10px;
// display: none
// }
// // .filter-popover {
// // min-width: 500px;
// // min-height: 50px;
// // font-size: var(--text-md);
// // column picker
// .column-picker-dialog {
// .column-list {
// margin: 15px 0;
// border: 1px solid @border-color;
// .column-list-item {
// padding: 10px;
// border-bottom: 1px solid @border-color;
// }
// .column-list-item:last-child {
// border-bottom: none;
// }
// .sortable-handle {
// cursor: move;
// }
// .sortable-chosen {
// background-color: @light-yellow;
// }
// .fa-sort {
// margin: 0px 7px;
// margin-top: 9px;
// margin-right: -15px;
// }
// .form-control {
// display: inline-block;
// width: 89%;
// @media (max-width: @screen-xs) {
// width: 77%;
// }
// }
// .close {
// margin: 2px 7px 0px;
// }
// }
// .add-btn {
// margin-bottom: 2px;
// }
// }
// .columns-search {
// margin-bottom: 10px;
// }
// .report-wrapper {
// overflow: auto;
// }
// .chart-wrapper {
// border-bottom: 1px solid @border-color;
// }
// .groupby-box {
// border-bottom: 1px solid #d1d8dd;
// padding: 10px 15px 3px;
// .remove-groupby {
// margin-top: 6px;
// margin-left: 15px;
// }
// .groupby-field {
// padding-right: 15px;
// width: calc(100% - 36px);
// .frappe-control {
// position: relative;
// }
// }
// }
// .report-summary {
// display: grid;
// grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
// grid-auto-rows: minmax(62px, 1fr);
// column-gap: 15px;
// row-gap: 20px;
// align-items: center;
// padding: 15px 15px;
// border-bottom: 1px solid @border-color;
// margin-right: 0px;
// margin-left: 0px;
// .summary-label {
// font-weight: normal !important;
// }
// .summary-value {
// margin-top: 8px;
// margin-bottom: 5px;
// overflow: hidden !important;
// text-overflow: ellipsis;
// white-space: nowrap;
// font-feature-settings: "tnum";
// div {
// text-align: left !important;
// overflow: hidden !important;
// text-overflow: ellipsis;
// white-space: nowrap;
// }
// }
// }
// // for sm and above
// @media (min-width: @screen-xs) {
// .groupby-box .row > div[class*="col-sm-"] {
// padding-right: 0px;
// }
// .groupby-field {
// width: 65% !important;
// .frappe-control {
// position: relative;
// }
// }
// }
// // Enable tnum for report
// .dt-scrollable .dt-cell__content {
// font-feature-settings: "tnum", "zero";
// }

View file

@ -1,109 +0,0 @@
// @import "variables.less";
// .tree {
// padding: 15px;
// }
// .tree li {
// list-style: none;
// margin: 2px 0px;
// }
// .tree-children {
// padding-left: 20px;
// }
// .tree-link {
// cursor: pointer;
// display: inline-block;
// padding: 1px;
// }
// .tree-link .node-parent {
// color: @text-muted;
// font-size: 14px;
// width: 10px;
// text-align: center;
// }
// .tree-link .node-leaf {
// color: @text-extra-muted;
// }
// .tree-link .node-parent, .tree-link .node-leaf {
// margin-right: 5px;
// }
// .tree-link.active {
// i {
// color: @indicator-blue;
// }
// a {
// color: @text-muted;
// }
// }
// .tree-hover {
// background-color: @panel-bg;
// min-height: 20px;
// border: 1px solid @border-color;
// }
// .tree-node-toolbar {
// display: inline-block;
// padding: 0px 5px;
// margin-left: 15px;
// margin-bottom: -4px;
// margin-top: -8px;
// }
// @media (max-width: @screen-xs) {
// .tree-children {
// padding-left: 10px;
// }
// }
// // decoration
// // .tree, .tree-node {
// .tree.with-skeleton, .tree.with-skeleton .tree-node {
// position: relative;
// &.opened::before, &:last-child::after {
// content: '';
// position: absolute;
// top: 16px;
// left: 8px;
// height: ~"calc(100% - 26px)";
// width: 1px;
// background: @border-color;
// }
// &:last-child::after {
// top: 11px;
// left: -13px;
// height: ~"calc(100% - 15px)";
// width: 3px;
// background: #fff;
// }
// }
// .tree.with-skeleton .tree-children > .tree-node > .tree-link::before {
// content: '';
// position: absolute;
// width: 12px;
// height: 1px;
// top: 10px;
// left: -11px;
// background: @border-color;
// }
// .tree.with-skeleton.opened::before {
// left: 23px;
// top: 33px;
// height: ~"calc(100% - 67px)";
// }
// .tree-link.active ~ .balance-area {
// color: @text-color !important;
// }