ltsecurityinc安防产品在线商城代码
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
//
|
||||
// Amasty Elastic Search
|
||||
// ____________________________________________
|
||||
|
||||
@import 'module/components/_tooltip';
|
||||
@import 'module/_base';
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
//
|
||||
// Amasty Elastic Search Base Styles
|
||||
// ______________________________________________
|
||||
|
||||
//
|
||||
// Common
|
||||
// ----------------------------------------------
|
||||
|
||||
& when (@media-common = true) {
|
||||
.amasty-elastic-relevancerule-edit .admin__field-tooltip .admin__field-tooltip-content {
|
||||
& {
|
||||
background: #41362f;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
&:after,
|
||||
&:before {
|
||||
border-top-color: #41362f;
|
||||
}
|
||||
}
|
||||
|
||||
.amelastic-datefield ._has-datepicker + .ui-datepicker-trigger {
|
||||
z-index: 2; // mozilla input + button equal z-index fix
|
||||
}
|
||||
|
||||
#row_amasty_elastic_catalog_query_settings {
|
||||
.label span {
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
.admin__control-table th,
|
||||
.admin__control-table td {
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.amasty-elastic-form-wrapper {
|
||||
& {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.amasty-elastic-form-comment {
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Desktop
|
||||
// ----------------------------------------------
|
||||
|
||||
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__xl) {
|
||||
#row_amasty_elastic_catalog_query_settings .admin__control-table {
|
||||
td,
|
||||
th {
|
||||
& {
|
||||
padding: 1.3rem 1rem 1.3rem 0;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
padding-left: 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+80
@@ -0,0 +1,80 @@
|
||||
//phpcs:ignoreFile
|
||||
|
||||
//
|
||||
// Amasty Elastic Search Tooltip
|
||||
// ______________________________________________
|
||||
|
||||
//
|
||||
// Common
|
||||
// ----------------------------------------------
|
||||
|
||||
& when (@media-common = true) {
|
||||
#row_amasty_elastic_catalog_query_settings {
|
||||
.value.with-tooltip {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.tooltip {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: -20px;
|
||||
bottom: inherit;
|
||||
left: inherit;
|
||||
float: none;
|
||||
margin: 20px 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.accordion .config .value.with-tooltip div.tooltip .help span {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.amelastic-field-block {
|
||||
.admin__field-tooltip .admin__field-tooltip-action:before {
|
||||
font-size: 1.7rem;
|
||||
}
|
||||
|
||||
.admin__field-tooltip-content {
|
||||
& {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 100%;
|
||||
z-index: 20;
|
||||
margin: 0 -17px 10px 0;
|
||||
padding: 18px;
|
||||
max-width: 400px;
|
||||
width: 400px;
|
||||
border: none;
|
||||
border-radius: 5px;
|
||||
background: rgba(49, 48, 43, .8);
|
||||
box-shadow: none;
|
||||
color: #fff;
|
||||
text-shadow: none;
|
||||
font-size: 13px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&:before {
|
||||
position: absolute;
|
||||
top: auto;
|
||||
right: 20px;
|
||||
bottom: -5px;
|
||||
left: auto;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border: none; // Override Magento style
|
||||
border-top: 5px solid #35302c;
|
||||
border-right: 5px solid transparent;
|
||||
border-bottom: 0;
|
||||
border-left: 5px solid transparent;
|
||||
content: '';
|
||||
opacity: .8;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user