Improve style consistency

This commit is contained in:
riggraz
2019-09-27 11:40:33 +02:00
parent f744c497a2
commit e1d8dbc281
12 changed files with 19 additions and 56 deletions

View File

@@ -77,7 +77,7 @@
@extend .my-3;
display: block;
color: black;
color: $astuto-black;
&:hover { text-decoration: none; }
}

View File

@@ -55,7 +55,7 @@
font-size: 14px;
.commentReplyButton {
color: #333;
color: $astuto-black;
&:hover {
text-decoration: underline;

View File

@@ -54,7 +54,7 @@
@extend
.my-3;
color: #333;
color: $astuto-black;
}
}
}

View File

@@ -1,2 +1,3 @@
$astuto-black: #333;
$astuto-grey: rgba(178, 178, 178, 0.15);
$muted-text-color: #6c757d;

View File

@@ -1,5 +1,5 @@
a {
color: #333;
color: $astuto-black;
&:hover { color: inherit; }
}
@@ -10,7 +10,7 @@ a {
box-shadow: 0 1px 1px rgba(0,0,0,0.15), 0 1px 1px rgba(0,0,0,0.15);
transition: all 0.3s cubic-bezier(.25,.8,.25,1);
color: #333;
color: $astuto-black;
padding: 8px;
}

View File

@@ -22,7 +22,7 @@
@extend
.text-secondary,
.text-uppercase,
.font-weight-lighter;
.font-weight-light;
font-size: 13px;
}

View File

@@ -33,5 +33,5 @@
margin-top: 24px;
a { color: #333; }
a { color: $astuto-black; }
}

View File

@@ -45,7 +45,7 @@
.fullname {
vertical-align: middle;
color: black;
color: $astuto-black;
}
.dropdown-toggle::after {
@@ -59,4 +59,8 @@
.navbar-toggler[aria-expanded="true"] {
background-color: $astuto-grey;
}
.dropdown-item:active {
background-color: $astuto-black;
}
}

View File

@@ -1,47 +0,0 @@
/* General setup */
span.icon {
margin: 4px;
background-color: white;
border: 2px solid black;
display: inline-block;
position: relative;
vertical-align: top;
}
span.icon:after,
span.icon:before {
background: white;
border: 2px solid black;
content: '';
position: absolute;
}
/* Comment icon */
span.comment {
border-radius: 4px;
width: 22px;
height: 14px;
}
span.comment:after,
span.comment:before {
background: none;
border-bottom: 6px solid transparent;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 6px solid black;
bottom: -14px;
height: 0;
left: 4px;
width: 0;
}
span.comment:before {
border-top-color: white;
bottom: -11px;
z-index: 1;
}
span.comment:hover:after {
background: none;
}
span.comment:hover:before {
background: none;
border-top-color: #ffe;
}

View File

@@ -7,6 +7,11 @@
max-width: 920px;
}
.turbolinks-progress-bar {
background-color: $astuto-black;
height: 2px;
}
.gravatar {
border-radius: 16px;
}

View File

@@ -6,7 +6,6 @@
@import 'general/custom_texts';
@import 'general/form';
@import 'general/header';
@import 'general/icons';
@import 'general/index';
/* Components */