Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 6da0596

Browse files
committed
Fix css artefact in user Dashboard. Should fix #1244
1 parent 11b0129 commit 6da0596

File tree

3 files changed

+28
-21
lines changed

3 files changed

+28
-21
lines changed

core/src/plugins/access.ajxp_user/dashboard.css

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
#userdashboard_main_tab {
1+
#userdashboard_main_tab,
2+
#userdashboard_myparams_title {
3+
opacity: 1 !important;
4+
transition: all 550ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
25
font-family: Roboto, sans-serif;
36
-webkit-font-smoothing: antialiased;
47
}
@@ -231,25 +234,25 @@
231234
}
232235
div#userdashboard_myparams_title {
233236
position: absolute;
234-
color: #ffffff;
235-
padding: 25px 16px;
236-
height: 63px;
237-
font-size: 12px;
238237
width: 240px;
239238
box-sizing: border-box;
240239
bottom: 0;
241240
z-index: 2;
242-
letter-spacing: 1px;
243-
font-weight: 500;
244241
white-space: nowrap;
245-
overflow-x: hidden;
242+
overflow: hidden;
246243
}
247244
div#userdashboard_myparams_title span#dash_title {
248245
display: none;
249246
}
250247
div#userdashboard_myparams_title a#dash_back_workspace {
248+
color: rgba(255, 255, 255, 0.8);
249+
font-size: 14px;
251250
display: block;
252251
cursor: pointer;
252+
padding: 25px;
253+
}
254+
div#userdashboard_myparams_title a#dash_back_workspace:hover {
255+
color: #ffffff;
253256
}
254257
@media only screen and (max-width: 800px) {
255258
div#userdashboard_myparams_title {

core/src/plugins/access.ajxp_user/dashboard.less

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@
33
@break2: 200px;
44
@break3: 240px;
55

6-
#userdashboard_main_tab{
6+
#userdashboard_main_tab, #userdashboard_myparams_title{
7+
opacity: 1 !important;
8+
transition: @bezier_transition;
79
font-family: Roboto, sans-serif;
810
-webkit-font-smoothing: antialiased;
11+
}
12+
13+
#userdashboard_main_tab{
914

1015
&.horizontal_tabulator {
1116
display: block;
@@ -236,27 +241,26 @@
236241
div#userdashboard_myparams_title{
237242

238243
position: absolute;
239-
color: #ffffff;
240-
padding: 25px 16px;
241-
height: 63px;
242-
font-size: 12px;
243244
width: @break3;
244245
box-sizing: border-box;
245246
bottom: 0;
246247
z-index: 2;
247-
letter-spacing: 1px;
248-
font-weight: 500;
249-
250248
white-space: nowrap;
251-
overflow-x: hidden;
249+
overflow: hidden;
252250

253251
span#dash_title{
254252
display: none;
255253
}
256254

257255
a#dash_back_workspace{
258-
display: block;
259-
cursor: pointer;
256+
color: rgba(255,255,255,0.8);
257+
font-size: 14px;
258+
display: block;
259+
cursor: pointer;
260+
padding: 25px;
261+
&:hover{
262+
color: #ffffff;
263+
}
260264
}
261265

262266
@media only screen

core/src/plugins/access.ajxp_user/manifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<registry_contributions>
1818
<client_configs>
1919
<template_part ajxpId="orbit_content" ajxpClass="AjxpPane" ajxpOptions='{"fit":"height","fitParent":"ajxp_desktop", "fakeOptionUser":"true", "messageBoxReference":true}' theme="orbit"><![CDATA[
20-
<div id="userdashboard_myparams_title" ajxp_message_id="user_dash.title">
20+
<div id="userdashboard_myparams_title" style="opacity:0;" ajxp_message_id="user_dash.title">
2121
<a id="dash_back_workspace" onclick="ajaxplorer.triggerRepositoryChange('ajxp_home'); return false;"><span class="icon-chevron-left"></span> AJXP_MESSAGE[user_dash.53]</a>
2222
<span id="dash_title">AJXP_MESSAGE[user_dash.title]</span>
2323
</div>
24-
<div id="userdashboard_main_tab" ajxpClass="AjxpTabulator" class="dashboard_main_pane horizontal_tabulator left_tabulator" ajxpOptions='{"fit":"height", "fitMarginBottom":0, "fitParent":"orbit_content", "registerAsEditorOpener":false, "saveState":false, "route":{"base":"/dashboard"}, "events":{}, "tabsTips":"middle right", "defaultTabId": "profile","tabInfos" : [{"id":"profile","label":"user_dash.43", "title":"user_dash.43t","iconClass":"icon-cog", "element":"account_pane"}]}'>
24+
<div id="userdashboard_main_tab" style="opacity:0;" ajxpClass="AjxpTabulator" class="dashboard_main_pane horizontal_tabulator left_tabulator" ajxpOptions='{"fit":"height", "fitMarginBottom":0, "fitParent":"orbit_content", "registerAsEditorOpener":false, "saveState":false, "route":{"base":"/dashboard"}, "events":{}, "tabsTips":"middle right", "defaultTabId": "profile","tabInfos" : [{"id":"profile","label":"user_dash.43", "title":"user_dash.43t","iconClass":"icon-cog", "element":"account_pane"}]}'>
2525
<div id="account_pane" ajxpClass="AjxpReactComponent" class="tabbed_editor" ajxpOptions='{"componentNamespace":"UserAccount","componentName":"ProfilePane"}'></div>
2626
</div>
2727
]]></template_part>

0 commit comments

Comments
 (0)