Splitted LESS-stylesheets into bootstrap and normal
authorAlexander Ebert <ebert@woltlab.com>
Thu, 20 Sep 2012 13:38:49 +0000 (15:38 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 20 Sep 2012 13:38:49 +0000 (15:38 +0200)
wcfsetup/install/files/style/bootstrap.less [deleted file]
wcfsetup/install/files/style/mixins.less [deleted file]
wcfsetup/install/files/style/reset.less [deleted file]
wcfsetup/install/files/style/variables.less [deleted file]

diff --git a/wcfsetup/install/files/style/bootstrap.less b/wcfsetup/install/files/style/bootstrap.less
deleted file mode 100644 (file)
index 6274e64..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-@import "reset.less";
-
-/* core */
-@import        "variables.less";
-@import "mixins.less";
-
-/* layout */
-@import "layout.less";
-@import "userPanel.less";
-@import "logo.less";
-@import "navigation.less";
-@import "content.less";
-@import "footer.less";
-@import "dropdown.less";
-@import "badge.less";
-@import "sortable.less";
-
-@import "tabular.less";
-@import "inputs.less";
-@import "button.less";
-@import "breadcrumbs.less";
-@import "forms.less";
-@import "alerts.less";
-@import "tabs.less";
-@import "codebox.less";
-@import "pagination.less";
-@import "comments.less";
-@import "user.less";
-@import "like.less";
-@import "sidebar.less";
-@import "attachment.less";
-@import "label.less";
-
-@import "message.less";
-@import "dialog.less";
-@import "tooltip.less";
-@import "notification.less";
-@import "popover.less";
-@import "acl.less";
-@import "sitemap.less";
-@import "imageViewer.less";
-@import "conversation.less";
-@import "poll.less";
-
-/* application */
-@import "wbb.less";
\ No newline at end of file
diff --git a/wcfsetup/install/files/style/mixins.less b/wcfsetup/install/files/style/mixins.less
deleted file mode 100644 (file)
index bd79c77..0000000
+++ /dev/null
@@ -1,101 +0,0 @@
-/* shortcuts */
-// clearing floats like a boss h5bp.com/q
-.clearfix {
-       // trigger 'hasLayout'
-       *zoom: 1;
-       
-       &:before,
-       &:after {
-               display: table;
-               content: "";
-       }
-       
-       &:after {
-               clear: both;
-       }
-}
-
-.square(@size) {
-       height: @size;
-       width: @size;
-}
-
-
-// sets default text shadows depending on background color
-.textShadow(@backgroundColor) when (lightness(@backgroundColor) >= 40%) {
-       text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
-}
-.textShadow(@backgroundColor) when (lightness(@backgroundColor) < 60%) {
-       text-shadow: 0 -1px 0 rgba(0, 0, 0, .5);
-}
-
-/* CSS 3 */
-.linearGradient(@backgroundColor, @gradientColor1, @gradientColor2) {
-       background-color: @backgroundColor;
-       background-image: -webkit-linear-gradient(@gradientColor1, @gradientColor2);
-       background-image: -moz-linear-gradient(@gradientColor1, @gradientColor2);
-       background-image: -o-linear-gradient(@gradientColor1, @gradientColor2);
-       background-image: -ms-linear-gradient(@gradientColor1, @gradientColor2);
-       background-image: linear-gradient(@gradientColor1, @gradientColor2);
-}
-
-.linearGradient(@backgroundColor, @gradientColor1, @gradientColor2, @gradientColor3, @direction: top) {
-       background-color: @backgroundColor;
-       background-image: -webkit-linear-gradient(@direction, @gradientColor1, @gradientColor2, @gradientColor3);
-       background-image: -moz-linear-gradient(@direction, @gradientColor1, @gradientColor2, @gradientColor3);
-       background-image: -o-linear-gradient(@direction, @gradientColor1, @gradientColor2, @gradientColor3);
-       background-image: -ms-linear-gradient(@direction, @gradientColor1, @gradientColor2, @gradientColor3);
-       background-image: linear-gradient(@direction, @gradientColor1, @gradientColor2, @gradientColor3);
-}
-
-.linearGradientNative(@parameters) {
-       background-image: -webkit-linear-gradient(@parameters);
-       background-image: -moz-linear-gradient(@parameters);
-       background-image: -o-linear-gradient(@parameters);
-       background-image: -ms-linear-gradient(@parameters);
-       background-image: linear-gradient(@parameters);
-}
-
-.transition(@property, @duration, @type: linear) {
-       -webkit-transition: @arguments;
-       -moz-transition: @arguments;
-       -ms-transition: @arguments;
-       -o-transition: @arguments;
-       transition: @arguments;
-}
-
-.boxShadow(@topOffset, @leftOffset, @color, @blurriness: 5px, @shadowHeight: 0) {
-       -webkit-box-shadow: @topOffset @leftOffset @blurriness @shadowHeight @color;
-       -moz-box-shadow: @topOffset @leftOffset @blurriness @shadowHeight @color;
-       -ms-box-shadow: @topOffset @leftOffset @blurriness @shadowHeight @color;
-       -o-box-shadow: @topOffset @leftOffset @blurriness @shadowHeight @color;
-       box-shadow: @topOffset @leftOffset @blurriness @shadowHeight @color;
-}
-
-.boxShadowInset(@topOffset, @leftOffset, @color, @blurriness: 5px, @shadowHeight: 0) {
-       -webkit-box-shadow: inset @topOffset @leftOffset @blurriness @shadowHeight @color;
-       -moz-box-shadow: inset @topOffset @leftOffset @blurriness @shadowHeight @color;
-       -ms-box-shadow: inset @topOffset @leftOffset @blurriness @shadowHeight @color;
-       -o-box-shadow: inset @topOffset @leftOffset @blurriness @shadowHeight @color;
-       box-shadow: inset @topOffset @leftOffset @blurriness @shadowHeight @color;
-}
-
-.boxShadowNative(@parameters) {
-       -webkit-box-shadow: @parameters;
-       -moz-box-shadow: @parameters;
-       -ms-box-shadow: @parameters;
-       -o-box-shadow: @parameters;
-       box-shadow: @parameters;
-}
-
-.borderRadius(@borderRadius: @wcfContainerBorderRadius) {
-       .borderRadius(@borderRadius, @borderRadius, @borderRadius, @borderRadius);
-}
-
-.borderRadius(@borderTopRadius, @borderBottomRadius) {
-       .borderRadius(@borderTopRadius, @borderTopRadius, @borderBottomRadius, @borderBottomRadius);
-}
-
-.borderRadius(@borderTopLeftRadius, @borderTopRightRadius, @borderBottomRightRadius, @borderBottomLeftRadius) {
-       border-radius: @arguments;
-}
\ No newline at end of file
diff --git a/wcfsetup/install/files/style/reset.less b/wcfsetup/install/files/style/reset.less
deleted file mode 100644 (file)
index 2088a00..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * Parts taken from
- * http://meyerweb.com/eric/tools/css/reset/ 
- * v2.0 | 20110126
- * License: none (public domain)
- * modifyed to meet the needs of WoltLab
- */
-
-html, body, div, span, applet, object, iframe,
-h1, h2, h3, h4, h5, h6, p, blockquote, pre,
-a, abbr, acronym, address, big, cite, code,
-del, dfn, em, img, ins, kbd, q, s, samp,
-small, strike, strong, sub, sup, tt, var,
-b, u, i, center,
-dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
-table, caption, tbody, tfoot, thead, tr, th, td,
-article, aside, canvas, details, embed, 
-figure, figcaption, footer, header, hgroup, 
-menu, nav, output, ruby, section, summary,
-time, mark, audio, video {
-       margin: 0;
-       padding: 0;
-       border: 0;
-       font-size: 100%;
-}
-
-h1, h2, h3, h4, h5, h6 {
-       font-weight: normal;
-}
-
-/* HTML5 display-role reset for older browsers */
-article, aside, details, figcaption, figure, 
-footer, header, hgroup, menu, nav, section {
-       display: block;
-}
-
-ol, ul {
-       list-style: none;
-}
-
-blockquote, q {
-       quotes: none;
-}
-
-blockquote:before,
-blockquote:after,
-q:before,
-q:after {
-       content: '';
-       content: none;
-}
\ No newline at end of file
diff --git a/wcfsetup/install/files/style/variables.less b/wcfsetup/install/files/style/variables.less
deleted file mode 100644 (file)
index daf068a..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-/* ###### sxf values ###### */
-/* these values will be defined by the style editor (don't it touch here) */
-
-/* ### general (content) ### */
-@wcfContentBackgroundColor: #fff; // bg color for main content area
-@wcfColor: #666; // default text color
-@wcfLinkColor: #369; // default link color
-@wcfLinkHoverColor: #036; // link hover color
-
-/* ### containers ### */
-/* containers use the default text / link color, so the container bg color should be similar to the content bg color */
-@wcfContainerBackgroundColor: rgba(252, 253, 254, 1); // bg color for containers
-@wcfContainerAccentBackgroundColor: rgba(241, 245, 250, 1); // light variantion of the container bg color
-@wcfContainerHoverBackgroundColor: rgba(216, 231, 245, 1); // bg color for hover effects
-@wcfContainerBorderColor: #ccc; //#bcd; // border color for containers
-@wcfContainerBorderRadius: 6px; // border radius
-
-/* ### box header (table header) ### */
-@wcfTabularBoxBackgroundColor: #369; // bg color
-@wcfTabularBoxColor: #fff; // text / link color
-@wcfTabularBoxHoverColor: #fff; // link hover color
-
-/* ### user panel ### */
-@wcfUserPanelBackgroundColor: rgba(0, 0, 0, .5); // bg color
-@wcfUserPanelColor: #fff; // text / link color
-@wcfUserPanelHoverColor: #fff; // link hover color
-
-/* ### buttons ### */
-/* default */
-@wcfButtonBackgroundColor: #e3e3e3;
-@wcfButtonBorderColor: #bbb;
-@wcfButtonColor: #999;
-
-/* primary */
-@wcfButtonPrimaryBackgroundColor: rgba(216, 231, 245, 1);
-@wcfButtonPrimaryBorderColor: #69C;
-@wcfButtonPrimaryColor: #69C;
-
-/* hover */
-@wcfButtonHoverBackgroundColor: rgba(255, 229, 200, 1);
-@wcfButtonHoverBorderColor: #fa2;
-@wcfButtonHoverColor: #666;
-
-/* ### form elements ### */
-@wcfInputBackgroundColor: #fff;
-@wcfInputColor: #666;
-@wcfInputBorderColor: #ccc;
-@wcfInputHoverBackgroundColor: rgba(255, 249, 244, 1);
-@wcfInputHoverBorderColor: #fa2;
-
-/* ### fonts ### */
-@wcfBaseFontSize: 13px;
-@wcfBaseFontFamily: "Trebuchet MS", Arial, sans-serif;
-
-/* ### layouts ### */
-@wcfLayoutFluidGap: 21px;
-@wcfLayoutFixedWidth: 1200px;
-
-
-/* ###### additional variables ###### */
-/* values are taken from sxf variables; but you can overwrite them by individual less */
-
-/* ### outer page bg ### */
-@wcfPageBackgroundColor: @wcfContentBackgroundColor;
-@wcfPageColor: @wcfColor;
-@wcfPageLinkColor: @wcfLinkColor;
-@wcfPageLinkHoverColor: @wcfLinkHoverColor;
-
-/* ### sidebar ### */
-@wcfSidebarBackgroundColor: @wcfContentBackgroundColor;
-
-/* ### additional text variables ### */
-@wcfDimmedColor: lighten(@wcfColor, 10%);
-@wcfLabelColor: @wcfColor;
-@wcfHeadlineColor: @wcfColor;
-@wcfHeadlineFontFamily: @wcfBaseFontFamily;
-
-/* ### dropdown ### */
-@wcfDropdownBackgroundColor: @wcfContentBackgroundColor;
-@wcfDropdownColor: @wcfColor;
-@wcfDropdownBorderColor: @wcfContainerBorderColor;
-@wcfDropdownHoverBackgroundColor: @wcfContainerHoverBackgroundColor;
-
-
-/* ###### hardcoded values ###### */
-/* values are hardcoded; you can overwrite them by individual less */
-
-/* ### font size ### */
-@wcfBaseLineHeight: 1.27;
-@wcfHeadlineFontSize: 170%;
-@wcfSubHeadlineFontSize: 140%;
-@wcfTitleFontSize: 120%;
-@wcfSmallFontSize: 85%;
-
-/* ### form states and alerts ### */
-/* warning (orange) */
-@wcfWarningColor: #fff;
-@wcfWarningBackgroundColor: #ffb800;
-@wcfWarningBackgroundColor2: #a67800;
-
-/* error (red) */
-@wcfErrorColor: #fff;
-@wcfErrorBackgroundColor: #c95145;
-@wcfErrorBackgroundColor2: #913d37;
-
-/* success (green) */
-@wcfSuccessColor: #fff;
-@wcfSuccessBackgroundColor: #74a446;
-@wcfSuccessBackgroundColor2: #4d7730;
-
-/* info (blue) */
-@wcfInfoColor: #fff;
-@wcfInfoBackgroundColor: #4674a4;
-@wcfInfoBackgroundColor2: #304d77;
-
-/* ### tooltip ### */
-@wcfTooltipBackgroundColor: rgba(0, 0, 0, .8);
-@wcfTooltipColor: white;
-
-/* ### gap ### */
-@wcfGapTiny: 4px;
-@wcfGapSmall: 7px;
-@wcfGapMedium: 14px;
-@wcfGapLarge: 21px;
-
-
-/* ###### individual less values ###### */
-/* overwrite additional variables for blue sunrise */
-@wcfPageBackgroundColor: @wcfTabularBoxBackgroundColor;
-@wcfSidebarBackgroundColor: @wcfContainerHoverBackgroundColor;
-@wcfPageLinkColor: lighten(@wcfLinkColor, 10%);
-@wcfPageLinkHoverColor: @wcfUserPanelHoverColor;
-@wcfLabelColor: @wcfLinkColor;
-
-/* additional variables for blue sunrise */
-@wcfNavigationBackgroundColor: lighten(@wcfSidebarBackgroundColor, 3%);
\ No newline at end of file