diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkbox.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkbox.php index 3329f8aaf93c6b5d9a813f06de710f75634eb939..ec10318fd59913fcf938c896d4033c601668360b 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkbox.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkbox.php @@ -116,15 +116,18 @@ class Checkbox extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Abstra */ protected function _getCheckboxHtml($value, $checked) { - $html = '<input type="checkbox" '; + $html = '<label class="data-grid-checkbox-cell-inner" '; + $html .= ' for="id_' . $this->escapeHtml($value) . '">'; + $html .= '<input type="checkbox" '; $html .= 'name="' . $this->getColumn()->getFieldName() . '" '; $html .= 'value="' . $this->escapeHtml($value) . '" '; + $html .= 'id="id_' . $this->escapeHtml($value) . '" '; $html .= 'class="' . ($this->getColumn()->getInlineCss() ? $this->getColumn()->getInlineCss() : 'checkbox') . - ' admin__control-checkbox' . - '"'; + ' admin__control-checkbox' . '"'; $html .= $checked . $this->getDisabled() . '/>'; - $html .= '<label></label>'; + $html .= '<label for="id_' . $this->escapeHtml($value) . '"></label>'; + $html .= '</label>'; /* ToDo UI: add class="admin__field-label" after some refactoring _fields.less */ return $html; } diff --git a/app/code/Magento/ImportExport/Block/Adminhtml/Export/Filter.php b/app/code/Magento/ImportExport/Block/Adminhtml/Export/Filter.php index 4cd75e3313d2cee2f4185bfe5b734235e6205dfc..6dca0a90a8c32d5dd42af32eaccb3a4dc1d74a38 100644 --- a/app/code/Magento/ImportExport/Block/Adminhtml/Export/Filter.php +++ b/app/code/Magento/ImportExport/Block/Adminhtml/Export/Filter.php @@ -120,7 +120,7 @@ class Filter extends \Magento\Backend\Block\Widget\Grid\Extended { $html = '<input type="text" name="' . $this->getFilterElementName( $attribute->getAttributeCode() - ) . '" class="input-text input-text-export-filter"'; + ) . '" class="admin__control-text input-text input-text-export-filter"'; if ($value) { $html .= ' value="' . $this->escapeHtml($value) . '"'; } @@ -190,7 +190,7 @@ class Filter extends \Magento\Backend\Block\Widget\Grid\Extended ':</strong> ' . '<input type="text" name="' . $name . - '[]" class="input-text input-text-range"' . + '[]" class="admin__control-text input-text input-text-range"' . ' value="' . $fromValue . '"/> ' . @@ -200,7 +200,7 @@ class Filter extends \Magento\Backend\Block\Widget\Grid\Extended ) . ':</strong> <input type="text" name="' . $name . - '[]" class="input-text input-text-range" value="' . + '[]" class="admin__control-text input-text input-text-range" value="' . $toValue . '" />'; } @@ -236,7 +236,7 @@ class Filter extends \Magento\Backend\Block\Widget\Grid\Extended $arguments = [ 'name' => $this->getFilterElementName($attribute->getAttributeCode()), 'id' => $this->getFilterElementId($attribute->getAttributeCode()), - 'class' => 'select select-export-filter', + 'class' => 'admin__control-select select select-export-filter', ]; /** @var $selectBlock \Magento\Framework\View\Element\Html\Select */ $selectBlock = $this->_layout->createBlock( diff --git a/app/code/Magento/ImportExport/view/adminhtml/templates/export/form/after.phtml b/app/code/Magento/ImportExport/view/adminhtml/templates/export/form/after.phtml index ace41a768af027afaabce0a4877678e5d10abe8c..929fcf56bb537acede9cc11cf5c57ba57f292b2f 100644 --- a/app/code/Magento/ImportExport/view/adminhtml/templates/export/form/after.phtml +++ b/app/code/Magento/ImportExport/view/adminhtml/templates/export/form/after.phtml @@ -6,8 +6,8 @@ // @codingStandardsIgnoreFile ?> -<fieldset class="fieldset" id="export_filter_container" style="display:none;"> - <legend class="legend"> +<fieldset class="admin__fieldset" id="export_filter_container" style="display:none;"> + <legend class="admin__legend"> <span><?php /* @escapeNotVerified */ echo __('Entity Attributes'); ?></span> </legend> <br /> diff --git a/app/code/Magento/Integration/Block/Adminhtml/Integration/Tokens.php b/app/code/Magento/Integration/Block/Adminhtml/Integration/Tokens.php index e8654ef4fd3d3eded0d52557415294199801a8aa..f48a5e033b93f3845b7794b4e12d4f8ad2acd5f2 100644 --- a/app/code/Magento/Integration/Block/Adminhtml/Integration/Tokens.php +++ b/app/code/Magento/Integration/Block/Adminhtml/Integration/Tokens.php @@ -37,7 +37,7 @@ class Tokens extends \Magento\Backend\Block\Widget\Form\Generic $fieldset = $form->addFieldset( 'base_fieldset', - ['legend' => __('Integration Tokens for Extensions'), 'class' => 'fieldset-wide'] + ['legend' => __('Integration Tokens for Extensions'), 'class' => ' fieldset-wide'] ); foreach ($this->getFormFields() as $field) { diff --git a/app/code/Magento/Integration/view/adminhtml/templates/integration/activate/permissions/tab/webapi.phtml b/app/code/Magento/Integration/view/adminhtml/templates/integration/activate/permissions/tab/webapi.phtml index 52539a96e184a358ebfab50ff4f22df118ddd8c3..ba9ed08ce44b9a1d6b3a5fb4eb686d0cc05cc1ad 100644 --- a/app/code/Magento/Integration/view/adminhtml/templates/integration/activate/permissions/tab/webapi.phtml +++ b/app/code/Magento/Integration/view/adminhtml/templates/integration/activate/permissions/tab/webapi.phtml @@ -11,7 +11,7 @@ // @codingStandardsIgnoreFile ?> -<fieldset class="fieldset form-inline entry-edit"> +<fieldset class="admin__fieldset form-inline entry-edit"> <?php if ($block->isTreeEmpty()): ?> <p class="empty"><?php /* @escapeNotVerified */ echo __('No permissions requested'); ?></p> <?php else: ?> diff --git a/app/design/adminhtml/Magento/backend/web/css/styles-old.less b/app/design/adminhtml/Magento/backend/web/css/styles-old.less index 7390b3177b8360a5f41fd5cdfe839e1cbf56fa1c..9f624fea87ed90b28856fa0be9b5632e31471ea3 100644 --- a/app/design/adminhtml/Magento/backend/web/css/styles-old.less +++ b/app/design/adminhtml/Magento/backend/web/css/styles-old.less @@ -2640,8 +2640,8 @@ } // -// Configuration -> Design -// -------------------------------------- + // Configuration -> Design + // -------------------------------------- #row_design_theme_ua_regexp .design_theme_ua_regexp { float: left; @@ -2654,6 +2654,16 @@ clear: both; } + // + // Configuration -> Advanced -> System -> Notifications section + // -------------------------------------- + + #row_system_adminnotification_last_update { + .value { + vertical-align: bottom; + } + } + // // CMS -> Banners // --------------------------------------