* @param function callback
*/
_purgeTemplateContent: function(callback) {
- if ($('#packageInstallationInnerContent').children().length > 1) {
- $('#packageInstallationInnerContentContainer').wcfBlindOut('vertical', $.proxy(function() {
- $('#packageInstallationInnerContent').empty();
- this._shouldRender = true;
-
- // execute callback
- callback();
- }, this));
- }
- else {
- callback();
+ if ($('#packageInstallationInnerContent').children().length) {
+ $('#packageInstallationInnerContentContainer').hide();
+ $('#packageInstallationInnerContent').empty();
+
+ this._shouldRender = true;
}
+
+ callback();
},
/**
}
}
-input {
- box-sizing: border-box;
-
- &.tiny {
- width: 80px;
- }
-
- &.short {
- min-width: 80px;
- width: 10%;
- }
-
- &.medium {
- min-width: 150px;
- width: 30%;
- }
-
- &.long {
- min-width: 150px;
- width: 100%;
- }
-}
-
dl {
&:not(.plain) {
display: block;
}
}
-.inputAddon:not(.inputAddonTextarea) {
+.inputAddon {
display: flex;
&:not(:last-child) {
border-radius: 0;
margin-left: 5px;
}
+
+ &:not(.button) {
+ background-color: $wcfButtonBackground;
+ border: 1px solid $wcfButtonBorder;
+ color: $wcfButtonText;
+ cursor: default;
+ margin-left: 5px;
+ padding: 3px 5px;
+ }
}
- > input,
- > textarea {
+ input {
flex: 1 auto;
}
}
-.inputAddonTextarea > .inputPrefix.button {
- border-bottom-width: 0;
- border-radius: 0;
+.inputAddonTextarea {
+ flex-wrap: wrap;
+
+ > .inputPrefix.button {
+ border-bottom-width: 0;
+ border-radius: 0;
+ }
+
+ > textarea {
+ flex: 0 0 100%;
+ }
+}
+
+.inputAddon input,
+input {
+ box-sizing: border-box;
+
+ &.tiny {
+ flex-grow: 0;
+ width: 80px;
+ }
+
+ &.short {
+ flex-grow: 0;
+ min-width: 80px;
+ width: 10%;
+ }
+
+ &.medium {
+ flex-grow: 0;
+ min-width: 150px;
+ width: 30%;
+ }
+
+ &.long {
+ min-width: 150px;
+ width: 100%;
+ }
}
.re-gallery:before { content: "\e61f"; }
.redactor-box {
- // TODO: border: 1px solid $wcfContentBorder;
- border-radius: 3px 3px 0 0;
+ border: 1px solid $wcfContentBorder;
font-size: 0;
line-height: $wcfBaseLineHeight;
position: relative;
> .redactorAutosaveNotice {
background-color: $wcfContentBackground;
- // TODO: border: 1px solid $wcfContentBorder;
+ border: 1px solid $wcfContentBorderInner;
border-width: 1px 0 0 1px;
bottom: 0;
font-size: 1rem;
}
.redactor-toolbar {
- // TODO: background: repeating-linear-gradient(0deg, $wcfContentBorder 0px, $wcfContentBorder 3%, $wcfContentBackground 3%, $wcfContentBackground 100%);
+ background: repeating-linear-gradient(0deg, $wcfContentBorderInner 0px, $wcfContentBorderInner 3%, $wcfContentBackground 3%, $wcfContentBackground 100%);
background-size: 100% 31px;
> li {
&:last-of-type,
&.separator {
- // TODO: border-right: 1px solid $wcfContentBorder;
+ border-right: 1px solid $wcfContentBorderInner;
}
> a {
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfHeaderSearchBoxBackgroundActive', 'rgba(255, 255, 255, 1)');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfHeaderSearchBoxText', 'rgba(255, 255, 255, 1)');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfHeaderSearchBoxTextActive', 'rgba(52, 73, 94, 1)');
-INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfInputBackground', 'rgba(240, 248, 255, 1)');
+INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfInputBackground', 'rgba(245, 248, 255, 1)');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfInputBackgroundActive', 'rgba(240, 248, 255, 1)');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfInputBorder', 'rgba(52, 152, 219, 1)');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfInputBorderActive', 'rgba(41, 128, 185, 1)');
-INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfInputDisabledBackground', 'rgba(245, 250, 250, 1)');
+INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfInputDisabledBackground', 'rgba(248, 248, 248, 1)');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfInputDisabledBorder', 'rgba(204, 204, 204, 1)');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfInputDisabledText', 'rgba(153, 153, 153, 1)');
INSERT INTO wcf1_style_variable (variableName, defaultValue) VALUES ('wcfInputText', 'rgba(54, 54, 54, 1)');