* 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;
}

View file

@ -189,7 +189,7 @@
}
.hover_back_change {
background-color: darken($basic_back_color, 10%);
background-color: darken($basic_back_color, $basic_color_diff);
transition: background-color 0.2s ease-in-out;
&:hover {
@ -201,7 +201,7 @@
@extend %full_viewport;
z-index: $z_heaven;
background-color: transparentize($darkest_color, 0.5);
transition: background-color 0.2s ease-in-out;
transition: background-color $extended_duration $basic_timing $extended_duration;
pointer-events: none;
}
@ -209,27 +209,27 @@
display: flex;
}
.flex__wrap {
.flex_wrap {
@extend .flex;
flex-wrap: wrap;
}
.flex__row {
.flex_row {
@extend .flex;
flex-direction: column;
// align-items: flex-start;
justify-content: flex-start;
}
.flex__child {
.flex_child {
flex: 0 1 auto;
}
.flex__child_one {
.flex_child_one {
flex: 1;
}
.flex__child_end {
.flex_child_end {
align-self: flex-end;
}
@ -237,7 +237,7 @@
// Colors
// ------------------------------------------------------------------------------
.txt_light_color {
color: darken($basic_back_color, 10%);
color: darken($basic_back_color, $basic_color_diff);
}

View file

@ -101,13 +101,13 @@ $basic_link_color: $echo_color !default;
$basic_highlight_color: $brightest_color !default;
$basic_action_color: $foxtrot_color !default;
$basic_border_color: $basic_front_color !default;
// default shadow colors
// $shadow_color: fade-out($medium_color, 0.5);
$basic_color_diff: 12% !default;
$basic_color_list: ();
@each $key, $value in $color_palette {
@ -147,8 +147,9 @@ $io_margin: 0 $space_3 !default;
$basic_padding: calc(#{$basic_space} - 3px) $basic_space !default;
$wide_padding: calc(#{$basic_space} - 1px) calc(#{$basic_space} * 2) !default;
$basic_corner: $tiny_space;
$basic_corner: $tiny_space * 2;
// Borders
$basic_border_width: $tiny_space !default;
$border_width_4: $tiny_space * 4;
$border_width_8: $tiny_space * 8;
@ -197,8 +198,8 @@ $basic_focus_list:
'textarea:not([disabled])',
'*[tabindex]';
$basic_io_font_color: lighten($basic_font_color, 10%);
$basic_io_back_color: darken($brightest_color, 10%);
$basic_io_font_color: lighten($basic_font_color, $basic_color_diff);
$basic_io_back_color: darken($brightest_color, $basic_color_diff);
$basic_io_border_color: $brightest_color;
$basic_io_border_width: $tiny_space * 2 !default;
@ -212,8 +213,10 @@ $basic_focus_shadow: $basic_shadow, 0 0 5px adjust-color($basic_action_color, $l
// ANIMATIONS
// ------------------------------------------------------------------------------
$basic_duration: 150ms;
$basic_timing: ease;
$basic_duration: 250ms;
$double_duration: 500ms;
$extended_duration: 2s;
$basic_timing: ease-out;
// HARDWARE BREAKPOINTS

View file

@ -1,62 +1,62 @@
// Basic styles
// -----------------------------------------------------------------------------
%basic {
font-family: $primary_font_family;
font-size: $text_size_1;
line-height: $text_line_basic;
}
%basic_mono {
font-family: $monospace_font_family;
font-size: $text_size_1;
line-height: $text_line_mono;
}
%basic_print {
font-family: $print_font_family;
font-size: $text_size_1;
line-height: $text_line_basic;
}
%head_all {
color: $basic_head_color;
}
%head_1 {
font-family: $secondary_font_family;
font-size: $head_size_1;
font-weight: 300;
line-height: $head_line_basic;
}
%head_2 {
font-family: $secondary_font_family;
font-size: $head_size_2;
font-weight: 300;
line-height: $head_line_2;
}
%head_3 {
font-family: $secondary_font_family;
font-size: $head_size_3;
font-weight: 300;
line-height: $head_line_3;
}
%head_4 {
font-family: $secondary_font_family;
font-size: $head_size_4;
font-weight: 300;
line-height: $head_line_4;
}
%solo {
@extend %basic;
}
%short {
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis; // vendor
}
// Basic styles
// -----------------------------------------------------------------------------
%basic {
font-family: $primary_font_family;
font-size: $text_size_1;
line-height: $text_line_basic;
}
%basic_mono {
font-family: $monospace_font_family;
font-size: $text_size_1;
line-height: $text_line_mono;
}
%basic_print {
font-family: $print_font_family;
font-size: $text_size_1;
line-height: $text_line_basic;
}
%head_all {
color: $basic_head_color;
}
%head_1 {
font-family: $secondary_font_family;
font-size: $head_size_1;
font-weight: 300;
line-height: $head_line_basic;
}
%head_2 {
font-family: $secondary_font_family;
font-size: $head_size_2;
font-weight: 300;
line-height: $head_line_2;
}
%head_3 {
font-family: $secondary_font_family;
font-size: $head_size_3;
font-weight: 300;
line-height: $head_line_3;
}
%head_4 {
font-family: $secondary_font_family;
font-size: $head_size_4;
font-weight: 300;
line-height: $head_line_4;
}
%solo {
@extend %basic;
}
%short {
overflow: hidden;
text-overflow: ellipsis;
-o-text-overflow: ellipsis; // vendor
}

View file

@ -1,9 +1,12 @@
//Sections for Media Queries
@mixin forPhoneUp {
@media (min-width: #{$screen_tiny - 1}) { @content; } //599px
}
@mixin forPhoneOnly {
@media (max-width: #{$screen_tiny - 1}) { @content; } //599px
}
@mixin forTabletPortraitUp {
@media (min-width: $screen_tiny) { @content; } //600px
@media (min-width: $screen_small) { @content; } //600px
}
@mixin forTabletPortraitOnly {
@media (min-width: $screen_tiny) and (max-width: #{$screen_small - 1}) { @content; } //600px - 899px

View file

@ -1,46 +1,47 @@
.query__goingLarge {
.query_goingLarge {
@include goingLarge($screen_tiny) {};
}
.query__goingSmall {
.query_goingSmall {
@include goingSmall($screen_gigantic) {};
}
.query__phoneUp {
.query_phoneUp {
@include forPhoneUp {}
}
.query__phoneOnly {
.query_phoneOnly {
@include forPhoneOnly {}
}
.query__tabletPortaitOnly {
.query_tabletPortaitOnly {
@include forTabletPortraitOnly {
}
}
.query__tabletPortraitUp {
.query_tabletPortraitUp {
@include forTabletPortraitUp {
}
}
.query__tabletLandscapeOnly {
.query_tabletLandscapeOnly {
@include forTabletLandscapeOnly {}
}
.query__tabletLandscapeUp {
.query_tabletLandscapeUp {
@include forTabletLandscapeUp {}
}
.query__desktopOnly {
.query_desktopOnly {
@include forDesktopOnly {
}
}
.query__desktopUp {
.query_desktopUp {
@include forDesktopUp {
}
}
.query__bigDesktopUp {
.query_bigDesktopUp {
@include forBigDesktopUp {}
}

View file

@ -1,115 +1,115 @@
// Custom extends and mixins
// ------------------------------------------------------------------------------
@import "mixins";
@import "extends";
// Explanation module styles
// ------------------------------------------------------------------------------
%expose_after {
&::after {
content: "";
display: block;
height: 48px;
background-color: rgba($delta_color, 0.1) !important;
}
}
%expose_before {
&::before {
content: "";
display: block;
height: 48px;
background-color: rgba($delta_color, 0.1) !important;
}
}
%expose {
&::before, &::after {
content: "";
display: block;
height: 48px;
background-color: rgba($delta_color, 0.1) !important;
}
}
%exp {
}
%exp_hidden {
display: none;
}
.exp_wrap {
position: relative;
}
.exp_pop {
@extend %exp_hidden !optional;
position: absolute;
z-index: 100;
top: $space_5;
left: $space_5;
padding: $half_space;
border: 4px solid $basic_back_color;
border-radius: 4px;
background-color: $basic_back_color;
pointer-events: none;
}
.exp_marker_pop {
position: absolute;
top: -$basic_size / 4 * 3;
right: -$basic_size / 2;
width: $basic_size;
height: $basic_size;
border: $tiny_space solid $basic_highlight_color;
border-radius: $basic_size;
color: $basic_highlight_color;
background-color: $darkest_color;
}
.exp_expose {
@extend %expose !optional;
}
.exp_expose_pre {
@extend %expose_after;
}
.exp_expose_post {
@extend %expose_before;
}
.exp_overlay_btn {
position: fixed;
width: 3em;
height: 2em;
// padding: $basic_space $basic_space * 2;
cursor: pointer;
}
.exp_help_btn {
display: table;
right: $double_space;
bottom: $double_space;
background-color: rgba($darkest_color, 0.4);
&:hover {
background-color: $brightest_color;
> .span__solo {
color: $darkest_color;
}
}
.span__solo {
display: table-cell;
color: rgba($brightest_color, 0.8);
font-family: $monospace_font_family;
font-size: 1.4em;
text-align: center;
vertical-align: middle;
}
}
.expose_height {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba($delta_color, 0.1) !important;
@include vendor-prefix(transition, height 0.5s ease);
}
// Custom extends and mixins
// ------------------------------------------------------------------------------
@import "mixins";
@import "extends";
// Explanation module styles
// ------------------------------------------------------------------------------
%expose_after {
&::after {
content: "";
display: block;
height: 48px;
background-color: rgba($delta_color, 0.1) !important;
}
}
%expose_before {
&::before {
content: "";
display: block;
height: 48px;
background-color: rgba($delta_color, 0.1) !important;
}
}
%expose {
&::before, &::after {
content: "";
display: block;
height: 48px;
background-color: rgba($delta_color, 0.1) !important;
}
}
%exp {
}
%exp_hidden {
display: none;
}
.exp_wrap {
position: relative;
}
.exp_pop {
@extend %exp_hidden !optional;
position: absolute;
z-index: 100;
top: $space_5;
left: $space_5;
padding: $half_space;
border: 4px solid $basic_back_color;
border-radius: 4px;
background-color: $basic_back_color;
pointer-events: none;
}
.exp_marker_pop {
position: absolute;
top: -$basic_size / 4 * 3;
right: -$basic_size / 2;
width: $basic_size;
height: $basic_size;
border: $tiny_space solid $basic_highlight_color;
border-radius: $basic_size;
color: $basic_highlight_color;
background-color: $darkest_color;
}
.exp_expose {
@extend %expose !optional;
}
.exp_expose_pre {
@extend %expose_after;
}
.exp_expose_post {
@extend %expose_before;
}
.exp_overlay_btn {
position: fixed;
width: 3em;
height: 2em;
// padding: $basic_space $basic_space * 2;
cursor: pointer;
}
.exp_help_btn {
display: table;
right: $double_space;
bottom: $double_space;
background-color: rgba($darkest_color, 0.4);
&:hover {
background-color: $brightest_color;
> .span_solo {
color: $darkest_color;
}
}
.span_solo {
display: table-cell;
color: rgba($brightest_color, 0.8);
font-family: $monospace_font_family;
font-size: 1.4em;
text-align: center;
vertical-align: middle;
}
}
.expose_height {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba($delta_color, 0.1) !important;
@include vendor-prefix(transition, height 0.5s ease);
}

View file

@ -1,19 +1,19 @@
.body__status {
@extend .sec__main_status;
height: 100vh;
border-color: $foxtrot_color;
.main__site {
@extend .wrap_center;
& > h1:first-of-type {
margin-top: 0;
margin-bottom: 0;
font-weight: bold;
line-height: 1;
}
& > h1 + h3 {
margin-top: 0;
margin-bottom: $space_3;
}
}
}
.body_status {
@extend .sec_main_status;
height: 100vh;
border-color: $foxtrot_color;
.main_site {
@extend .wrap_center;
& > h1:first-of-type {
margin-top: 0;
margin-bottom: 0;
font-weight: bold;
line-height: 1;
}
& > h1 + h3 {
margin-top: 0;
margin-bottom: $space_3;
}
}
}

View file

@ -1,3 +1,9 @@
.up {
@include sprite($up);
}
.down {
@include sprite($down);
}
.meta {
@include sprite($meta);
}

View file

@ -20,6 +20,17 @@ $down-total-width: 64px;
$down-total-height: 64px;
$down-image: 'sprites.png';
$down: (32px, 0px, -32px, 0px, 32px, 32px, 64px, 64px, 'sprites.png', 'down', );
$meta-name: 'meta';
$meta-x: 32px;
$meta-y: 32px;
$meta-offset-x: -32px;
$meta-offset-y: -32px;
$meta-width: 32px;
$meta-height: 32px;
$meta-total-width: 64px;
$meta-total-height: 64px;
$meta-image: 'sprites.png';
$meta: (32px, 32px, -32px, -32px, 32px, 32px, 64px, 64px, 'sprites.png', 'meta', );
$up-name: 'up';
$up-x: 0px;
$up-y: 0px;
@ -34,7 +45,7 @@ $up: (0px, 0px, 0px, 0px, 32px, 64px, 64px, 64px, 'sprites.png', 'up', );
$spritesheet-width: 64px;
$spritesheet-height: 64px;
$spritesheet-image: 'sprites.png';
$spritesheet-sprites: ($down, $up, );
$spritesheet-sprites: ($down, $meta, $up, );
$spritesheet: (64px, 64px, 'sprites.png', $spritesheet-sprites, );
// The provided mixins are intended to be used with the array-like variables

View file

@ -10,7 +10,7 @@ nav {
}
}
.nav__horizontal {
.nav_horizontal {
ul {
@extend .overflow;
@ -30,7 +30,7 @@ nav {
}
}
.nav__right {
.nav_right {
float: right;
margin-left: $basic_space;
@ -39,7 +39,7 @@ nav {
}
}
.nav__separate {
.nav_separate {
li {
position: relative;
padding-left: $tiny_space;
@ -59,7 +59,7 @@ nav {
}
}
.nav__separate_right {
.nav_separate_right {
float: right;
li {
position: relative;
@ -81,8 +81,8 @@ nav {
}
}
.nav__center_old {
@extend .nav__horizontal;
.nav_center_old {
@extend .nav_horizontal;
float: right;
position: relative;
left: -50%;
@ -94,7 +94,7 @@ nav {
}
}
.nav__column {
.nav_column {
position: relative;
margin: $basic_space 0;
@ -103,7 +103,7 @@ nav {
margin: 0 $space_5;
li {
@extend .flex__child;
@extend .flex_child;
flex-grow: 1;
margin: 0;
text-align: center;
@ -115,7 +115,7 @@ nav {
}
}
.nav__page_meta {
.nav_page_meta {
position: fixed;
// display: table;
// width: 3em;
@ -128,13 +128,14 @@ nav {
li {
margin-bottom: 0;
line-height: 1;
}
button {
width: 32px;
margin-right: 0;
margin-left: 0;
}
.a__button_meta {
.a_button_meta {
// display: table-cell;
display: inline-block;
@ -147,12 +148,15 @@ nav {
background-color: $basic_action_color;
}
}
.sprite_img {
vertical-align: top;
}
}
.header__page {
.header_page {
nav {
@extend .nav__horizontal;
@extend .nav_horizontal;
a {

View file

@ -1,68 +1,68 @@
.table__link {
width: 100%;
border: 0;
table-layout: auto;
tbody {
border-bottom: $cell_border;
&:hover {
background-color: $bright_color;
}
}
th, td {
border: 0;
}
.cell__icon {
width: 48px;
text-align: center;
img {
vertical-align: text-top;
}
}
.cell__link {
padding-right: $basic_space;
padding-left: $basic_space;
&:hover {
background-color: $foxtrot_color;
a:first-child {
display: none;
}
a:last-child {
display: block;
color: $basic_highlight_color;
}
}
a {
display: block;
}
a:last-child {
display: none;
}
}
th:last-child, .cell__date {
width: 16%;
text-align: center;
}
.cell__text {
padding-right: $basic_space;
padding-left: $basic_space;
div {
width: 100%;
}
.shorten {
@extend %short;
max-height: 44px;
}
}
}
.table_link {
width: 100%;
border: 0;
table-layout: auto;
tbody {
border-bottom: $cell_border;
&:hover {
background-color: $bright_color;
}
}
th, td {
border: 0;
}
.cell_icon {
width: 48px;
text-align: center;
img {
vertical-align: text-top;
}
}
.cell_link {
padding-right: $basic_space;
padding-left: $basic_space;
&:hover {
background-color: $foxtrot_color;
a:first-child {
display: none;
}
a:last-child {
display: block;
color: $basic_highlight_color;
}
}
a {
display: block;
}
a:last-child {
display: none;
}
}
th:last-child, .cell_date {
width: 16%;
text-align: center;
}
.cell_text {
padding-right: $basic_space;
padding-left: $basic_space;
div {
width: 100%;
}
.shorten {
@extend %short;
max-height: 44px;
}
}
}

View file

@ -1,10 +1,10 @@
.demo__intro {
@extend .sec__main_center;
@extend .sec__main_status;
@extend .sec_main_center;
@extend .sec_main_status;
}
.demo__status {
@extend .sec__main_status;
@extend .sec_main_status;
position: relative;
min-height: 50vh;
border-color: $foxtrot_color;
@ -32,7 +32,7 @@
}
}
.header__fancy {
.header_fancy {
background-color: transparentize($bravo_color, 0.4);
nav {
@ -51,7 +51,7 @@
}
}
.header__fix {
.header_fix {
position: relative;
top: 0;
left: 0;
@ -101,6 +101,13 @@
background-position: 0 0;
}
.demo__sprite_meta {
width: 32px;
height: 32px;
background-image: url(../art/sprites.png);
background-position: -32px 32px;
}
.demo__avatar {
img {
@ -133,39 +140,39 @@
padding: $basic_padding;
}
.query__phoneUp {
background-color: rgba($basic_front_color, 0.2);
.query_phoneUp {
@include forPhoneUp {background-color: rgba($basic_front_color, 0.2)};
}
.query__phoneOnly {
.query_phoneOnly {
@include forPhoneOnly { background-color: rgba($basic_front_color, 0.2); }
}
.query__tabletPortaitOnly {
.query_tabletPortaitOnly {
@include forTabletPortraitOnly { background-color: rgba($basic_front_color, 0.2); }
}
.query__tabletPortraitUp {
.query_tabletPortraitUp {
@include forTabletPortraitUp { background-color: rgba($basic_front_color, 0.2); }
}
.query__tabletLandscapeOnly {
.query_tabletLandscapeOnly {
@include forTabletLandscapeOnly { background-color: rgba($basic_front_color, 0.2); }
}
.query__tabletLandscapeUp {
.query_tabletLandscapeUp {
@include forTabletLandscapeUp { background-color: rgba($basic_front_color, 0.2); }
}
.query__desktopOnly {
.query_desktopOnly {
@include forDesktopOnly { background-color: rgba($basic_front_color, 0.2); }
}
.query__desktopUp {
.query_desktopUp {
@include forDesktopUp { background-color: rgba($basic_front_color, 0.2); }
}
.query__bigDesktopUp {
.query_bigDesktopUp {
@include forBigDesktopUp { background-color: rgba($basic_front_color, 0.2); }
}
@ -200,6 +207,7 @@
content: '< 768px';
padding: $basic_padding;
border-radius: $basic_corner_radius;
color: $brightest_color;
background-color: rgba($basic_front_color, 0.2);
}
}