Fix Mastodon Material
This commit is contained in:
parent
4b77c6d989
commit
9232ce30f3
21 changed files with 172 additions and 94 deletions
|
@ -122,7 +122,7 @@ $scroll-bar-thumb-active-color: darken($scroll-bar-thumb-color, 18%);
|
||||||
// App bar color
|
// App bar color
|
||||||
$top-bar-color: #ffffff;
|
$top-bar-color: #ffffff;
|
||||||
$search-bar-color: #d9e1e8;
|
$search-bar-color: #d9e1e8;
|
||||||
$search-bar-focus-color: $bg-color;
|
$search-bar-focus-color: #ffffff;
|
||||||
|
|
||||||
// Tab color
|
// Tab color
|
||||||
$tab-item-color: #282c37;
|
$tab-item-color: #282c37;
|
||||||
|
|
|
@ -56,6 +56,11 @@ $tab-indicator-thickness: 2px;
|
||||||
// Chip settings
|
// Chip settings
|
||||||
$chip-type: contained; // Material v1 styled contained chip
|
$chip-type: contained; // Material v1 styled contained chip
|
||||||
|
|
||||||
|
$chip-size: 16px; // Chip height: 24px, Icon size: 16px(Mastodon default)
|
||||||
|
//$chip-size: 20px; // Chip height: 28px, Icon size: 20px
|
||||||
|
//$chip-size: 24px; // Chip height: 32px, Icon size: 24px
|
||||||
|
|
||||||
|
$chip-radius: 17px; // Oval
|
||||||
|
|
||||||
// Button on statuses
|
// Button on statuses
|
||||||
$button-on-status: text; // Material v1 styled text button
|
$button-on-status: text; // Material v1 styled text button
|
||||||
|
|
|
@ -3,11 +3,13 @@
|
||||||
|
|
||||||
|
|
||||||
// Navigation bar radius
|
// Navigation bar radius
|
||||||
|
//$nav-bar-radius: 0;
|
||||||
$nav-bar-radius: 8px;
|
$nav-bar-radius: 8px;
|
||||||
//$nav-bar-radius: 28px; // full radius
|
//$nav-bar-radius: 28px; // full radius
|
||||||
|
|
||||||
|
|
||||||
// Search bar radius
|
// Search bar radius
|
||||||
|
//$search-bar-radius: 0;
|
||||||
$search-bar-radius: 8px;
|
$search-bar-radius: 8px;
|
||||||
//$search-bar-radius: 21px; // full rounded
|
//$search-bar-radius: 21px; // full rounded
|
||||||
|
|
||||||
|
@ -18,32 +20,39 @@ $bar-radius: 0;
|
||||||
|
|
||||||
|
|
||||||
// Button radius settings
|
// Button radius settings
|
||||||
|
//$button-radius: 0;
|
||||||
$button-radius: 8px;
|
$button-radius: 8px;
|
||||||
|
|
||||||
|
|
||||||
// Card radius settings
|
// Card radius settings
|
||||||
|
//$card-radius: 0;
|
||||||
$card-radius: 8px;
|
$card-radius: 8px;
|
||||||
|
|
||||||
|
|
||||||
// Dialog radius settings
|
// Dialog radius settings
|
||||||
|
//$dialog-radius: 0;
|
||||||
$dialog-radius: 8px;
|
$dialog-radius: 8px;
|
||||||
|
|
||||||
|
|
||||||
// Menu radius settings
|
// Menu radius settings
|
||||||
|
//$menu-radius: 0;
|
||||||
$menu-radius: 8px;
|
$menu-radius: 8px;
|
||||||
|
|
||||||
|
|
||||||
// Table radius settings
|
// Table radius settings
|
||||||
$table-radius: 8px;
|
//$table-radius: 0;
|
||||||
//$table-radius: 2px;
|
//$table-radius: 2px;
|
||||||
|
$table-radius: 8px;
|
||||||
|
|
||||||
|
|
||||||
// Media radius settings
|
// Media radius settings
|
||||||
$media-radius: 0;
|
$media-radius: 0;
|
||||||
//$media-radius: 2px;
|
//$media-radius: 2px;
|
||||||
|
//$media-radius: 8px;
|
||||||
|
|
||||||
|
|
||||||
// Navigation drawer item settings
|
// Navigation drawer item settings
|
||||||
|
//$nav-drawer-item-radius: 0; // rectangle
|
||||||
$nav-drawer-item-radius: 8px; // corner rounded
|
$nav-drawer-item-radius: 8px; // corner rounded
|
||||||
//$nav-drawer-item-radius: 32px; // full rounded
|
//$nav-drawer-item-radius: 32px; // full rounded
|
||||||
//$nav-drawer-item-radius: 32px 0 0 32px; // left rounded
|
//$nav-drawer-item-radius: 32px 0 0 32px; // left rounded
|
||||||
|
@ -51,12 +60,14 @@ $nav-drawer-item-radius: 8px; // corner rounded
|
||||||
|
|
||||||
// Avatar cropping settings
|
// Avatar cropping settings
|
||||||
$avatar-radius: 50%; // Rounded cropping
|
$avatar-radius: 50%; // Rounded cropping
|
||||||
//$avatar-radius: $card-radius // Fit to card radius
|
//$avatar-radius: $card-radius; // Fit to card radius
|
||||||
//$avatar-radius: 2px // Material v1 square
|
//$avatar-radius: 0; // without cropping
|
||||||
//$avatar-radius: 8px // Material v2 square
|
//$avatar-radius: 2px; // Material v1 square
|
||||||
|
//$avatar-radius: 8px; // Material v2 square
|
||||||
|
|
||||||
|
|
||||||
// Tab indicator thickness
|
// Tab indicator thickness
|
||||||
|
//$tab-indicator-thickness: 0;
|
||||||
//$tab-indicator-thickness: 2px;
|
//$tab-indicator-thickness: 2px;
|
||||||
$tab-indicator-thickness: 4px;
|
$tab-indicator-thickness: 4px;
|
||||||
|
|
||||||
|
@ -65,6 +76,15 @@ $tab-indicator-thickness: 4px;
|
||||||
$chip-type: outlined; // Material v2 styled outlined chip
|
$chip-type: outlined; // Material v2 styled outlined chip
|
||||||
//$outlined-chip: contained; // Material v1 styled contained chip
|
//$outlined-chip: contained; // Material v1 styled contained chip
|
||||||
|
|
||||||
|
$chip-size: 16px; // Chip height: 24px, Icon size: 16px (Mastodon default)
|
||||||
|
//$chip-size: 20px; // Chip height: 28px, Icon size: 20px
|
||||||
|
//$chip-size: 24px; // Chip hight: 32px, Icon size: 24px
|
||||||
|
|
||||||
|
//$chip-radius: 0; // Rectangle
|
||||||
|
//$chip-radius: 4px; // Rounded corner
|
||||||
|
//$chip-radius: 8px; // Rounded corner (Material v3)
|
||||||
|
$chip-radius: 17px; // Oval
|
||||||
|
|
||||||
|
|
||||||
// Button on statuses
|
// Button on statuses
|
||||||
$button-on-status: text; // Material v1 styled text button
|
$button-on-status: text; // Material v1 styled text button
|
||||||
|
|
|
@ -9,8 +9,6 @@ $dense: true;
|
||||||
.column { margin: 10px 5px }
|
.column { margin: 10px 5px }
|
||||||
|
|
||||||
.column-header {
|
.column-header {
|
||||||
height: 48px;
|
|
||||||
|
|
||||||
> button { padding: 12px 16px }
|
> button { padding: 12px 16px }
|
||||||
|
|
||||||
&__buttons { height: 48px }
|
&__buttons { height: 48px }
|
||||||
|
|
|
@ -9,6 +9,10 @@ $website: "";
|
||||||
height: unset;
|
height: unset;
|
||||||
width: unset;
|
width: unset;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
|
&.short-label {
|
||||||
|
margin: 0px auto 4px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.tabs-bar__wrapper .tabs-bar__link .fa {
|
.tabs-bar__wrapper .tabs-bar__link .fa {
|
||||||
|
@ -47,17 +51,26 @@ $website: "";
|
||||||
}
|
}
|
||||||
|
|
||||||
.status__action-bar-button {
|
.status__action-bar-button {
|
||||||
flex: 0 0 auto;
|
flex: 1 0 auto;
|
||||||
|
|
||||||
|
&.icon-button {
|
||||||
|
padding: 8px 3px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.status__action-bar-dropdown {
|
.status__action-bar-dropdown {
|
||||||
flex: 0 0 auto;
|
flex: 1 0 auto;
|
||||||
margin-right: 4px;
|
width: 26px !important;
|
||||||
|
margin-right: 0;
|
||||||
|
|
||||||
|
&.icon-button {
|
||||||
|
padding: 8px 3px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
body.rtl {
|
body.rtl {
|
||||||
.status__action-bar-dropdown {
|
.status__action-bar-dropdown {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
margin-left: 4px;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
@import 'color', 'layout';
|
@import 'color', 'layout';
|
||||||
|
|
||||||
@import '../../theme/functions', '../../theme/mixins';
|
@import '../../theme/functions', '../../theme/mixins';
|
||||||
|
|
||||||
|
@import '../../theme/material-shadow';
|
||||||
|
@import '../../theme/material-icons';
|
||||||
|
|
||||||
@import '../../theme/theme';
|
@import '../../theme/theme';
|
||||||
@import 'plugins';
|
@import 'plugins';
|
||||||
|
|
||||||
@import '../../theme/material-icons';
|
|
|
@ -5,7 +5,9 @@
|
||||||
@import 'color', 'layout';
|
@import 'color', 'layout';
|
||||||
|
|
||||||
@import '../../theme/functions', '../../theme/mixins';
|
@import '../../theme/functions', '../../theme/mixins';
|
||||||
|
|
||||||
|
@import '../../theme/material-shadow';
|
||||||
|
@import '../../theme/material-icons';
|
||||||
|
|
||||||
@import '../../theme/theme';
|
@import '../../theme/theme';
|
||||||
@import 'plugins';
|
@import 'plugins';
|
||||||
|
|
||||||
@import '../../theme/material-icons';
|
|
|
@ -5,7 +5,9 @@
|
||||||
@import 'color', 'layout';
|
@import 'color', 'layout';
|
||||||
|
|
||||||
@import '../../theme/functions', '../../theme/mixins';
|
@import '../../theme/functions', '../../theme/mixins';
|
||||||
|
|
||||||
|
@import '../../theme/material-shadow';
|
||||||
|
@import '../../theme/material-icons';
|
||||||
|
|
||||||
@import '../../theme/theme';
|
@import '../../theme/theme';
|
||||||
@import 'plugins';
|
@import 'plugins';
|
||||||
|
|
||||||
@import '../../theme/material-icons';
|
|
|
@ -5,7 +5,9 @@
|
||||||
@import 'color', 'layout';
|
@import 'color', 'layout';
|
||||||
|
|
||||||
@import '../../theme/functions', '../../theme/mixins';
|
@import '../../theme/functions', '../../theme/mixins';
|
||||||
|
|
||||||
|
@import '../../theme/material-shadow';
|
||||||
|
@import '../../theme/material-icons';
|
||||||
|
|
||||||
@import '../../theme/theme';
|
@import '../../theme/theme';
|
||||||
@import 'plugins';
|
@import 'plugins';
|
||||||
|
|
||||||
@import '../../theme/material-icons';
|
|
|
@ -5,7 +5,9 @@
|
||||||
@import 'color', 'layout';
|
@import 'color', 'layout';
|
||||||
|
|
||||||
@import '../../theme/functions', '../../theme/mixins';
|
@import '../../theme/functions', '../../theme/mixins';
|
||||||
|
|
||||||
|
@import '../../theme/material-shadow';
|
||||||
|
@import '../../theme/material-icons';
|
||||||
|
|
||||||
@import '../../theme/theme';
|
@import '../../theme/theme';
|
||||||
@import 'plugins';
|
@import 'plugins';
|
||||||
|
|
||||||
@import '../../theme/material-icons';
|
|
|
@ -5,7 +5,9 @@
|
||||||
@import 'color', 'layout';
|
@import 'color', 'layout';
|
||||||
|
|
||||||
@import '../../theme/functions', '../../theme/mixins';
|
@import '../../theme/functions', '../../theme/mixins';
|
||||||
|
|
||||||
|
@import '../../theme/material-shadow';
|
||||||
|
@import '../../theme/material-icons';
|
||||||
|
|
||||||
@import '../../theme/theme';
|
@import '../../theme/theme';
|
||||||
@import 'plugins';
|
@import 'plugins';
|
||||||
|
|
||||||
@import '../../theme/material-icons';
|
|
|
@ -5,7 +5,9 @@
|
||||||
@import 'color', 'layout';
|
@import 'color', 'layout';
|
||||||
|
|
||||||
@import '../../theme/functions', '../../theme/mixins';
|
@import '../../theme/functions', '../../theme/mixins';
|
||||||
|
|
||||||
|
@import '../../theme/material-shadow';
|
||||||
|
@import '../../theme/material-icons';
|
||||||
|
|
||||||
@import '../../theme/theme';
|
@import '../../theme/theme';
|
||||||
@import 'plugins';
|
@import 'plugins';
|
||||||
|
|
||||||
@import '../../theme/material-icons';
|
|
|
@ -5,7 +5,9 @@
|
||||||
@import 'color', 'layout';
|
@import 'color', 'layout';
|
||||||
|
|
||||||
@import '../../theme/functions', '../../theme/mixins';
|
@import '../../theme/functions', '../../theme/mixins';
|
||||||
|
|
||||||
|
@import '../../theme/material-shadow';
|
||||||
|
@import '../../theme/material-icons';
|
||||||
|
|
||||||
@import '../../theme/theme';
|
@import '../../theme/theme';
|
||||||
@import 'plugins';
|
@import 'plugins';
|
||||||
|
|
||||||
@import '../../theme/material-icons';
|
|
|
@ -1,34 +1,3 @@
|
||||||
$shadow-color-1: rgba(0,0,0,.2);
|
|
||||||
$shadow-color-2: rgba(0,0,0,.14);
|
|
||||||
$shadow-color-3: rgba(0,0,0,.12);
|
|
||||||
|
|
||||||
@mixin shadow-1dp { box-shadow: 0 2px 1px -1px $shadow-color-1, 0 1px 1px 0 $shadow-color-2, 0 1px 3px 0 $shadow-color-3 }
|
|
||||||
@mixin shadow-2dp { box-shadow: 0 3px 1px -2px $shadow-color-1, 0 2px 2px 0 $shadow-color-2, 0 1px 5px 0 $shadow-color-3 }
|
|
||||||
@mixin shadow-3dp { box-shadow: 0 3px 3px -2px $shadow-color-1, 0 3px 4px 0 $shadow-color-2, 0 1px 8px 0 $shadow-color-3 }
|
|
||||||
@mixin shadow-4dp { box-shadow: 0 2px 4px -1px $shadow-color-1, 0 4px 5px 0 $shadow-color-2, 0 1px 10px 0 $shadow-color-3 }
|
|
||||||
@mixin shadow-5dp { box-shadow: 0 3px 5px -1px $shadow-color-1, 0 5px 8px 0 $shadow-color-2, 0 1px 14px 0 $shadow-color-3 }
|
|
||||||
@mixin shadow-6dp { box-shadow: 0 3px 5px -1px $shadow-color-1, 0 6px 10px 0 $shadow-color-2, 0 1px 18px 0 $shadow-color-3 }
|
|
||||||
@mixin shadow-7dp { box-shadow: 0 4px 5px -2px $shadow-color-1, 0 7px 10px 1px $shadow-color-2, 0 2px 16px 1px $shadow-color-3 }
|
|
||||||
@mixin shadow-8dp { box-shadow: 0 5px 5px -3px $shadow-color-1, 0 8px 10px 1px $shadow-color-2, 0 3px 14px 2px $shadow-color-3 }
|
|
||||||
@mixin shadow-9dp { box-shadow: 0 5px 6px -3px $shadow-color-1, 0 9px 12px 1px $shadow-color-2, 0 3px 16px 2px $shadow-color-3 }
|
|
||||||
@mixin shadow-10dp { box-shadow: 0 6px 6px -3px $shadow-color-1, 0 10px 14px 1px $shadow-color-2, 0 4px 18px 3px $shadow-color-3 }
|
|
||||||
@mixin shadow-11dp { box-shadow: 0 6px 7px -4px $shadow-color-1, 0 11px 15px 1px $shadow-color-2, 0 4px 20px 3px $shadow-color-3 }
|
|
||||||
@mixin shadow-12dp { box-shadow: 0 7px 8px -4px $shadow-color-1, 0 12px 17px 2px $shadow-color-2, 0 5px 22px 4px $shadow-color-3 }
|
|
||||||
@mixin shadow-13dp { box-shadow: 0 7px 8px -4px $shadow-color-1, 0 13px 19px 2px $shadow-color-2, 0 5px 24px 4px $shadow-color-3 }
|
|
||||||
@mixin shadow-14dp { box-shadow: 0 7px 9px -4px $shadow-color-1, 0 14px 21px 2px $shadow-color-2, 0 5px 26px 4px $shadow-color-3 }
|
|
||||||
@mixin shadow-15dp { box-shadow: 0 8px 9px -5px $shadow-color-1, 0 15px 22px 2px $shadow-color-2, 0 6px 28px 5px $shadow-color-3 }
|
|
||||||
@mixin shadow-16dp { box-shadow: 0 8px 10px -5px $shadow-color-1, 0 16px 24px 2px $shadow-color-2, 0 6px 30px 5px $shadow-color-3 }
|
|
||||||
@mixin shadow-17dp { box-shadow: 0 8px 11px -5px $shadow-color-1, 0 17px 26px 2px $shadow-color-2, 0 6px 32px 5px $shadow-color-3 }
|
|
||||||
@mixin shadow-18dp { box-shadow: 0 9px 11px -5px $shadow-color-1, 0 18px 28px 2px $shadow-color-2, 0 7px 34px 6px $shadow-color-3 }
|
|
||||||
@mixin shadow-19dp { box-shadow: 0 9px 12px -6px $shadow-color-1, 0 19px 29px 2px $shadow-color-2, 0 7px 36px 6px $shadow-color-3 }
|
|
||||||
@mixin shadow-20dp { box-shadow: 0 10px 13px -6px $shadow-color-1, 0 20px 31px 3px $shadow-color-2, 0 8px 38px 7px $shadow-color-3 }
|
|
||||||
@mixin shadow-21dp { box-shadow: 0 10px 13px -6px $shadow-color-1, 0 21px 33px 3px $shadow-color-2, 0 8px 40px 7px $shadow-color-3 }
|
|
||||||
@mixin shadow-22dp { box-shadow: 0 10px 14px -6px $shadow-color-1, 0 22px 35px 3px $shadow-color-2, 0 8px 42px 7px $shadow-color-3 }
|
|
||||||
@mixin shadow-23dp { box-shadow: 0 11px 14px -7px $shadow-color-1, 0 23px 36px 3px $shadow-color-2, 0 9px 44px 8px $shadow-color-3 }
|
|
||||||
@mixin shadow-24dp { box-shadow: 0 11px 15px -7px $shadow-color-1, 0 24px 38px 3px $shadow-color-2, 0 9px 46px 8px $shadow-color-3 }
|
|
||||||
|
|
||||||
@mixin non-overflow-shadow-4dp { box-shadow: 0 2px 4px -1px $shadow-color-1, 0 4px 5px -1px $shadow-color-2}
|
|
||||||
|
|
||||||
@mixin material-transition { transition: .25s cubic-bezier(0,0,0.2,1) }
|
@mixin material-transition { transition: .25s cubic-bezier(0,0,0.2,1) }
|
||||||
|
|
||||||
@mixin search-bar-hover {
|
@mixin search-bar-hover {
|
||||||
|
|
|
@ -96,12 +96,21 @@
|
||||||
dl {
|
dl {
|
||||||
border-bottom: 1px solid $border-color;
|
border-bottom: 1px solid $border-color;
|
||||||
|
|
||||||
&:first-child,
|
&:first-child dd,
|
||||||
&:first-child .verified { border-radius: $table-radius $table-radius 0 0 }
|
&:first-child dd .verified { border-radius: 0 $table-radius 0 0 }
|
||||||
|
|
||||||
&:last-child,
|
&:last-child dd,
|
||||||
&:last-child .verified {
|
&:last-child dd .verified {
|
||||||
border-radius: 0 0 $table-radius $table-radius;
|
border-radius: 0 0 $table-radius 0;
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:first-child dt,
|
||||||
|
&:first-child dt .verified { border-radius: $table-radius 0 0 0 }
|
||||||
|
|
||||||
|
&:last-child dt,
|
||||||
|
&:last-child dt .verified {
|
||||||
|
border-radius: 0 0 0 $table-radius;
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -187,3 +187,5 @@ label.icon-button {
|
||||||
&:disabled:hover { background-color: $disabled-button-color }
|
&:disabled:hover { background-color: $disabled-button-color }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.layout-multiple-columns .button.button--with-bell { padding: 0 16px }
|
|
@ -15,7 +15,6 @@
|
||||||
.column-header {
|
.column-header {
|
||||||
background: $top-bar-color;
|
background: $top-bar-color;
|
||||||
border-radius: $bar-radius;
|
border-radius: $bar-radius;
|
||||||
height: 56px;
|
|
||||||
|
|
||||||
> button {
|
> button {
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
|
@ -482,20 +481,20 @@
|
||||||
|
|
||||||
&__item {
|
&__item {
|
||||||
@include chip-type($chip-type);
|
@include chip-type($chip-type);
|
||||||
border-radius: 17px;
|
border-radius: $chip-radius;
|
||||||
margin: 2px 4px;
|
margin: 2px 4px;
|
||||||
|
|
||||||
&.active .reactions-bar__item__count { color: $chip-selected-text-color }
|
&.active .reactions-bar__item__count { color: $chip-selected-text-color }
|
||||||
|
|
||||||
&__emoji {
|
&__emoji {
|
||||||
width: 24px;
|
width: $chip-size;
|
||||||
height: 24px;
|
height: $chip-size;
|
||||||
margin: 4px 0 4px 2px;
|
margin: 4px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__count {
|
&__count {
|
||||||
font-size: 16px;
|
font-size: 14px;
|
||||||
margin: 0 12px 0 8px;
|
margin: 0 8px;
|
||||||
color: $secondary-text-color;
|
color: $secondary-text-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -156,9 +156,17 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation-panel hr {
|
.navigation-panel {
|
||||||
|
hr {
|
||||||
border-top: 1px solid $border-color;
|
border-top: 1px solid $border-color;
|
||||||
margin: 8px 0;
|
margin: 8px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&>a {
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.flex-spacer { margin: 8px 0 }
|
.flex-spacer { margin: 8px 0 }
|
||||||
|
@ -386,6 +394,16 @@
|
||||||
&:focus { border-color: $border-hover-color }
|
&:focus { border-color: $border-hover-color }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&__number {
|
||||||
|
width: 48px;
|
||||||
|
flex: 0 0 48px;
|
||||||
|
}
|
||||||
|
|
||||||
|
&__number,
|
||||||
|
&__option__text { padding: 8px 0 }
|
||||||
|
|
||||||
|
&__voted { padding: 8px }
|
||||||
|
|
||||||
&__option {
|
&__option {
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
|
|
||||||
|
@ -396,8 +414,6 @@
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
padding: 8px 16px;
|
padding: 8px 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__text { padding: 8px 0 }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&__chart {
|
&__chart {
|
||||||
|
@ -442,9 +458,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&__content {
|
&__content {
|
||||||
color: $secondary-text-color;
|
color: $info-text-color;
|
||||||
|
|
||||||
strong { color: $ui-text-color }
|
strong { color: $menu-text-color }
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
|
@ -452,18 +468,18 @@
|
||||||
color: $icon-hover-color;
|
color: $icon-hover-color;
|
||||||
|
|
||||||
.privacy-dropdown__option__content {
|
.privacy-dropdown__option__content {
|
||||||
color: $secondary-text-color;
|
color: $info-text-color;
|
||||||
|
|
||||||
strong { color: $ui-text-color }
|
strong { color: $menu-text-color }
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: $menu-bg-active-color;
|
background: $menu-bg-active-color;
|
||||||
|
|
||||||
.privacy-dropdown__option__content {
|
.privacy-dropdown__option__content {
|
||||||
color: $secondary-text-color;
|
color: $info-text-color;
|
||||||
|
|
||||||
strong { color: $ui-text-color }
|
strong { color: $menu-text-color }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -473,9 +489,9 @@
|
||||||
color: $icon-hover-color;
|
color: $icon-hover-color;
|
||||||
|
|
||||||
.privacy-dropdown__option__content {
|
.privacy-dropdown__option__content {
|
||||||
color: $secondary-text-color;
|
color: $info-text-color;
|
||||||
|
|
||||||
strong { color: $ui-text-color }
|
strong { color: $menu-text-color }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,7 +92,7 @@
|
||||||
color: $ui-text-color;
|
color: $ui-text-color;
|
||||||
background-color: $dropdown-field-bg-color;
|
background-color: $dropdown-field-bg-color;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: $menu-radius $menu-radius 0 0;
|
border-radius: $menu-radius;
|
||||||
padding-left: 16px;
|
padding-left: 16px;
|
||||||
padding-right: 40px;
|
padding-right: 40px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
|
|
@ -257,7 +257,8 @@ button.icon-button.reblogPrivate:hover i.fa-retweet {
|
||||||
.fa.fa-envelope.column-header__icon.fa-fw,
|
.fa.fa-envelope.column-header__icon.fa-fw,
|
||||||
.fa.fa-star.column-header__icon.fa-fw,
|
.fa.fa-star.column-header__icon.fa-fw,
|
||||||
.fa.fa-list.column-header__icon.fa-fw,
|
.fa.fa-list.column-header__icon.fa-fw,
|
||||||
.fa.fa-list-ul.column-header__icon.fa-fw { vertical-align: text-bottom }
|
.fa.fa-list-ul.column-header__icon.fa-fw,
|
||||||
|
.fa.fa-hashtag.column-header__icon.fa-fw { vertical-align: text-bottom }
|
||||||
|
|
||||||
// top bar icons in single column mode
|
// top bar icons in single column mode
|
||||||
.tabs-bar__link .fa {
|
.tabs-bar__link .fa {
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
$shadow-color-1: rgba(0,0,0,.2);
|
||||||
|
$shadow-color-2: rgba(0,0,0,.14);
|
||||||
|
$shadow-color-3: rgba(0,0,0,.12);
|
||||||
|
|
||||||
|
@mixin shadow-1dp { box-shadow: 0 2px 1px -1px $shadow-color-1, 0 1px 1px 0 $shadow-color-2, 0 1px 3px 0 $shadow-color-3 }
|
||||||
|
@mixin shadow-2dp { box-shadow: 0 3px 1px -2px $shadow-color-1, 0 2px 2px 0 $shadow-color-2, 0 1px 5px 0 $shadow-color-3 }
|
||||||
|
@mixin shadow-3dp { box-shadow: 0 3px 3px -2px $shadow-color-1, 0 3px 4px 0 $shadow-color-2, 0 1px 8px 0 $shadow-color-3 }
|
||||||
|
@mixin shadow-4dp { box-shadow: 0 2px 4px -1px $shadow-color-1, 0 4px 5px 0 $shadow-color-2, 0 1px 10px 0 $shadow-color-3 }
|
||||||
|
@mixin shadow-5dp { box-shadow: 0 3px 5px -1px $shadow-color-1, 0 5px 8px 0 $shadow-color-2, 0 1px 14px 0 $shadow-color-3 }
|
||||||
|
@mixin shadow-6dp { box-shadow: 0 3px 5px -1px $shadow-color-1, 0 6px 10px 0 $shadow-color-2, 0 1px 18px 0 $shadow-color-3 }
|
||||||
|
@mixin shadow-7dp { box-shadow: 0 4px 5px -2px $shadow-color-1, 0 7px 10px 1px $shadow-color-2, 0 2px 16px 1px $shadow-color-3 }
|
||||||
|
@mixin shadow-8dp { box-shadow: 0 5px 5px -3px $shadow-color-1, 0 8px 10px 1px $shadow-color-2, 0 3px 14px 2px $shadow-color-3 }
|
||||||
|
@mixin shadow-9dp { box-shadow: 0 5px 6px -3px $shadow-color-1, 0 9px 12px 1px $shadow-color-2, 0 3px 16px 2px $shadow-color-3 }
|
||||||
|
@mixin shadow-10dp { box-shadow: 0 6px 6px -3px $shadow-color-1, 0 10px 14px 1px $shadow-color-2, 0 4px 18px 3px $shadow-color-3 }
|
||||||
|
@mixin shadow-11dp { box-shadow: 0 6px 7px -4px $shadow-color-1, 0 11px 15px 1px $shadow-color-2, 0 4px 20px 3px $shadow-color-3 }
|
||||||
|
@mixin shadow-12dp { box-shadow: 0 7px 8px -4px $shadow-color-1, 0 12px 17px 2px $shadow-color-2, 0 5px 22px 4px $shadow-color-3 }
|
||||||
|
@mixin shadow-13dp { box-shadow: 0 7px 8px -4px $shadow-color-1, 0 13px 19px 2px $shadow-color-2, 0 5px 24px 4px $shadow-color-3 }
|
||||||
|
@mixin shadow-14dp { box-shadow: 0 7px 9px -4px $shadow-color-1, 0 14px 21px 2px $shadow-color-2, 0 5px 26px 4px $shadow-color-3 }
|
||||||
|
@mixin shadow-15dp { box-shadow: 0 8px 9px -5px $shadow-color-1, 0 15px 22px 2px $shadow-color-2, 0 6px 28px 5px $shadow-color-3 }
|
||||||
|
@mixin shadow-16dp { box-shadow: 0 8px 10px -5px $shadow-color-1, 0 16px 24px 2px $shadow-color-2, 0 6px 30px 5px $shadow-color-3 }
|
||||||
|
@mixin shadow-17dp { box-shadow: 0 8px 11px -5px $shadow-color-1, 0 17px 26px 2px $shadow-color-2, 0 6px 32px 5px $shadow-color-3 }
|
||||||
|
@mixin shadow-18dp { box-shadow: 0 9px 11px -5px $shadow-color-1, 0 18px 28px 2px $shadow-color-2, 0 7px 34px 6px $shadow-color-3 }
|
||||||
|
@mixin shadow-19dp { box-shadow: 0 9px 12px -6px $shadow-color-1, 0 19px 29px 2px $shadow-color-2, 0 7px 36px 6px $shadow-color-3 }
|
||||||
|
@mixin shadow-20dp { box-shadow: 0 10px 13px -6px $shadow-color-1, 0 20px 31px 3px $shadow-color-2, 0 8px 38px 7px $shadow-color-3 }
|
||||||
|
@mixin shadow-21dp { box-shadow: 0 10px 13px -6px $shadow-color-1, 0 21px 33px 3px $shadow-color-2, 0 8px 40px 7px $shadow-color-3 }
|
||||||
|
@mixin shadow-22dp { box-shadow: 0 10px 14px -6px $shadow-color-1, 0 22px 35px 3px $shadow-color-2, 0 8px 42px 7px $shadow-color-3 }
|
||||||
|
@mixin shadow-23dp { box-shadow: 0 11px 14px -7px $shadow-color-1, 0 23px 36px 3px $shadow-color-2, 0 9px 44px 8px $shadow-color-3 }
|
||||||
|
@mixin shadow-24dp { box-shadow: 0 11px 15px -7px $shadow-color-1, 0 24px 38px 3px $shadow-color-2, 0 9px 46px 8px $shadow-color-3 }
|
||||||
|
|
||||||
|
@mixin non-overflow-shadow-4dp { box-shadow: 0 2px 4px -1px $shadow-color-1, 0 4px 5px -1px $shadow-color-2}
|
Loading…
Reference in a new issue