BetterDiscordApp-v2/client/src/styles/partials/generic/forms/arrays.scss

86 lines
2.2 KiB
SCSS
Raw Normal View History

2018-08-15 11:42:43 +02:00
// sass-lint:disable force-element-nesting force-pseudo-nesting
2018-08-15 04:03:56 +02:00
.bd-formSettingsarray {
2018-08-15 11:42:43 +02:00
.bd-button {
.bd-buttonPrimary {
padding: 3px 8px;
border-radius: 3px;
font-size: 12px;
font-weight: 400;
}
2018-02-19 19:19:52 +01:00
}
2018-08-15 04:03:56 +02:00
.bd-settingsarrayItems {
2018-02-19 19:19:52 +01:00
margin-top: 15px;
2018-08-15 04:03:56 +02:00
.bd-settingsarrayItem {
2018-02-19 19:19:52 +01:00
display: flex;
margin-top: 10px;
2018-08-15 04:03:56 +02:00
.bd-settingsarrayItemMarker {
2018-02-19 19:19:52 +01:00
flex: 0 0 auto;
min-width: 15px;
margin-right: 5px;
color: #aaa;
font-size: 15px;
}
2018-08-15 04:03:56 +02:00
.bd-settingsarrayItemContents {
2018-02-19 19:19:52 +01:00
flex: 1 1;
}
2018-08-15 04:03:56 +02:00
.bd-settingsPanel {
2018-08-15 05:33:42 +02:00
.bd-settingsCategories:last-child .bd-formItem:last-child .bd-formDivider {
2018-02-19 19:19:52 +01:00
margin-bottom: 0;
}
2018-08-15 05:33:42 +02:00
.bd-settingsCategory:only-child > div > .bd-formItem.bd-formItemNoheader:only-child {
2018-08-15 04:03:56 +02:00
.bd-formTextinput,
.bd-formNumberinput {
+ .bd-formDivider {
display: none;
}
}
2018-02-19 19:19:52 +01:00
}
}
2018-08-15 04:03:56 +02:00
.bd-settingsarrayItemHint {
2018-02-19 19:19:52 +01:00
color: #aaa;
font-size: 15px;
font-style: italic;
word-wrap: break-word;
max-width: 385px;
}
2018-08-15 04:03:56 +02:00
.bd-settingsarrayItemControls {
2018-02-19 19:19:52 +01:00
flex: 0 0 auto;
margin-left: 5px;
}
2018-08-15 04:03:56 +02:00
.bd-settingsarrayOpen,
.bd-settingsarrayRemove {
2018-02-19 19:19:52 +01:00
margin-left: 5px;
svg {
width: 16px;
height: 16px;
cursor: pointer;
fill: #ccc;
&:hover {
fill: #fff;
}
}
}
2018-08-15 05:33:42 +02:00
&:last-child .bd-settingsCategories:last-child .bd-formItem:last-child .bd-formDivider {
2018-02-19 19:19:52 +01:00
display: none;
}
}
}
2018-08-15 04:03:56 +02:00
&.bd-formSettingsarrayInline .bd-settingsarrayItem {
2018-02-19 19:19:52 +01:00
margin-top: 10px;
}
}