123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757 |
- // /**
- // * Copyright © Magento, Inc. All rights reserved.
- // * See COPYING.txt for license details.
- // */
- //
- // Table Filters
- // --------------------------------------
- .filter {
- input.input-text {
- width: 99%;
- margin-right: 0;
- &::-webkit-input-placeholder {
- color: @grid-filters-placeholder-color !important;
- text-transform: lowercase;
- }
- &::-moz-placeholder {
- color: @grid-filters-placeholder-color!important;
- text-transform: lowercase;
- }
- &:-moz-placeholder {
- color: @grid-filters-placeholder-color !important;
- text-transform: lowercase;
- }
- &:-ms-input-placeholder {
- color: @grid-filters-placeholder-color !important;
- text-transform: lowercase;
- }
- }
- }
- //
- // Table Grid
- //--------------------------------------
- .grid {
- padding: 15px;
- table {
- width: 100%;
- }
- tbody tr {
- &.selected th,
- &.selected td,
- &:hover th,
- &:hover td,
- &:nth-child(odd):hover th,
- &:nth-child(odd):hover td {
- cursor: pointer;
- &.empty-text {
- cursor: default;
- }
- }
- }
- .empty-text {
- text-align: center;
- white-space: nowrap;
- }
- th.required,
- th .required {
- &:extend(.validation-symbol-light all);
- }
- // Dates and date ranges
- td {
- &.col-period,
- &.col-date,
- &.col-date_to,
- &.col-date_from,
- &.col-ended_at,
- &.col-created_at,
- &.col-updated_at,
- &.col-customer_since,
- &.col-session_start_time,
- &.col-last_activity,
- &.col-email,
- &.col-name,
- &.col-sku,
- &.col-firstname,
- &.col-lastname,
- &.col-title,
- &.col-label,
- &.col-product,
- &.col-set_name,
- &.col-websites,
- &.col-time,
- &.col-billing_name,
- &.col-shipping_name,
- &.col-phone,
- &.col-type {
- &:extend(.ellipsis all);
- }
- }
- .col-period,
- .col-date,
- .col-date_to,
- .col-date_from,
- .col-ended_at,
- .col-created_at,
- .col-updated_at,
- .col-customer_since,
- .col-session_start_time,
- .col-last_activity,
- // Email
- .col-email,
- // Total items
- .col-items_total,
- .col-firstname,
- .col-lastname,
- .col-status-default,
- .col-websites,
- .col-time,
- .col-billing_name,
- .col-shipping_name {
- &:extend(.col-110-max all);
- }
- .col-name,
- .col-product {
- &:extend(.col-370-max all);
- }
- .col-sku {
- max-width: 100px;
- width: 100px;
- }
- // Order ID, Invoice number
- .col-order-number,
- .col-real_order_id,
- .col-invoice-number,
- .col-increment_id,
- .col-transaction-id,
- .col-parent-transaction-id,
- .col-reference_id,
- // Status
- .col-status,
- .col-price,
- .col-position,
- .col__base_grand_total,
- .col-grand_total,
- .col-sort_order,
- // Reports
- .col-carts,
- .col-priority,
- .col-severity {
- &:extend(.col-70 all);
- }
- .col-phone {
- &:extend(.col-70-max all);
- }
- .col-action,
- .col-actions,
- .col-qty,
- .col-purchases {
- &:extend(.col-50 all);
- }
- // Grid columns
- .col-select,
- .col-id,
- .col-number {
- &:extend(.col-40 all);
- }
- .col-select,
- .col-massaction {
- text-align: center;
- }
- .editable .input-text {
- width: 65px;
- }
- .col-actions {
- .action-select {
- background: @form-element-background-color;
- border-color: @grid-controls-border;
- height: 28px;
- margin: 0;
- padding: 4px 4px 5px;
- width: 80px;
- }
- }
- .col-position.editable {
- white-space: nowrap;
- .input-text {
- margin: -7px 5px 0;
- width: 70%;
- }
- }
- }
- td.col-period,
- td.col-date,
- td.col-date_to,
- td.col-date_from,
- td.col-ended_at,
- td.col-created_at,
- td.col-updated_at,
- td.col-customer_since,
- td.col-session_start_time,
- td.col-time,
- td.col-type {
- &:extend(.nowrap all);
- }
- //
- // Data table
- //--------------------------------------
- .data-table {
- width: 100%;
- thead,
- tfoot,
- th {
- background: @grid-td-light;
- .style2();
- }
- th {
- text-align: left;
- }
- thead th {
- border: solid @data-table-th-border-color;
- border-width: 0 0 1px;
- padding: 7px;
- }
- td,
- tbody tr th,
- tbody tr td {
- background: @data-table-td-background-color;
- border-width: 0;
- padding: 5px 7px;
- vertical-align: middle;
- }
- tbody {
- tr {
- &:nth-child(odd) th,
- &:nth-child(odd) td {
- background: @data-table-td-background-color-odd;
- }
- }
- &.odd {
- tr {
- th,
- td {
- background: @data-table-td-background-color-odd;
- }
- }
- }
- &.even {
- tr {
- th,
- td {
- background: @data-table-td-background-color;
- }
- }
- }
- }
- tfoot {
- tr {
- &:last-child th,
- &:last-child td {
- border: 0;
- }
- }
- }
- &.order-tables {
- tbody {
- td {
- vertical-align: top;
- }
- &:hover tr {
- th,
- td {
- background: @data-table-td-background-color-hover;
- }
- }
- }
- tfoot td {
- background: @grid-tfoot-background-color;
- .style2();
- }
- }
- input[type="text"] {
- width: 98%;
- padding-left: 1%;
- padding-right: 1%;
- }
- select {
- margin: 0;
- box-sizing: border-box;
- }
- th.required-entry,
- td.required-entry {
- &:extend(.validation-symbol all);
- }
- .col-actions .actions-split {
- margin-top: 4px;
- [class^='action-'] {
- background: none;
- border: 1px solid #c8c3b5;
- padding: 3px 5px;
- color: #bbb3a6;
- font-size: 12px;
- &:first-child {
- border-right: 0;
- }
- }
- .dropdown-menu {
- margin-top: -1px;
- a {
- display: block;
- color: #333;
- text-decoration: none;
- }
- }
- &.active .action-toggle {
- position: relative;
- border-bottom-right-radius: 0;
- box-shadow: none;
- background: @color-white;
- &:after {
- position: absolute;
- top: 100%;
- left: 0;
- right: 0;
- height: 2px;
- margin-top: -1px;
- background: @color-white;
- content: '';
- z-index: 2;
- }
- .dropdown-menu {
- border-top-right-radius: 0;
- }
- }
- }
- //
- // Attribute Information
- // --------------------------------------
- .col-default {
- white-space: nowrap;
- text-align: center;
- vertical-align: middle;
- }
- .col-delete {
- text-align: center;
- width: 32px;
- }
- .col-file {
- white-space: nowrap;
- input,
- .input-text {
- margin: 0 5px;
- width: 40%;
- &:first-child {
- margin-left: 0;
- }
- }
- }
- .col-actions-add {
- padding: 10px 0;
- }
- }
- .accordion .config .data-table {
- thead th,
- tfoot td {
- &:extend(.data-table thead all);
- }
- td {
- &:extend(.data-table td all);
- }
- tbody tr:nth-child(odd) td {
- &:extend(.data-table tbody tr:nth-child(odd) td);
- }
- tfoot tr:last-child td {
- &:extend(tfoot tr:last-child td all);
- }
- }
- //
- // Grid - Pager and Buttons row
- // --------------------------------------
- .grid-actions {
- background: @grid-frame-background-color;
- font-size: 13px;
- line-height: 28px;
- padding: 10px 15px;
- position: relative;
- + .grid {
- padding-top: 5px;
- }
- .export,
- .filter-actions {
- float: right;
- margin-left: 10px;
- vertical-align: top;
- }
- .import {
- display: block;
- }
- .action-reset {
- .lib-button-as-link();
- margin: 6px 10px 0 0;
- vertical-align: top;
- }
- .import,
- .export {
- .label {
- margin: 0 14px 0 0;
- vertical-align: inherit;
- }
- }
- .import,
- .export,
- .filter-actions {
- .action- {
- vertical-align: inherit;
- }
- }
- .filter {
- .date {
- float: left;
- margin: 0 15px 0 0;
- position: relative;
- .ui-datepicker-trigger {
- &:before {
- color: @color-middle;
- top: 1px;
- }
- &:hover {
- &:before {
- color: @color-dark;
- }
- }
- }
- }
- .label {
- margin: 0;
- }
- ._has-datepicker {
- margin: 0 5px;
- width: 80px;
- }
- .show-by {
- .select {
- margin-left: 5px;
- padding: 4px 44px 5px 4px;
- vertical-align: top;
- width: auto;
- }
- }
- &.required {
- &:after {
- content: '';
- }
- .label span {
- &:extend(.validation-symbol all);
- }
- }
- }
- .required {
- &:extend(.validation-symbol all);
- }
- img {
- vertical-align: middle;
- height: 22px;
- width: 22px;
- }
- .validation-advice {
- background: @validation-background-color;
- border: 1px solid @validation__color;
- border-radius: 3px;
- color: @validation__color;
- margin: 5px 0 0;
- padding: 3px 7px;
- position: absolute;
- white-space: nowrap;
- z-index: 5;
- &:before {
- .arrow(up, 5px, @validation__color);
- content: '';
- left: 50%;
- margin-left: -5px;
- position: absolute;
- top: -11px;
- }
- }
- input[type="text"].validation-failed {
- border-color: @validation__color;
- box-shadow: 0 0 8px @validation__color-rgba;
- }
- .link-feed {
- white-space: nowrap;
- }
- }
- .form-inline .grid-actions {
- &:extend(.massaction-form-inline-label-reset all);
- }
- .pager {
- .link-feed {
- font-size: 12px;
- margin: 7px 15px 0 0;
- position: absolute;
- right: 0;
- top: 0;
- }
- }
- //
- // Grid - Mass Action
- // --------------------------------------
- .massaction {
- background: @grid-frame-background-color;
- border-top: @grid-massaction-border;
- font-size: 13px;
- line-height: 28px;
- padding: 15px 15px 0;
- &:extend(.add-clearer all);
- > .entry-edit {
- float: right;
- .field-row {
- display: inline-block;
- vertical-align: top;
- }
- .validation-advice {
- display: none !important;
- }
- .form-inline {
- display: inline-block;
- }
- .label {
- &:extend(.grid-actions .export .label);
- padding: 0;
- width: auto;
- }
- .action- {
- &:extend(.grid-actions .export .action-);
- vertical-align: top;
- }
- }
- .select.validation-failed {
- border: @validation-border;
- background: @validation-background-color;
- }
- }
- .form-inline .massaction {
- &:extend(.massaction-form-inline-label-reset all);
- }
- //
- // Grid - status and severity
- // --------------------------------------
- .grid-severity-critical,
- .grid-severity-major,
- .grid-severity-notice,
- .grid-severity-minor {
- background: @grid-severity-minor-background-color;
- border: 1px solid @grid-severity-minor-border;
- color: @grid-severity-minor-color;
- display: block;
- padding: 0 3px;
- font-weight: bold;
- line-height: 17px;
- text-transform: uppercase;
- text-align: center;
- }
- .grid-severity-critical,
- .grid-severity-major {
- border-color: @grid-severity-critical-border;
- background: @grid-severity-critical-background-color;
- color: @grid-severity-critical-color;
- }
- .grid-severity-notice {
- border-color: @grid-severity-notice-border;
- background: @grid-severity-notice-background-color;
- color: @grid-severity-notice-color;
- }
- //
- // Inputs and selects in tables
- // --------------------------------------
- .grid,
- .data-table {
- tbody {
- td,
- th {
- input[type="text"],
- .input-text,
- select,
- .select {
- width: 99%;
- }
- }
- }
- }
- //
- // Grids for pages
- // --------------------------------------
- .ui-tabs-panel {
- .grid .col-sku {
- max-width: 150px;
- width: 150px;
- }
- }
- .col-indexer_status,
- .col-indexer_mode {
- width: 160px;
- }
- .fieldset-wrapper {
- .grid-actions + .grid {
- padding-top: 15px;
- }
- .grid-actions {
- padding: 10px 0 0;
- }
- .grid {
- padding: 0;
- }
- .massaction {
- padding: 0;
- border-top: none;
- margin-bottom: 15px;
- }
- }
- .accordion .grid {
- padding: 0;
- }
- .ui-dialog-content {
- .grid-actions,
- .grid {
- padding-left: 0;
- padding-right: 0;
- }
- }
- //
- // Sales
- // --------------------------------------
- .product-options .grouped-items-table {
- .col-name,
- .col-sku {
- &:extend(.ellipsis all);
- &:extend(.col-110-max all);
- }
- }
- //
- // Sales -> Qty - table
- //--------------------------------------
- .qty-table {
- td {
- border: 0;
- padding: 0 5px 3px;
- }
- }
- //
- // Sales -> Create Order
- //--------------------------------------
- .order-account-information {
- &:extend(.data-table-td-max all);
- }
- //
- // Content -> Banners
- // --------------------------------------
- .col-banner_name {
- &:extend(.col-370-max all);
- &:extend(.ellipsis all);
- }
|