SPR-910: var rename - background (site, page, header, footer) button (bg, color), link (existing) + box-shadow as fix var

This commit is contained in:
Silke Pisulla 2017-03-23 15:38:57 +01:00
commit efa1155dc8
2 changed files with 58 additions and 54 deletions

View file

@ -9,30 +9,23 @@
/* converted vars */ /* converted vars */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
@background_page-header: __background_page-header__;
@font_family_screen: __font_family_screen__; //@th_background: __background_alt__;
@color-content-bg: __background_content__;
@color-site-bg: __background_site__;
@color-link: __existing__;
@color-link-hover: @ini_nav_menu_color;
@button_color: __button_color__;
@button_background: __button_background__;
@box-shadow-offset: __box_shadow_offset__;
@box-shadow: __box_shadow__;
@box-shadow-colored: __box_shadow_colored__;
@box-shadow-right-bottom:__box_shadow_right_bottom__;
@box-shadow-bottom: __box_shadow_bottom__;
@th_background: __background_alt__;
/* ersetzt: */ /* ersetzt: */
//@color-site-bg: __background_site__;
//@color-content-bg: __background_content__;
//@button_color: __button_color__;
//@button_background: __button_background__;
//@background_page-header: __background_page-header__;
//@font_family_screen: __font_family_screen__;
//@box-shadow-offset: __box_shadow_offset__;
//@box-shadow: __box_shadow__;
//@box-shadow-colored: __box_shadow_colored__;
//@box-shadow-right-bottom:__box_shadow_right_bottom__;
//@box-shadow-bottom: __box_shadow_bottom__;
//@color-text: __text__; //@color-text: __text__;
//@border-radius: __default_border_radius__; //@border-radius: __default_border_radius__;
//@color-border: __border__; //@color-border: __border__;
@ -40,33 +33,45 @@
//@color-nav: __nav_menu_color__; //@color-nav: __nav_menu_color__;
//@color-nav-hover: __nav_menu_hover_color__; //@color-nav-hover: __nav_menu_hover_color__;
//@color-nav-hover-bg: __nav_menu_hover_bg__; //@color-nav-hover-bg: __nav_menu_hover_bg__;
//@color-link: __existing__;
//@color-link-hover: @ini_nav_menu_color;
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* global vars */ /* global vars */
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ /* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
@nav_direct_background : @ini_background_content; @font_family_screen: arial, sans-serif;
@nav_direct_color : @ini_existing; @font_family_print: "Times New Roman", serif;
@ini_sidebar_width : (100 - @ini_site_width) - 4; @nav_direct_background: @ini_background_content;
@nav_direct_color: @ini_existing;
@height-context-bar: 50px; @ini_sidebar_width: (100 - @ini_site_width) - 4;
@margin-small: 1rem; @height-context-bar: 50px;
@margin-default: 2rem;
@margin-big: 3.07rem;
@small-spacing: .3rem; @margin-small: 1rem;
@very-small-spacing: .2rem; @margin-default: 2rem;
@margin-big: 3.07rem;
@grid: @margin-small; @small-spacing: .3rem;
@toggle-size: 1.75rem; @very-small-spacing: .2rem;
@transition: ease-out .30s; @grid: @margin-small;
@toggle-size: 1.75rem;
@transition: ease-out .30s;
@box-shadow-offset: .1em .1em .1em rgb(153,153,153,.5);
@box-shadow: 0 0 .5em rgb(153,153,153,.5);
@box-shadow-colored: 0 0 .5em rgba(40,109,168,.5);
@box-shadow-right-bottom: 0.1em 0.3rem 0.5em rgb(153,153,153,.5);
@box-shadow-bottom: 0 0.1em 0.5em rgb(153,153,153,.5);
/* + + + for programmers customizing + + + */ /* + + + for programmers customizing + + + */
@fix_border-radius: 3px; @fix_border-radius: 3px;
@toggle-showsidebar_width: 3.07rem; // shown sidebar after toggle @toggle-showsidebar_width: 3.07rem; // shown sidebar after toggle
@page_padding-top: @margin-small; // padding-top for 'dokuwiki__content' @page_padding-top: @margin-small; // padding-top for 'dokuwiki__content'
@ -82,20 +87,20 @@
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */ /* + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* fonts */ /* fonts */
@font-size-very-small: .73rem; @font-size-very-small: .73rem;
@font-size-small: .88rem; @font-size-small: .88rem;
@font-size-default: 1rem; @font-size-default: 1rem;
@font-size-big: 1.5rem; @font-size-big: 1.5rem;
@font-size-bigger: 1.75rem; @font-size-bigger: 1.75rem;
@line-height-default: 125%; @line-height-default: 125%;
@line-height-big: 135%; @line-height-big: 135%;
@line-height-bigger: 140%; @line-height-bigger: 140%;
@font-weight-bold: 800; @font-weight-bold: 800;
@font-weight-normal: 400; @font-weight-normal: 400;
@font-scale-factor: .0769; @font-scale-factor: .0769;
@font-size-head6: @font-size-default; @font-size-head6: @font-size-default;
@font-size-head5: @font-size-default + @font-scale-factor; @font-size-head5: @font-size-default + @font-scale-factor;

View file

@ -147,26 +147,25 @@ __link__ = "#286DA8"
__existing__ = "#286DA8" ; @ini_existing __existing__ = "#286DA8" ; @ini_existing
__missing__ = "#CD5360" ; @ini_missing __missing__ = "#CD5360" ; @ini_missing
; widths
__site_width__ = "73%" ; @ini_site_width __site_width__ = "73%" ; @ini_site_width
;__sidebar_width__ = "23%" ; @ini_sidebar_width ;__sidebar_width__ = "23%"
__font_family_screen__ = "arial, sans-serif" ;__font_family_screen__ = "arial, sans-serif"
__font_family_menu__ = "arial, sans-serif" ;__font_family_menu__ = "arial, sans-serif"
__font_family_print__ = "times new roman, serif" ;__font_family_print__ = "times new roman, serif"
__background_content__ = "#FFF" ; @ini_background_content __background_content__ = "#FFF" ; @ini_background_content
__background_site__ = "#ECECEC" __background_site__ = "#ECECEC" ; @ini_background_site
__background_page-header__ = "#F6F6F6" __background_page-header__ = "#F6F6F6" ; @ini_background_page-header
__default_border_radius__ = "3px" ; @ini_default_border_radius __default_border_radius__ = "3px" ; @ini_default_border_radius
__border_light__ = "#dadada" ; @ini_border_light __border_light__ = "#dadada" ; @ini_border_light
__box_shadow_colored__ = "0 0 .5em rgba(40,109,168,.5)" ;__box_shadow_colored__ = "0 0 .5em rgba(40,109,168,.5)"
__box_shadow__ = "0 0 .5em rgb(153,153,153,.5)" ;__box_shadow__ = "0 0 .5em rgb(153,153,153,.5)"
__box_shadow_right_bottom__ = "0.1em 0.3rem 0.5em rgb(153,153,153,.5)" ;__box_shadow_right_bottom__ = "0.1em 0.3rem 0.5em rgb(153,153,153,.5)"
__box_shadow_bottom__ = "0 0.1em 0.5em rgb(153,153,153,.5)" ;__box_shadow_bottom__ = "0 0.1em 0.5em rgb(153,153,153,.5)"
__box_shadow_offset__ = ".1em .1em .1em rgb(153,153,153,.5)" ;__box_shadow_offset__ = ".1em .1em .1em rgb(153,153,153,.5)"
; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +