Skip to content
Snippets Groups Projects
Commit 9d20d751 authored by Demian Katz's avatar Demian Katz
Browse files

less to sass

parent c75fcfeb
No related merge requests found
......@@ -62,6 +62,11 @@
font-size: 95%;
vertical-align: initial;
}
.tagList .tag .badge {
margin: 0;
padding: 3px 7px;
font-weight: normal;
}
.tagList button .fa-close { margin-top: 3px; }
.tagList {
.tag {
......
......@@ -10,10 +10,5 @@ body.rtl {
float: right;
text-align: right;
}
.record-checkbox .checkbox-icon::before {
border-radius: 0;
border-top-right-radius: $border-radius-base;
border-bottom-right-radius: $border-radius-base;
}
}
}
......@@ -149,10 +149,7 @@ header {
.comment .delete { font-size: $reduced-font-size; }
.comment-form .btn-primary { margin-top: .25rem; }
.tagList { line-height: 2rem; }
.tagList .tag .badge {
font-size: 12px;
font-weight: 900;
}
.tagList .tag .fa-close { margin: 0; }
/* --- Sidebar --- */
.sidebar {
......@@ -218,3 +215,15 @@ header {
.sidebar > h4 { margin-left: 1rem; }
.jstree-facet .main .fa-check { margin-top: 3px; }
@media (min-width: 768px) and (max-width: 991px) {
.sidebar .facet {
flex-flow: wrap;
.text { width: 100%; }
.badge {
flex-grow: 1;
order: 1;
}
.exclude { order: 2; }
}
}
......@@ -4,29 +4,10 @@
}
.list-group-item.title { color: $dark-gray; }
.bulkActionButtons {
.checkbox-select-all { display: none; }
label {
font-weight: 500;
color: $mid-gray;
}
label::before {
display: inline-block;
width: 28px;
margin-right: .5rem;
padding: .25rem;
font-size: $reduced-font-size;
font-family: "FontAwesome";
text-align: center;
color: $gray-light;
content: "\f00c";
cursor: pointer;
background-color: $gray-lighter;
border-radius: $border-radius-base;
}
:checked ~ label::before {
color: #fff;
background-color: $brand-primary;
}
}
.search-header.search-header { padding-top: 0; } // Duplicate to increase specificity
.search-stats > h2 { margin: 0; } // No results padding
......@@ -115,44 +96,20 @@
width: 15%;
text-align: center;
}
.cart-link-icon { color: $dark-gray; }
@media (max-width: 767px) {
.result-link-icon,
.result .cart-link-icon {
width: 100%;
font-size: $result-sm-icon-size;
margin: 0;
padding-top: .5rem;
padding-bottom: .5rem;
font-size: $result-sm-icon-size;
color: $dark-gray;
}
.result-link-label,
.result .cart-link-label { display: none; }
}
.result .record-checkbox,
.grid-result .grid-checkbox {
flex-basis: $result-checkbox-width;
text-align: center;
input { display: none; }
.checkbox-icon::before {
display: block;
width: 100%;
height: $result-checkbox-height;
line-height: $result-checkbox-height;
font-family: "FontAwesome";
color: $gray-light;
content: "\f00c";
cursor: pointer;
background-color: $gray-lighter;
border-top-left-radius: $border-radius-base;
border-bottom-left-radius: $border-radius-base;
}
:checked ~ .checkbox-icon::before {
color: $search-row-selected-color;
background-color: $search-row-selected-bg;
}
}
.grid-result .grid-checkbox label { width: 100%; }
@media (min-width: 768px) {
.result { padding-right: 1rem; }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment