.boxShadow(0, 1px, rgba(0, 0, 0, .1), 3px);
.linearGradient(lighten(@wcfButtonBackgroundColor, 5%), lighten(@wcfButtonBackgroundColor, 10%), lighten(@wcfButtonBackgroundColor, 5%) 2px, @wcfButtonBackgroundColor);
.textShadow(@wcfButtonBackgroundColor);
- .transition(~"background-color, background-image, border, box-shadow, color", .2s);
+ .transition(~"background-color, background-image, border, box-shadow, color", .1s);
}
/* primary */
.textShadow(@wcfButtonHoverBackgroundColor);
}
-/* active */
+/* active (pressed) */
.button:active,
input[type='reset']:not([disabled]):active,
input[type='submit']:not([disabled]):active,
.textShadow(@wcfButtonBackgroundColor);
}
+/* active (permanently) */
+.button.active,
+input[type='button'].active,
+button.active,
+.button.active:hover,
+input[type='button'].active:hover,
+button.active:hover {
+ border-color: darken(@wcfButtonColor, 5%);
+ color: lighten(@wcfButtonBackgroundColor, 5%);
+
+ .boxShadow(0, 1px, rgba(0, 0, 0, .1), 3px);
+ .linearGradient(@wcfButtonColor, darken(@wcfButtonColor, 10%), @wcfButtonColor 3px);
+ .textShadow(darken(@wcfButtonColor, 10%));
+}
+
/* button list */
.buttonList {
}
.message.dividers {
- .userAvatar,
- .userRank,
- .userCredits,
- .userStatus {
- border-bottom: 1px dotted darken(@wcfContainerBorderColor, 10%);
- }
-
- .messageSidebar div:last-child {
- border: 0;
- }
-
- .messageSidebar > div {
- > div,
- > .messageHeader {
- vertical-align: top;
- }
+ .userCredits {
+ border-top: 1px dotted darken(@wcfContainerBorderColor, 10%);
}
}
> *:last-child {
//padding-bottom: @wcfGapMedium;
}
+
+ > footer {
+ padding-bottom: @wcfGapMedium;
+ }
}
.message .messageContent {
.userTitle {
/* todo */
+ margin: 7px 0 0;
}
.userRank {
}
.userAvatar {
- display: block;
+ display: inline-block;
margin: @wcfGapSmall 0 0;
- padding: 0 0 @wcfGapSmall;
}
.userCredits {
- color: @wcfLinkColor;
- display: block;
- margin: @wcfGapSmall 0 0;
- padding: 0 0 @wcfGapSmall;
- }
-
- .userStatus,
- .userContacts {
- color: @wcfLinkColor;
font-size: @wcfSmallFontSize;
- display: block;
margin: @wcfGapSmall 0 0;
- padding: 0 0 @wcfGapSmall;
- }
-
- .userStatus ul,
- .userContact ul {
- list-style-type: none;
+ padding: @wcfGapSmall 0 0;
- li {
- display: inline;
+ .dataList {
+ dt {
+ width: 47%;
+ }
- a {
- display: inline-block;
- margin: 0 -3px;
- padding: 1px 3px 0;
- text-align: left;
- text-decoration: none;
-
- .transition(background-color, .2s);
-
- &:hover {
- background-color: @wcfContainerBorderColor;
-
- .borderRadius(7px);
- .boxShadow(0, 1px, #eee, 7px);
- }
-
- span {
- display: block;
- left: -9000px;
- position: absolute;
- top: -9000px;
- }
+ dd {
+ margin-left: 50%;
}
}
}
+
+ &.online {
+ .userAvatar {
+ .boxShadow(0, 0, @wcfSuccessBackgroundColor, 10px);
+
+ /* todo */
+ -webkit-animation-name: onlineStatus;
+ -webkit-animation-duration: 2s;
+ -webkit-animation-iteration-count: infinite;
+ -webkit-animation-direction: alternate;
+ -webkit-animation-timing-function: ease-in-out;
+ }
+ }
}
.message {
/*todo: move*/
.highlight {
background-color: rgba(255, 200, 0, 1);
-}
\ No newline at end of file
+}
+
+/* todo */
+@-webkit-keyframes onlineStatus {
+ 0% {
+ -webkit-box-shadow: 0 0 10px @wcfSuccessBackgroundColor;
+ }
+ 100% {
+ -webkit-box-shadow: 0 0 20px @wcfSuccessBackgroundColor;
+ }
+}
\ No newline at end of file