* removed double underscore (__) separators in class names
* more LF CR to LF
* new scss config variables
* some little style changes
This commit is contained in:
Stephan 2018-10-01 21:10:58 +02:00
parent 0a78f526f5
commit 8b81ed92e1
30 changed files with 1288 additions and 1262 deletions

View file

@ -45,12 +45,12 @@ hr {
border-color: $darkest_color;
}
.hr__hidden {
.hr_hidden {
@extend hr;
border-color: transparent;
}
.hr__dotted {
.hr_dotted {
@extend hr;
border-style: dotted;
}
@ -60,8 +60,8 @@ pre {
@extend %basic_mono;
}
.pre__code {
// overflow-x: scroll;
.pre_code {
overflow-x: auto;
border-color: rgba($brightest_color,.1);
border-style: dotted;
border-width: 0 0 0 $border_width_4;
@ -80,14 +80,14 @@ blockquote {
padding-left: $basic_indent;
}
.quote__mark {
.quote_mark {
p::before {
content: "\201E \0020";
}
p::after {
content: "\201C \0020";
}
.quote__source {
.quote_source {
&::before, &::after {
content: "";
}
@ -107,7 +107,7 @@ li, dt, dd {
@extend %basic;
}
dd, .list__basic li {
dd, .list_basic li {
margin-bottom: $basic_space;
}
@ -144,7 +144,7 @@ div {
// General Classes
// ------------------------------------------------------------------------------
.list__dash {
.list_dash {
li {
list-style: none;
position: relative;
@ -157,7 +157,7 @@ div {
}
}
.list__link {
.list_link {
li {
margin-bottom: $tiny_space * 2;
text-transform: uppercase;
@ -180,52 +180,52 @@ div {
}
}
.list__horizontal {
.list_horizontal {
overflow: auto;
li {
@extend .float_space_left;
}
}
.box__info {
.box_info {
padding: $double_space $basic_indent;
border-right: $basic_space solid rgba($echo_color, 0.6);
background-color: rgba($echo_color, 0.1) !important;
}
.box__main_indent {
.box_main_indent {
margin-left: 25%;
}
.box__full_width {
.box_full_width {
// position: relative;
// overflow: hidden;
// width: 100%;
}
// Columns
.column__line {
.column_line {
column-rule: $basic_border;
}
.column__2, .column__3 {
.column_2, .column_3 {
@extend p;
}
.column__2 {
.column_2 {
column-count: 2;
column-gap: $space_3;
}
.column__3 {
.column_3 {
column-count: 3;
column-gap: $space_4;
}
// Space and placeholders
.box__space {
.box_space {
position: relative;
width: 100%;
}
.box__cube {
.box_cube {
float: left;
display: table;
width: $space_4;
@ -236,7 +236,7 @@ div {
}
}
.box__placeholder {
.box_placeholder {
width: 100%;
height: $space_4;
border: $border_width_4 solid rgba($alpha_color,.1);
@ -244,33 +244,34 @@ div {
background-color: rgba($alpha_color,.2);
}
.box__placeholder_bkg {
.box_placeholder_bkg {
width: 100%;
height: $space_4 * 2;
border: $border_width_4 solid rgba($brightest_color,.1);
border-radius: $basic_corner;
padding: $basic_space;
/*data:[<mime type>][;charset=<charset>][;base64],<encoded data>*/
background: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0' y='0' width='100%' height='100%'><line x1='0' y1='0' x2='100%' y2='100%' stroke='#FFF' stroke-width='.5'/><line x1='0' y1='100%' x2='100%' y2='0' stroke='#FFF' stroke-width='.5'/></svg>") no-repeat;
background: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0' y='0' width='100%' height='100%'><line x1='0' y1='0' x2='100%' y2='100%' stroke='%23FFF' stroke-width='.5'/><line x1='0' y1='100%' x2='100%' y2='0' stroke='%23FFF' stroke-width='.5'/></svg>") no-repeat;
background-color: rgba($brightest_color,.1);
}
// Data
.box__file_tile {
.box_file_tile {
@extend .float_space_left;
}
// Flex
.flex__column_wrap {
.flex_column_wrap {
@extend .flex;
flex-wrap: wrap;
.flex__column {
@extend .flex__child;
.flex_column {
@extend .flex_child;
flex-grow: 1;
}
}
// Sprites
.sprite__img {
.sprite_img {
display: inline-block;
}

View file

@ -105,7 +105,7 @@ legend {
}
label + input,
.input__label_right,
.input_label_right,
.label > input,
.label > select {
margin: 0 $basic_space;
@ -192,7 +192,7 @@ canvas {
line-height: 2.5;
}
.label__table {
.label_table {
display: table;
input {
@ -200,10 +200,10 @@ canvas {
}
}
.input__default {
.input_default {
label {
@extend .label__table;
@extend .label_table;
margin: $half_space 0;
input {

View file

@ -38,9 +38,10 @@ body {
}
&:hover {
.layer__hover {
background-color: transparent;
.layer_hover {
background-color: transparent !important;
transition: background-color $double_duration $basic_timing 0s !important;
}
}
}
@ -55,7 +56,7 @@ section {
}
.sec__main_center {
.sec_main_center {
width: $basic_width;
margin: 0 auto;
padding-top: $space_3;
@ -71,7 +72,7 @@ section {
}
}
.sec__main_status {
.sec_main_status {
border-top-width: $border_width_8;
border-top-style: solid;
border-color: $basic_border_color;
@ -161,11 +162,11 @@ header {
}
.header__page {
.header_page {
overflow: auto;
}
.header__txt {
.header_txt {
margin-bottom: $space_3;
border-bottom: $dotted_border;

View file

@ -80,7 +80,7 @@ td:last-child {
border-right: $basic_border;
}
.table__blank {
.table_blank {
border: $basic_border_width solid transparent;
th, td {
@ -88,11 +88,11 @@ td:last-child {
}
}
.table__free {
.table_free {
border: $basic_border_width solid transparent;
}
.table__stripe {
.table_stripe {
td {
border-top: 0;
border-bottom: 0;
@ -103,11 +103,11 @@ td:last-child {
}
}
.table__fix {
.table_fix {
table-layout: fixed;
}
// Data
.table__file_simple {
.table_file_simple {
@extend .width_full;
}

View file

@ -52,7 +52,7 @@ a {
}
}
.a__line {
.a_line {
border-bottom-width: $tiny_space;
border-bottom-style: dotted;
border-color: $basic_border_color;
@ -68,19 +68,19 @@ a {
}
}
.a__button {
.a_button {
@extend %default_button;
}
.a__button_text {
.a_button_text {
@extend %default_button;
padding: $wide_padding;
background-color: transparent;
color: $basic_font_color;
}
.a__button_border {
@extend .a__button_text;
.a_button_border {
@extend .a_button_text;
border: $cell_border;
}
@ -90,7 +90,7 @@ i, em {
font-style: italic;
}
.i__bright {
.i_bright {
font-style: normal;
color: $brightest_color;
}
@ -159,10 +159,10 @@ time {
// Code
code {
@extend %basic_mono;
color: lighten($basic_font_color, 12%);
color: lighten($basic_font_color, $basic_color_diff);
background-color: rgba($brightest_color,.1);
}
.code__solo {
.code_solo {
@extend %basic_mono;
padding: $tiny_space $half_space;
color: $basic_font_color;
@ -177,7 +177,15 @@ samp {
}
kbd {
@extend %basic_mono;
// font-size: .9em;
// font-weight: bold;
padding: 0 $half_space;
border-width: $basic_border_width;
border-style: solid;
border-color: darken($basic_back_color, $basic_color_diff);
border-radius: $basic_corner;
color: lighten($basic_font_color, $basic_color_diff);
}
sub, sup {
@ -192,7 +200,7 @@ u {
mark {
background-color: $alpha_color;
}
.mark__cursor {
.mark_cursor {
color: $basic_highlight_color;
background-color: $darkest_color;
}
@ -213,7 +221,7 @@ bdi, bdo {
span {
}
.span__solo {
.span_solo {
@extend %solo;
}