Skip to content

Commit

Permalink
Use Bootstrap variables for link CSS style
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
  • Loading branch information
MauricioFauth committed Dec 29, 2020
1 parent 5178f76 commit 18e22c2
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 62 deletions.
21 changes: 0 additions & 21 deletions themes/metro/scss/_common.scss
Expand Up @@ -189,22 +189,6 @@ h3 {
font-size: 1rem;
}

a {
text-decoration: none;
color: #235a81;
cursor: pointer;
outline: none;

&:link,
&:visited,
&:active {
text-decoration: none;
color: #235a81;
cursor: pointer;
outline: none;
}
}

button.mult_submit,
.checkall_box + label {
text-decoration: none;
Expand All @@ -213,11 +197,6 @@ button.mult_submit,
outline: none;
}

a:hover {
text-decoration: underline;
color: #235a81;
}

button.mult_submit {
&:hover,
&:focus {
Expand Down
7 changes: 7 additions & 0 deletions themes/metro/scss/_variables.scss
Expand Up @@ -152,6 +152,13 @@ $blue-header: #3a7ead;

$body-color: $main-color;

// Links

$link-color: $browse-pointer-color;
$link-decoration: none;
$link-hover-color: $browse-pointer-color;
$link-hover-decoration: underline;

// Typography

$font-family-base: "Open Sans", "Segoe UI", sans-serif;
Expand Down
19 changes: 0 additions & 19 deletions themes/original/scss/_common.scss
Expand Up @@ -21,32 +21,13 @@ h3 {
font-size: 1rem;
}

a {
text-decoration: none;
color: #00f;
cursor: pointer;

&:link,
&:visited,
&:active {
text-decoration: none;
color: #00f;
cursor: pointer;
}
}

button.mult_submit,
.checkall_box + label {
text-decoration: none;
color: #00f;
cursor: pointer;
}

a:hover {
text-decoration: underline;
color: #f00;
}

button.mult_submit {
&:hover,
&:focus {
Expand Down
7 changes: 7 additions & 0 deletions themes/original/scss/_variables.scss
Expand Up @@ -56,6 +56,13 @@ $bg-two: #d5d5d5;
$body-bg: #f5f5f5;
$body-color: $main-color;

// Links

$link-color: #00f;
$link-decoration: none;
$link-hover-color: #f00;
$link-hover-decoration: underline;

// Typography

$font-family-base: sans-serif;
Expand Down
21 changes: 0 additions & 21 deletions themes/pmahomme/scss/_common.scss
Expand Up @@ -38,22 +38,6 @@ h3 {
font-size: 1rem;
}

a {
text-decoration: none;
color: #235a81;
cursor: pointer;
outline: none;

&:link,
&:visited,
&:active {
text-decoration: none;
color: #235a81;
cursor: pointer;
outline: none;
}
}

button.mult_submit,
.checkall_box + label {
text-decoration: none;
Expand All @@ -62,11 +46,6 @@ button.mult_submit,
outline: none;
}

a:hover {
text-decoration: underline;
color: #235a81;
}

button.mult_submit {
&:hover,
&:focus {
Expand Down
8 changes: 7 additions & 1 deletion themes/pmahomme/scss/_variables.scss
Expand Up @@ -55,11 +55,17 @@ $bg-two: #d5d5d5;

$body-color: $main-color;

// Links

$link-color: #235a81;
$link-decoration: none;
$link-hover-color: #235a81;
$link-hover-decoration: underline;

// Typography

$font-family-base: sans-serif;
$font-family-monospace: monospace;

$font-size-base: 0.82rem;

// Tables
Expand Down

0 comments on commit 18e22c2

Please sign in to comment.