s/select-box-kit/select-kit

Definitely remove legacy naming.
This commit is contained in:
Joffrey JAFFEUX 2018-02-05 18:25:39 +01:00 committed by GitHub
parent 8fe61c68a1
commit c48761c628
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 50 additions and 54 deletions

View File

@ -14,7 +14,7 @@ import {
export default Ember.Component.extend(UtilsMixin, PluginApiMixin, DomHelpersMixin, EventsMixin, {
pluginApiIdentifiers: ["select-kit"],
layoutName: "select-kit/templates/components/select-kit",
classNames: ["select-kit", "select-box-kit"],
classNames: ["select-kit"],
classNameBindings: [
"isFocused",
"isExpanded",

View File

@ -1,5 +1,5 @@
export default Ember.Component.extend({
layoutName: "select-kit/templates/components/select-kit/select-kit-collection",
classNames: ["select-kit-collection", "select-box-kit-collection"],
classNames: ["select-kit-collection"],
tagName: "ul"
});

View File

@ -1,6 +1,6 @@
export default Ember.Component.extend({
layoutName: "select-kit/templates/components/select-kit/select-kit-filter",
classNames: ["select-kit-filter", "select-box-kit-filter"],
classNames: ["select-kit-filter"],
classNameBindings: ["isFocused", "isHidden"],
isHidden: Ember.computed.not("shouldDisplayFilter")
});

View File

@ -2,7 +2,7 @@ import computed from 'ember-addons/ember-computed-decorators';
export default Ember.Component.extend({
layoutName: "select-kit/templates/components/select-kit/select-kit-header",
classNames: ["select-kit-header", "select-box-kit-header"],
classNames: ["select-kit-header"],
classNameBindings: ["isFocused"],
attributeBindings: [
"tabindex",

View File

@ -5,7 +5,7 @@ import UtilsMixin from "select-kit/mixins/utils";
export default Ember.Component.extend(UtilsMixin, {
layoutName: "select-kit/templates/components/select-kit/select-kit-row",
classNames: ["select-kit-row", "select-box-kit-row"],
classNames: ["select-kit-row"],
tagName: "li",
tabIndex: -1,
attributeBindings: [

View File

@ -229,7 +229,7 @@ $mobile-breakpoint: 700px;
.select-kit.multi-select {
width: 500px;
}
.select-box-kit.dropdown-select-box {
.select-kit.dropdown-select-box {
width: auto;
}

View File

@ -1,14 +1,12 @@
.select-box-kit-body, .select-kit {
.select-kit {
&.dropdown-select-box {
&.admin-agree-flag-dropdown {
.select-box-kit-body {
.select-kit-body {
width: 485px;
max-width: 485px;
}
.select-box-kit-row[data-value="delete-spammer"] .texts .name,
.select-kit-row[data-value="delete-spammer"] .texts .name,
.select-box-kit-row[data-value="delete-spammer"] .icons .d-icon,
.select-kit-row[data-value="delete-spammer"] .icons .d-icon {
color: $danger;
}

View File

@ -1,4 +1,4 @@
.select-box-kit {
.select-kit {
&.dropdown-select-box {
width: auto;
&.admin-delete-flag-dropdown {
@ -7,8 +7,8 @@
color: white;
}
.select-box-kit-row[data-value="delete-spammer"] .texts .name,
.select-box-kit-row[data-value="delete-spammer"] .icons .d-icon {
.select-kit-row[data-value="delete-spammer"] .texts .name,
.select-kit-row[data-value="delete-spammer"] .icons .d-icon {
color: $danger;
}
}

View File

@ -1,11 +1,11 @@
.select-box-kit, .select-kit {
.select-kit {
&.categories-admin-dropdown {
.select-box-kit-body, .select-kit-body {
.select-kit-body {
min-width: auto;
width: 250px;
}
.select-box-kit-header .d-icon, .select-kit-header .d-icon {
.select-kit-header .d-icon {
justify-content: space-between;
}
}

View File

@ -1,8 +1,8 @@
.select-box-kit, .select-kit {
.select-kit {
&.combo-box {
&.category-chooser {
width: 300px;
.select-box-kit-row, .select-kit-row {
.select-kit-row {
display: -webkit-box;
display: -ms-flexbox;
display: flex;

View File

@ -1,17 +1,17 @@
.select-box-kit, .select-kit {
.select-kit {
&.combo-box {
.select-box-kit-body, .select-kit-body {
.select-kit-body {
width: 100%;
}
.select-box-kit-row, .select-kit-row {
.select-kit-row {
margin: 5px;
min-height: 1px;
padding: 5px;
}
.select-box-kit-filter, .select-kit-filter {
.select-kit-filter {
line-height: $line-height-medium;
padding: 6px 10px;
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
@ -22,7 +22,7 @@
}
}
.select-box-kit-header, .select-kit-header {
.select-kit-header {
background: $secondary;
border: 1px solid $primary-medium;
padding: 4px 10px;

View File

@ -1,4 +1,4 @@
.select-box-kit, .select-kit {
.select-kit {
&.dropdown-select-box {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
@ -7,15 +7,13 @@
border: none;
&.is-expanded {
.select-box-kit-collection,
.select-box-kit-body,
.select-kit-collection,
.select-kit-body {
border-radius: 0;
}
}
.select-box-kit-body, .select-kit-body {
.select-kit-body {
border: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
background-clip: padding-box;
-webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.4);
@ -24,7 +22,7 @@
width: 300px;
}
.select-box-kit-row, .select-kit-row {
.select-kit-row {
margin: 0;
padding: 10px 5px;
@ -93,7 +91,7 @@
}
}
.select-box-kit-collection, .select-kit-collection {
.select-kit-collection {
padding: 0;
max-height: 100%;
}

View File

@ -1,4 +1,4 @@
.select-box-kit, .select-kit {
.select-kit {
&.combobox {
&.future-date-input-selector {
min-width: 50%;

View File

@ -1,7 +1,7 @@
.select-box-kit, .select-kit {
.select-kit {
&.multi-select {
&.list-setting {
.select-box-kit-row.create, .select-kit-row.create {
.select-kit-row.create {
.square {
width: 12px;
height: 12px;

View File

@ -1,21 +1,21 @@
.select-box-kit, .select-kit {
.select-kit {
&.multi-select {
width: 300px;
background: $secondary;
border-radius: 0;
.select-box-kit-body, .select-kit-body {
.select-kit-body {
width: 100%;
}
.select-box-kit-row, .select-kit-row {
.select-kit-row {
margin: 5px;
min-height: 1px;
padding: 5px;
border-radius: 0;
}
.select-box-kit-filter, .select-kit-filter {
.select-kit-filter {
border: 0;
}
@ -45,7 +45,7 @@
}
&.is-expanded {
.select-box-kit-wrapper, .select-kit-wrapper {
.select-kit-wrapper {
display: block;
border: 1px solid $tertiary;
box-shadow: $tertiary 0 0 6px 0px;
@ -57,7 +57,7 @@
box-shadow: none;
}
.select-box-kit-body, .select-kit-body {
.select-kit-body {
border-radius: 0;
}
}

View File

@ -1,12 +1,12 @@
.select-kit {
&.dropdown-select-box {
&.notifications-button {
.select-box-kit-body, .select-kit-body {
.select-kit-body {
min-width: 550px;
max-width: 550px;
}
.select-box-kit-row, .select-kit-row {
.select-kit-row {
.icons {
-ms-flex-item-align: start;
align-self: flex-start;

View File

@ -38,7 +38,7 @@
}
.pinned-options {
.select-box-kit-body, .select-kit-body {
.select-kit-body {
min-width: unset;
max-width: unset;
width: 550px;

View File

@ -2,7 +2,7 @@
z-index: z("dropdown");
}
.select-box-kit, .select-kit {
.select-kit {
border: none;
min-width: 220px;
-webkit-box-sizing: border-box;
@ -70,7 +70,7 @@
opacity: 0.7;
}
.select-box-kit-header, .select-kit-header {
.select-kit-header {
box-sizing: border-box;
overflow: hidden;
-webkit-transition: all .25s;
@ -137,14 +137,14 @@
}
}
.select-box-kit-body, .select-kit-body {
.select-kit-body {
display: none;
background: $secondary;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.select-box-kit-row, .select-kit-row {
.select-kit-row {
cursor: pointer;
line-height: $line-height-medium;
outline: none;
@ -190,7 +190,7 @@
}
}
.select-box-kit-collection, .select-kit-collection {
.select-kit-collection {
background: $secondary;
overflow-x: hidden;
overflow-y: auto;
@ -225,7 +225,7 @@
}
}
.select-box-kit-filter, .select-kit-filter {
.select-kit-filter {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
@ -266,7 +266,7 @@
}
}
.select-box-kit-wrapper, .select-kit-wrapper {
.select-kit-wrapper {
position: absolute;
top: 0;
left: 0;

View File

@ -45,7 +45,7 @@
.topic-status-info {
padding-left: 10px;
border-top: 1px solid $primary-low;
border-top: 1px solid $primary-low;
padding-top: 10px;
h3 {
margin: 0;
@ -66,7 +66,7 @@
}
#topic-progress-expanded {
border: 1px solid $primary-low;
border: 1px solid $primary-low;
padding: 5px;
background: $secondary;
@ -199,7 +199,7 @@ sup sup, sub sup, sup sub, sub sub { top: 0; }
margin: 6px 6px 0 0;
}
.select-box-kit.combo-box.category-chooser {
.select-kit.combo-box.category-chooser {
width: 100%;
margin-top: 0;
}
@ -207,9 +207,9 @@ sup sup, sub sup, sup sub, sub sub { top: 0; }
// make mobile timeline top and bottom dates easier to select
.topic-timeline {
.start-date, .now-date {
font-size: $font-up-1;
padding: 5px;
.start-date, .now-date {
font-size: $font-up-1;
padding: 5px;
}
}