Skip to content

Commit

Permalink
cosmetic changes and minor fixes in the tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianoc committed Jan 23, 2024
1 parent a37beec commit 3e85383
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions Cecilifier.Web/wwwroot/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ footer {

.tippy-box[data-theme~='cecilifier-tooltip'] {
font-weight: bold;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tippy-box[data-theme~='assembly_references_tip'] {
Expand Down
15 changes: 8 additions & 7 deletions Cecilifier.Web/wwwroot/js/cecilifier.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ function setTooltips(version) {
});

tippy('#csharpcode-container', {
content: "Type any valid C# code to generate the equivalent Cecil api calls.",
content: "Type any valid C# code to generate the equivalent Cecil API calls.",
placement: 'bottom',
interactive: true,
allowHTML: true,
Expand All @@ -414,7 +414,7 @@ function setTooltips(version) {
});

tippy('#sendbutton', {
content: "After entering the code you want to process, press this button. (Ctrl-Alt-C)",
content: "After entering the code you want to process, press this button.<br />(Ctrl-Alt-C)",
placement: 'top',
interactive: true,
allowHTML: true,
Expand All @@ -423,7 +423,7 @@ function setTooltips(version) {
});

tippy('#downloadProject', {
content: "Use this option if you want to download a .Net Core 3.0 project, ready for you to play with! (Ctrl-Alt-D)",
content: "Use this option if you want to download a .Net project (.csproj) ready for you to play with!<br/>(Ctrl-Alt-D)",
placement: 'top',
interactive: true,
allowHTML: true,
Expand All @@ -441,7 +441,7 @@ function setTooltips(version) {
});

tippy('#changeSettings', {
content: "Change various Cecilifier options.<br/><br/>Use this to configure how variables are named in the cecilified code. (Ctrl-Alt-S)",
content: "Change various Cecilifier options.<br/><br/>Use this to configure how variables are named in the cecilified code.<br/>(Ctrl-Alt-S)",
placement: 'top',
interactive: true,
allowHTML: true,
Expand All @@ -462,8 +462,9 @@ function setTooltips(version) {
placement: 'top',
interactive: false,
allowHTML: true,
theme: 'cecilifier-tooltip',
delay: defaultDelay
theme: 'cecilifier-tooltip',
delay: defaultDelay,
maxWidth: 550
});

tippy('#report_internal_error_button', {
Expand Down Expand Up @@ -495,7 +496,7 @@ function setTooltips(version) {

tippy('#showFixedBugsInStaging', {
content: "Shows the list of bugs fixed in Staging but not in production yet.<br/>" +
"In other words, bugs fixed in http://cecilifier.me:5000 but not in https://cecilifier.me",
"In other words, bugs fixed in http://staging.cecilifier.me but not in https://cecilifier.me",

placement: 'top',
interactive: false,
Expand Down

0 comments on commit 3e85383

Please sign in to comment.