&:not(:first-of-type) {
margin-top: @wcfGapMedium;
}
+}
+
+/* definition list */
+dl:not(.plain) {
+ position: relative;
- /* definition list */
- dl {
- position: relative;
-
- .clearfix();
+ .clearfix();
+
+ > dd:not(:first-of-type), > dt:not(:first-of-type) {
+ margin-top: @wcfGapSmall;
+ }
+
+ > dt {
+ color: @wcfLabelColor;
+ float: left;
+ text-align: right;
+ width: 230px;
- > dd:not(:first-of-type), > dt:not(:first-of-type) {
- margin-top: @wcfGapSmall;
+ > label {
+ display: block;
}
- > dt {
- color: @wcfLabelColor;
- float: left;
- text-align: right;
- width: 230px;
+ /* Reversed (flips the label aside the checkbox or radio button) -
+ use only when automatically generating checkboxes or radio-buttons! */
+ &.reversed {
+ left: 270px;
+ margin-top: 2px;
+ position: absolute;
+ text-align: left;
+ width: auto;
- > label {
- display: block;
- }
-
- /* Reversed (flips the label aside the checkbox or radio button) -
- use only when automatically generating checkboxes or radio-buttons! */
- &.reversed {
- left: 270px;
- margin-top: 2px;
- position: absolute;
- text-align: left;
- width: auto;
-
- ~ dd > input[type='checkbox'], ~ dd > input[type='radio'] {
- margin-left: 0;
- }
+ ~ dd > input[type='checkbox'], ~ dd > input[type='radio'] {
+ margin-left: 0;
}
}
+ }
+
+ > dd {
+ margin-left: 250px;
- > dd {
- margin-left: 250px;
-
- > small {
- color: @wcfDimmedColor;
- display: block;
- margin-top: 2px;
- }
-
- > label {
- color: @wcfLabelColor;
- display: block;
-
- > input[type='checkbox'], > input[type='radio'] {
- margin: 2px 2px 2px 0;
- }
- }
+ > small {
+ color: @wcfDimmedColor;
+ display: block;
+ margin-top: 2px;
+ }
+
+ > label {
+ color: @wcfLabelColor;
+ display: block;
> input[type='checkbox'], > input[type='radio'] {
- ~ small {
- margin-left: 21px;
- }
- }
-
- &:not(.floated) {
- > label ~ small {
- margin-left: 21px;
- }
+ margin: 2px 2px 2px 0;
}
-
- &.floated {
- > label {
- display: inline-block;
- margin-right: @wcfGapSmall;
- }
- }
-
- > input, textarea, select {
- + label {
- margin-top: 2px;
- }
+ }
+
+ > input[type='checkbox'], > input[type='radio'] {
+ ~ small {
+ margin-left: 21px;
}
}
- /* wide */
- &.wide {
- > dt {
- display: none;
+ &:not(.floated) {
+ > label ~ small {
+ margin-left: 21px;
}
-
- > dd {
- margin-left: 0;
+ }
+
+ &.floated {
+ > label {
+ display: inline-block;
+ margin-right: @wcfGapSmall;
}
}
- /* disabled state */
- &.disabled {
- > dt, > dd > label {
- color: @wcfDimmedColor;
+ > input, textarea, select {
+ + label {
+ margin-top: 2px;
}
}
}
+
+ /* wide */
+ &.wide {
+ > dt {
+ display: none;
+ }
+
+ > dd {
+ margin-left: 0;
+ }
+ }
+
+ /* disabled state */
+ &.disabled {
+ > dt, > dd > label {
+ color: @wcfDimmedColor;
+ }
+ }
}
/* sidebar */
.sidebar {
- fieldset {
- > dl {
- > dt {
- text-align: left;
- float: none;
- width: auto;
- }
-
- > dd {
- margin-top: 2px;
- margin-left: 0;
- margin-bottom: @wcfGapMedium;
- }
+ dl:not(.plain) {
+ > dt {
+ text-align: left;
+ float: none;
+ width: auto;
+ }
+
+ > dd {
+ margin-top: 2px;
+ margin-left: 0;
+ margin-bottom: @wcfGapMedium;
}
}
}
color: @wcfDimmedColor;
font-weight: normal;
text-shadow: none;
- font-size: 70%;
+ font-size: 75%;
}
}
font-size: @wcfSmallFontSize;
list-style: none;
max-width: 30%;
+ padding-right: 10px;
position: relative;
- .transition(max-width, .2s);
-
- &:hover {
- max-width: 100%;
+ &:first-child > a {
+ background-image: url('../icon/home.svg');
+ background-position: 1px center;
+ background-repeat: no-repeat;
+ background-size: 16px;
+ padding-left: 21px;
}
> a {
color: @wcfColor;
- display: inline-block;
+ display: block;
overflow: hidden;
padding: 5px 1px 5px 5px;
text-decoration: none;
+ text-overflow: ellipsis;
white-space: nowrap;
.textShadow(@wcfContentBackgroundColor);
}
- &:first-child > a {
- background-image: url('../icon/home.svg');
- background-position: 1px center;
- background-repeat: no-repeat;
- background-size: 16px;
- padding-left: 21px;
+ > .pointer {
+ padding: 5px 0;
+ position: absolute;
+ top: 0;
+ right: 0;
}
}
}
padding: 0;
text-align: center;
+ .borderRadius(3px);
+
&:not(.active):not(.disabled) {
cursor: pointer;
}
> .badge {
float: right;
+ font-size: 70%;
+ top: 3px;
}
> a {