feat: Change default timings
- Change mouse over time - Change default duration - Format with tabs - Reindent
This commit is contained in:
parent
9f3797f651
commit
d17f966794
3 changed files with 79 additions and 80 deletions
|
|
@ -39,25 +39,20 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
||||||
.mouse_over {
|
.mouse_over {
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
transition: background-color $duration_double $timing_basic 0s !important;
|
transition: background-color $duration_basic $timing_basic 0s !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Article
|
// Article
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
article {
|
article {}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// Section
|
// Section
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
section {
|
section {}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.sec_main_center {
|
.sec_main_center {
|
||||||
width: $width_basic;
|
width: $width_basic;
|
||||||
|
|
@ -67,9 +62,11 @@ section {
|
||||||
@include forTabletPortraitUp {
|
@include forTabletPortraitUp {
|
||||||
width: $width_small;
|
width: $width_small;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include forTabletLandscapeUp {
|
@include forTabletLandscapeUp {
|
||||||
width: $width_medium;
|
width: $width_medium;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include forBigDesktopUp {
|
@include forBigDesktopUp {
|
||||||
width: $width_large;
|
width: $width_large;
|
||||||
}
|
}
|
||||||
|
|
@ -84,9 +81,7 @@ section {
|
||||||
|
|
||||||
// Navigation
|
// Navigation
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
nav {
|
nav {}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// Aside element
|
// Aside element
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
@ -116,7 +111,12 @@ aside {
|
||||||
|
|
||||||
// Headings
|
// Headings
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5,
|
||||||
|
h6 {
|
||||||
@extend %head_all;
|
@extend %head_all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -165,9 +165,7 @@ h6 {
|
||||||
|
|
||||||
// Header
|
// Header
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
header {
|
header {}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.header_page {
|
.header_page {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
@ -184,6 +182,4 @@ header {
|
||||||
|
|
||||||
// Footer
|
// Footer
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
footer {
|
footer {}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -54,12 +54,15 @@
|
||||||
.space_top_#{$size} {
|
.space_top_#{$size} {
|
||||||
margin-top: $variable;
|
margin-top: $variable;
|
||||||
}
|
}
|
||||||
|
|
||||||
.space_right_#{$size} {
|
.space_right_#{$size} {
|
||||||
margin-right: $variable;
|
margin-right: $variable;
|
||||||
}
|
}
|
||||||
|
|
||||||
.space_bottom_#{$size} {
|
.space_bottom_#{$size} {
|
||||||
margin-bottom: $variable;
|
margin-bottom: $variable;
|
||||||
}
|
}
|
||||||
|
|
||||||
.space_left_#{$size} {
|
.space_left_#{$size} {
|
||||||
margin-left: $variable;
|
margin-left: $variable;
|
||||||
}
|
}
|
||||||
|
|
@ -108,10 +111,12 @@
|
||||||
margin-right: math.div((100% - $width_small), 2);
|
margin-right: math.div((100% - $width_small), 2);
|
||||||
margin-left: math.div((100% - $width_small), 2);
|
margin-left: math.div((100% - $width_small), 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@include forTabletLandscapeUp {
|
@include forTabletLandscapeUp {
|
||||||
margin-right: math.div((100% - $width_medium), 2);
|
margin-right: math.div((100% - $width_medium), 2);
|
||||||
margin-left: math.div((100% - $width_medium), 2);
|
margin-left: math.div((100% - $width_medium), 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@include forBigDesktopUp {
|
@include forBigDesktopUp {
|
||||||
margin-right: math.div((100% - $width_large), 2);
|
margin-right: math.div((100% - $width_large), 2);
|
||||||
margin-left: math.div((100% - $width_large), 2);
|
margin-left: math.div((100% - $width_large), 2);
|
||||||
|
|
|
||||||
|
|
@ -73,8 +73,7 @@ $color_palette: (
|
||||||
charlie: #273f8b,
|
charlie: #273f8b,
|
||||||
delta: #b7e0f0,
|
delta: #b7e0f0,
|
||||||
echo: #52bed1,
|
echo: #52bed1,
|
||||||
foxtrot: #0c85ff
|
foxtrot: #0c85ff) !default;
|
||||||
) !default;
|
|
||||||
|
|
||||||
@include addDefaultColors;
|
@include addDefaultColors;
|
||||||
|
|
||||||
|
|
@ -90,7 +89,8 @@ $color_back_basic: #808080 !default;
|
||||||
$color_border_basic: lighten($color_text_basic, $color_diff_basic) !default;
|
$color_border_basic: lighten($color_text_basic, $color_diff_basic) !default;
|
||||||
$color_front_basic: white !default;
|
$color_front_basic: white !default;
|
||||||
|
|
||||||
$color_medium: lighten($color_darkest, 50%);
|
$color_medium: lighten($color_darkest, 50%
|
||||||
|
);
|
||||||
$color_dark: lighten($color_darkest, $color_diff_double);
|
$color_dark: lighten($color_darkest, $color_diff_double);
|
||||||
$color_darker: darken($color_back_basic, $color_diff_basic);
|
$color_darker: darken($color_back_basic, $color_diff_basic);
|
||||||
$color_brighter: lighten($color_back_basic, $color_diff_basic);
|
$color_brighter: lighten($color_back_basic, $color_diff_basic);
|
||||||
|
|
@ -105,10 +105,12 @@ $color_action_basic: $foxtrot_color !default;
|
||||||
// default shadow colors
|
// default shadow colors
|
||||||
// $shadow_color: fade-out($color_medium, 0.5);
|
// $shadow_color: fade-out($color_medium, 0.5);
|
||||||
|
|
||||||
$color_list: ();
|
$color_list: (
|
||||||
|
);
|
||||||
|
|
||||||
@each $key, $value in $color_palette {
|
@each $key, $value in $color_palette {
|
||||||
$map: ();
|
$map: (
|
||||||
|
);
|
||||||
$map: map-merge($map, ($key: createColorMap($value, 15%, 0.5)));
|
$map: map-merge($map, ($key: createColorMap($value, 15%, 0.5)));
|
||||||
$color_list: map-merge($color_list, $map);
|
$color_list: map-merge($color_list, $map);
|
||||||
}
|
}
|
||||||
|
|
@ -159,8 +161,7 @@ $radius_basic: $space_tiny * 2 !default;
|
||||||
|
|
||||||
// IO
|
// IO
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
$io_input_list:
|
$io_input_list: 'input[type="text"]',
|
||||||
'input[type="text"]',
|
|
||||||
'input[type="number"]',
|
'input[type="number"]',
|
||||||
'input[type="color"]',
|
'input[type="color"]',
|
||||||
'input[type="range"]',
|
'input[type="range"]',
|
||||||
|
|
@ -176,23 +177,20 @@ $io_input_list:
|
||||||
'input[type="search"]',
|
'input[type="search"]',
|
||||||
'input:not([type])';
|
'input:not([type])';
|
||||||
|
|
||||||
$io_date_list:
|
$io_date_list: '.io_input[type="date"]',
|
||||||
'.io_input[type="date"]',
|
|
||||||
'.io_input[type="time"]',
|
'.io_input[type="time"]',
|
||||||
'.io_input[type="datetime-local"]',
|
'.io_input[type="datetime-local"]',
|
||||||
'.io_input[type="month"]',
|
'.io_input[type="month"]',
|
||||||
'.io_input[type="week"]';
|
'.io_input[type="week"]';
|
||||||
|
|
||||||
$io_button_list:
|
$io_button_list: 'button',
|
||||||
'button',
|
|
||||||
'input[type="button"]',
|
'input[type="button"]',
|
||||||
// 'input[type="file"]',
|
// 'input[type="file"]',
|
||||||
'input[type="reset"]',
|
'input[type="reset"]',
|
||||||
'input[type="image"]',
|
'input[type="image"]',
|
||||||
'input[type="submit"]';
|
'input[type="submit"]';
|
||||||
|
|
||||||
$io_focus_list:
|
$io_focus_list: 'a[href]',
|
||||||
'a[href]',
|
|
||||||
'area[href]',
|
'area[href]',
|
||||||
'button:not([disabled])',
|
'button:not([disabled])',
|
||||||
'input:not([disabled])',
|
'input:not([disabled])',
|
||||||
|
|
@ -218,7 +216,7 @@ $shadow_focus: $shadow_basic, 0 0 5px adjust-color($color_action_basic, $lightne
|
||||||
|
|
||||||
// ANIMATIONS
|
// ANIMATIONS
|
||||||
// ------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------
|
||||||
$duration_basic: 250ms !default;
|
$duration_basic: 200ms !default;
|
||||||
$duration_double: $duration_basic * 2;
|
$duration_double: $duration_basic * 2;
|
||||||
$duration_long: 2s !default;
|
$duration_long: 2s !default;
|
||||||
$timing_basic: ease-out !default;
|
$timing_basic: ease-out !default;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue