Skip to content

EspoCRM – Open Source CRM Application

Text solid

Yurii08d5f0ea4a7c
diff --git a/client/res/templates/global-search/panel.tpl b/client/res/templates/global-search/panel.tpl
index 8d16f15849..7d3f9ffc06 100644
--- a/client/res/templates/global-search/panel.tpl
+++ b/client/res/templates/global-search/panel.tpl
@@ -1,9 +1,9 @@
<div class="panel panel-default">
<div class="panel-heading panel-heading-no-title">
- <div class="link-group">
- <a role="button" tabindex="0" class="close-link" data-action="closePanel"><span class="fas fa-times"></span></a>
- </div>
- {{translate 'Global Search'}}
+ <div class="link-group">
+ <a role="button" tabindex="0" class="close-link" data-action="closePanel"><span class="fas fa-times"></span></a>
+ </div>
+ <span class="text-solid text-medium">{{translate 'Global Search'}}</span>
</div>
<div class="panel-body">
<div class="list-container">
diff --git a/client/res/templates/notification/panel.tpl b/client/res/templates/notification/panel.tpl
index 034fe93e3d..1e7795d4a7 100644
--- a/client/res/templates/notification/panel.tpl
+++ b/client/res/templates/notification/panel.tpl
@@ -6,7 +6,7 @@
</div>
<a
href="#Notification"
- class="text-soft"
+ class="text-solid"
data-action="openNotifications"
>{{translate 'Notifications'}}</a>
</div>
diff --git a/client/src/views/site/navbar/last-viewed.js b/client/src/views/site/navbar/last-viewed.js
index a94c2061f6..fe78fe3a43 100644
--- a/client/src/views/site/navbar/last-viewed.js
+++ b/client/src/views/site/navbar/last-viewed.js
@@ -179,7 +179,7 @@ class PanelView extends View {
</div>
<a
href="#LastViewed"
- class="text-soft"
+ class="text-solid"
>{{translate 'LastViewed' category='scopeNamesPlural'}}</a>
</div>
<div class="panel-body">
diff --git a/frontend/less/dark/variables.less b/frontend/less/dark/variables.less
index b7045aa096..c6b7fe7d81 100644
--- a/frontend/less/dark/variables.less
+++ b/frontend/less/dark/variables.less
@@ -8,7 +8,7 @@
@text-color-value: #dbdbdb;
@text-white-color-value: @text-color-value;
@text-gray-color-value: #979696;
-@text-emphasis-color-value: #b0b0b0;
+@text-solid-color-value: #b0b0b0;
@main-gray-value: #ececec;
diff --git a/frontend/less/espo/elements/panel.less b/frontend/less/espo/elements/panel.less
index c1cd90a3c3..80c36eb2bd 100644
--- a/frontend/less/espo/elements/panel.less
+++ b/frontend/less/espo/elements/panel.less
@@ -315,7 +315,7 @@ body {
var(--panel-default-border);
var(--gray-soft);
var(--btn-text-color);
- var(--text-emphasis-color)
+ var(--text-solid-color)
);
.panel-styled(
diff --git a/frontend/less/espo/elements/type.less b/frontend/less/espo/elements/type.less
index 3266923140..e57e2a134a 100644
--- a/frontend/less/espo/elements/type.less
+++ b/frontend/less/espo/elements/type.less
@@ -53,6 +53,10 @@ b, strong {
color: @gray-soft;
}
+.text-solid {
+ color: var(--text-solid-color);
+}
+
.text-smaller {
font-size: calc(var(--font-size-small) + var(--1px));
}
@@ -61,6 +65,10 @@ b, strong {
font-style: italic;
}
+.text-medium {
+ font-weight: 500;
+}
+
.text-bold {
font-weight: 600;
}
@@ -258,6 +266,20 @@ a.text-soft {
}
}
+a.text-solid {
+ &:hover,
+ &:focus {
+ color: var(--text-solid-color);
+ }
+
+ &:hover {
+ > .fas,
+ > .far {
+ color: var(--text-gray-color);
+ }
+ }
+}
+
a.text-content {
.link-content-color();
}
diff --git a/frontend/less/espo/root-variables.less b/frontend/less/espo/root-variables.less
index b40f4f8f7c..e80c8d8485 100644
--- a/frontend/less/espo/root-variables.less
+++ b/frontend/less/espo/root-variables.less
@@ -414,7 +414,7 @@
--text-white-color: @text-white-color-value;
--text-muted-color: @text-muted-color-value;
--text-gray-color: @text-gray-color-value;
- --text-emphasis-color: @text-emphasis-color-value;
+ --text-solid-color: @text-solid-color-value;
--link-color: @link-color-value;
--link-hover-color: @link-hover-color-value;
diff --git a/frontend/less/espo/value-variables.less b/frontend/less/espo/value-variables.less
index 0c547bb334..db7d2ca5bd 100644
--- a/frontend/less/espo/value-variables.less
+++ b/frontend/less/espo/value-variables.less
@@ -17,7 +17,7 @@
@text-white-color-value: @white-color-value;
@text-muted-color-value: @gray-light-value;
@text-gray-color-value: #6a6a6a;
-@text-emphasis-color-value: @text-gray-color-value;
+@text-solid-color-value: @text-gray-color-value;
@brand-primary-value: #5589ca;
@brand-danger-value: #d7657d;
diff --git a/frontend/less/glass/variables.less b/frontend/less/glass/variables.less
index dc6ab4952d..7e64c40590 100644
--- a/frontend/less/glass/variables.less
+++ b/frontend/less/glass/variables.less
@@ -10,7 +10,7 @@
@text-color-value: #dbdbdb;
@text-white-color-value: @text-color-value;
@text-gray-color-value: #979696;
-@text-emphasis-color-value: #c9c9c9;
+@text-solid-color-value: #c9c9c9;
@main-gray-value: #ececec;