forked from brunobritodev/JPProject.IdentityServer4.AdminUI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
33b0785
commit a921957
Showing
7 changed files
with
66 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
src/Frontend/Jp.AdminUI/src/app/panel/users/events/user-events.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
pre { | ||
overflow: auto | ||
} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 36 additions & 33 deletions
69
src/Frontend/Jp.AdminUI/src/app/shared/styles/bootstrap/_code.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,51 @@ | ||
// Inline code | ||
code { | ||
font-size: $code-font-size; | ||
color: $code-color; | ||
word-break: break-word; | ||
|
||
// Streamline the style when inside anchors to avoid broken underline and more | ||
a > & { | ||
color: inherit; | ||
} | ||
font-size: $code-font-size; | ||
color: $code-color; | ||
word-break: break-word; | ||
// Streamline the style when inside anchors to avoid broken underline and more | ||
a>& { | ||
color: inherit; | ||
} | ||
} | ||
|
||
// User input typically entered via keyboard | ||
kbd { | ||
padding: $kbd-padding-y $kbd-padding-x; | ||
font-size: $kbd-font-size; | ||
color: $kbd-color; | ||
background-color: $kbd-bg; | ||
@include border-radius($border-radius-sm); | ||
@include box-shadow($kbd-box-shadow); | ||
|
||
kbd { | ||
padding: 0; | ||
font-size: 100%; | ||
font-weight: $nested-kbd-font-weight; | ||
@include box-shadow(none); | ||
} | ||
padding: $kbd-padding-y $kbd-padding-x; | ||
font-size: $kbd-font-size; | ||
color: $kbd-color; | ||
background-color: $kbd-bg; | ||
@include border-radius($border-radius-sm); | ||
@include box-shadow($kbd-box-shadow); | ||
kbd { | ||
padding: 0; | ||
font-size: 100%; | ||
font-weight: $nested-kbd-font-weight; | ||
@include box-shadow(none); | ||
} | ||
} | ||
|
||
// Blocks of code | ||
pre { | ||
display: block; | ||
font-size: $code-font-size; | ||
color: $pre-color; | ||
|
||
// Account for some code outputs that place code tags in pre tags | ||
code { | ||
font-size: inherit; | ||
color: inherit; | ||
word-break: normal; | ||
} | ||
display: block; | ||
font-size: $code-font-size; | ||
color: $pre-color; | ||
// Account for some code outputs that place code tags in pre tags | ||
code { | ||
font-size: inherit; | ||
color: inherit; | ||
word-break: normal; | ||
} | ||
} | ||
|
||
// Enable scrollable blocks of code | ||
.pre-scrollable { | ||
max-height: $pre-scrollable-max-height; | ||
overflow-y: scroll; | ||
max-height: $pre-scrollable-max-height; | ||
overflow-y: scroll; | ||
} | ||
|
||
// Enable scrollable blocks of code | ||
.pre-scrollable-width { | ||
max-width: $pre-scrollable-max-width; | ||
overflow-x: scroll; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters