display: table-cell;
margin: 0;
width: 99%;
-
- .borderRadius(0, @wcfContainerBorderRadius, @wcfContainerBorderRadius, 0);
}
textarea {
display: block;
margin-top: 0;
-
- .borderRadius(0, @wcfContainerBorderRadius, @wcfContainerBorderRadius, @wcfContainerBorderRadius);
}
.dropdownCaption {
vertical-align: middle;
width: 1%;
- .borderRadius(@wcfContainerBorderRadius, 0, 0, @wcfContainerBorderRadius);
-
span {
margin-right: -1px;
padding-left: @wcfGapTiny;
padding-left: @wcfGapSmall;
padding-right: @wcfGapSmall;
- .borderRadius(@wcfContainerBorderRadius, 0);
-
&~ .dropdownMenu {
top: 10%;
}
position: absolute;
z-index: 350;
- .borderRadius();
.boxShadow(2px, 2px, rgba(0, 0, 0, .2), 10px);
&:after {
/* user panel */
.userPanel {
background-color: @wcfUserPanelBackgroundColor;
- border-bottom: 1px solid rgba(0, 0, 0, .1);
+ border-bottom: 1px solid rgba(0, 0, 0, .1); /* todo */
height: 40px;
left: 0;
position: fixed;
z-index: 200;
> div {
- /* todo */
> ul.userPanelItems {
float: left;
.transition(background-color, .2s);
&:hover {
- background-color: rgba(0, 0, 0, .4);
+ background-color: @wcfUserPanelHoverBackgroundColor;
color: @wcfUserPanelHoverColor;
text-decoration: none;
}
> .badge.badgeInverse {
+ /* todo */
background-color: rgb(204, 0, 0);
color: white;
padding: 0 6px 1px;
> .searchBar {
float: right;
- padding: 6px 0;
+ padding: 7px 0;
+ background-color: @wcfUserPanelHoverBackgroundColor;
> form input[type="search"] {
- background-color: rgba(0, 0, 0, .5);
+ background-color: transparent;
background-image: url("../icon/searchInverse.svg");
background-repeat: no-repeat;
background-position: 7px 5px;
- border: 1px solid rgba(0, 0, 0, .9);
- border-radius: 30px;
+ border-width: 0;
color: @wcfUserPanelColor;
padding: 6px 12px 5px 26px;
width: 180px;
-webkit-appearance: textfield;
- .boxShadowNative(~"inset 0px 1px 3px rgba(0, 0, 0, .9), 0px 1px 0px rgba(255, 255, 255, .1)");
- .textShadow(@wcfUserPanelBackgroundColor);
+ .textShadow(@wcfUserPanelHoverBackgroundColor);
+
+ &:focus {
+ outline: 0;
+ }
}
}
}
/* todo */
.mainMenu {
> ul {
- background-color: @wcfMainMenuBackgroundColor;
border-bottom: 1px solid @wcfContainerBorderColor;
&:after {
}
> li {
+ background-color: @wcfMainMenuBackgroundColor;
float: left;
font-size: @wcfSubHeadlineFontSize;
margin-bottom: -1px;
- border-right: 1px solid @wcfContainerBorderColor;
> a {
color: @wcfPageColor;
color: #000;
}
}
+
+ &:not(:last-child) {
+ border-right: 1px solid @wcfContainerBorderColor;
+ }
}
}
}
.navigationFooter {
background-color: @wcfNavigationFooterBackgroundColor;
border-top: 1px solid @wcfContainerBorderColor;
- border-radius: 0 0 @wcfContainerBorderRadius @wcfContainerBorderRadius;
}
/* ### footer ### */
.container {
background-color: @wcfContainerBackgroundColor;
border: 1px solid @wcfContainerBorderColor;
-
- .borderRadius();
}
.containerPadding {
background-color: @wcfContainerAccentBackgroundColor;
}
- &:first-child {
- border-top-left-radius: @wcfContainerBorderRadius - 1;
- border-top-right-radius: @wcfContainerBorderRadius - 1;
- }
-
- &:last-child {
- border-bottom-left-radius: @wcfContainerBorderRadius - 1;
- border-bottom-right-radius: @wcfContainerBorderRadius - 1;
- }
-
&:hover {
background-color: @wcfContainerHoverBackgroundColor;
}
}
.tabMenuContent {
- border-top-left-radius: 0;
display: block;
margin-top: -1px;
min-height: @wcfGapLarge;
padding: @wcfGapSmall 0;
text-align: center;
- .borderRadius(@wcfContainerBorderRadius, 0);
.linearGradient(rgba(0, 0, 0, 0), @wcfContainerBackgroundColor, @wcfContainerAccentBackgroundColor);
ul{
.tabularBox {
background-color: @wcfTabularBoxBackgroundColor;
border: 1px solid @wcfContainerBorderColor;
-
- .borderRadius();
}
.tabularBoxTitle > hgroup {
}
}
-.tabularBox:not(.tabularBoxTitle) > .table {
- > thead > tr:first-child > th {
- &:first-child {
- .borderRadius(@wcfContainerBorderRadius - 2, 0, 0, 0);
- }
-
- &:last-child {
- .borderRadius(0, @wcfContainerBorderRadius - 2, 0, 0);
- }
- }
-}
-
.table {
border-spacing: 0;
width: 100%;
}
}
-.tabularBox .table {
- tbody tr:last-child td {
- &:first-child {
- .borderRadius(0, 0, 0, @wcfContainerBorderRadius - 2);
- }
-
- &:last-child {
- .borderRadius(0, 0, @wcfContainerBorderRadius - 2, 0);
- }
- }
-}
-
/* ### definition lists ### */
dl.statsDataList {
> dt {
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfContainerBackgroundColor', '#fff');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfContainerAccentBackgroundColor', '#f9f9f9');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfContainerHoverBackgroundColor', '#f4f4f4');
-INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfContainerBorderColor', '#eee');
+INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfContainerBorderColor', '#ddd');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfContainerBorderRadius', '6px');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfTabularBoxBackgroundColor', '#3f7fbf');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfTabularBoxColor', '#fff');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfNavigationHeaderBackgroundColor', '@wcfContainerBackgroundColor');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfNavigationFooterBackgroundColor', '@wcfSidebarBackgroundColor');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfMainMenuBackgroundColor', '@wcfSidebarBackgroundColor');
+INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfUserPanelHoverBackgroundColor', '#3c3c3c');
\ No newline at end of file