diff --git a/core/src/plugins/access.ajxp_home/res/home.css b/core/src/plugins/access.ajxp_home/res/home.css index 38ab4e07fa..6b2c3575e9 100644 --- a/core/src/plugins/access.ajxp_home/res/home.css +++ b/core/src/plugins/access.ajxp_home/res/home.css @@ -277,7 +277,6 @@ text-align: center; font-size: 34px; color: white; - margin: 20px; line-height: 55px; opacity: 0; transition: opacity ease 0.9s; @@ -285,51 +284,115 @@ top: 30px; } #home_account_pane #ws_legend .repoInfoBadge { + -webkit-animation: fadein 0.2s ease-in; + animation: fadein 0.2s ease-in; position: relative; + box-sizing: border-box; display: inline-block; - font-size: 24px; - min-width: 210px; - max-width: 210px; - line-height: 30px; - background-color: rgba(0, 0, 0, 0.16); + font-size: 20px; + width: 160px; + line-height: 25px; + background-color: rgba(0, 150, 136, 0.76); border-radius: 3px; - padding: 6px 16px 6px 14px; - margin: 26px 8px; - min-height: 106px; + padding: 0; + margin: 3px; + min-height: 114px; vertical-align: top; text-align: left; clear: both; + color: #ffffff; + box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); } #home_account_pane #ws_legend .repoInfoBadge > div { clear: both; } -#home_account_pane #ws_legend .repoInfoBox { +#home_account_pane #ws_legend .repoInfoBadge:nth-child(1) { + background-color: rgba(96, 125, 139, 0.85); +} +#home_account_pane #ws_legend .repoInfoBadge:nth-child(2) { + background-color: rgba(33, 150, 243, 0.85); +} +#home_account_pane #ws_legend .repoInfoBadge:nth-child(3) { + background-color: rgba(244, 67, 54, 0.75); +} +#home_account_pane #ws_legend .repoInfoBadge:nth-child(4) { + background-color: rgba(0, 150, 136, 0.85); +} +#home_account_pane #ws_legend .repoInfoBadge .repoInfoBox { position: absolute; - top: 6px; - bottom: 6px; - left: 14px; - right: 16px; + width: 100%; + height: 100%; } -#home_account_pane #ws_legend .repoInfoTitle { +#home_account_pane #ws_legend .repoInfoBadge .repoInfoBody { + padding: 12px 16px; +} +#home_account_pane #ws_legend .repoInfoBadge .repoInfoBody > div { + width: 100%; +} +#home_account_pane #ws_legend .repoInfoBadge .repoInfoHeader { + padding: 7px 16px; + border-top: 1px solid rgba(0, 0, 0, 0.1); + line-height: 25px; +} +#home_account_pane #ws_legend .repoInfoBadge .repoInfoHeader .repoInfoTitle { float: left; font-weight: 500; text-transform: none; - font-size: 16px; + font-size: 13px; text-align: left; color: rgba(255, 255, 255, 0.76); - line-height: 45px; } -#home_account_pane #ws_legend .repoInfoBadge span[class^="icon-"], -#home_account_pane #ws_legend .repoInfoBadge span[class^="mdi mdi-"] { +#home_account_pane #ws_legend .repoInfoBadge .repoInfoHeader span[class^="icon-"], +#home_account_pane #ws_legend .repoInfoBadge .repoInfoHeader span[class^="mdi mdi-"] { display: block; - font-size: 30px; - line-height: 45px; - opacity: 0.9; + font-size: 18px; + opacity: 0.76; text-align: right; + line-height: 25px; +} +#home_account_pane #ws_legend .repoInfoBadge.main { + background-color: rgba(0, 150, 136, 0.85); + width: 326px; + font-size: 13px; +} +#home_account_pane #ws_legend .repoInfoBadge.main.size-3 { + width: 492px; } -#home_account_pane #ws_legend .repoInfoBody > div { +#home_account_pane #ws_legend .repoInfoBadge.main.size-4 { + width: 655px; +} +#home_account_pane #ws_legend .repoInfoBadge.main h4 { + margin: 0; + padding: 0; + font-weight: 400; + font-size: 20px; +} +#home_account_pane #ws_legend .repoInfoBadge.main .repoInfoBody { + padding: 12px 16px; +} +#home_account_pane #ws_legend .repoInfoBadge.main .repoInfoHeader { + padding-right: 8px; +} +#home_account_pane #ws_legend .repoInfoBadge.main .repoInfoTitle { width: 100%; } +#home_account_pane #ws_legend .repoInfoBadge.main .repoInfoTitle span.enter_save_choice input { + margin: 0; +} +#home_account_pane #ws_legend .repoInfoBadge.main .repoInfoTitle a { + color: white; + font-weight: 500; + float: right; + text-decoration: none; + text-transform: uppercase; + display: inline-block; + padding: 0 8px; + border-radius: 2px; + transition: all 550ms cubic-bezier(0.23, 1, 0.32, 1) 0ms; +} +#home_account_pane #ws_legend .repoInfoBadge.main .repoInfoTitle a:hover { + background-color: rgba(255, 255, 255, 0.5); +} #home_account_pane #ws_legend > small { font-size: 16px; line-height: 1.4em; @@ -342,11 +405,6 @@ #home_account_pane #ws_legend.empty_ws_legend { opacity: 0; } -#home_account_pane #ws_legend .enter_save_choice { - opacity: 0.7; - font-size: 13px; - margin-top: 10px; -} #home_account_pane #list_cont { overflow-y: auto; } @@ -494,6 +552,7 @@ div#tutorial_dl_apps_pane div.dl_blocks_sep { div#tutorial_dl_apps_pane div#dl_pydio_cont { width: 750px; margin: 0 auto; + background-color: transparent; } div#tutorial_dl_apps_pane div#dl_pydio_for { display: none; @@ -501,12 +560,22 @@ div#tutorial_dl_apps_pane div#dl_pydio_for { margin: 44px 18px; font-size: 21px; } +div#tutorial_dl_apps_pane span.dl_tooltip_container { + display: inline-block; + float: left; + width: 90px; + text-align: center; +} +div#tutorial_dl_apps_pane span.dl_tooltip_container div.mui-tooltip { + top: 0; + width: 200px; + left: -50px; +} div#tutorial_dl_apps_pane div#dl_pydio_win, div#tutorial_dl_apps_pane div#dl_pydio_mac, div#tutorial_dl_apps_pane div#dl_pydio_ios, div#tutorial_dl_apps_pane div#dl_pydio_android { width: 90px; - float: left; padding-top: 8px; position: relative; } diff --git a/core/src/plugins/access.ajxp_home/res/home.less b/core/src/plugins/access.ajxp_home/res/home.less index bcc16da4b1..829fc41983 100644 --- a/core/src/plugins/access.ajxp_home/res/home.less +++ b/core/src/plugins/access.ajxp_home/res/home.less @@ -306,63 +306,130 @@ text-align: center; font-size: 34px; color: white; - margin: 20px; line-height: 55px; opacity: 0; transition: opacity ease 0.9s; position: relative; top: 30px; + @infoBadgeWidth:160px; + @infoBadgeMargin:3px; .repoInfoBadge { + animation: fadein 0.2s ease-in; position: relative; + box-sizing: border-box; display: inline-block; - font-size: 24px; - min-width: 210px; - max-width: 210px; - line-height: 30px; - background-color: rgba(0, 0, 0, 0.16); + font-size: 20px; + width: @infoBadgeWidth; + line-height: 25px; + background-color: rgba(0, 150, 136, 0.76); border-radius: 3px; - padding: 6px 16px 6px 14px; - margin: 26px 8px; - min-height: 106px; + padding: 0; + margin: @infoBadgeMargin; + min-height: 114px; vertical-align: top; text-align: left; clear: both; - } + color: rgb(255, 255, 255); + box-shadow: 0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23); + > div { + clear: both; + } + &:nth-child(1){ + background-color: rgba(96, 125, 139, 0.85); + } + &:nth-child(2){ + background-color: rgba(33,150,243,0.85); + } + &:nth-child(3){ + background-color: rgba(244, 67, 54, 0.75); + } + &:nth-child(4){ + background-color: rgba(0, 150, 136, 0.85); + } + .repoInfoBox { + position: absolute; + width: 100%; + height: 100%; + } + .repoInfoBody { + padding: 12px 16px; + > div { + width: 100%; + } + } + .repoInfoHeader{ + padding: 7px 16px; + border-top: 1px solid rgba(0,0,0,0.10); + line-height: 25px; + .repoInfoTitle{ + float: left; + font-weight: 500; + text-transform: none; + font-size: 13px; + text-align: left; + color: rgba(255, 255, 255, 0.76); + } + span[class^="icon-"], span[class^="mdi mdi-"] { + display: block; + font-size: 18px; + opacity: 0.76; + text-align: right; + line-height: 25px; + } + } - .repoInfoBadge > div { - clear: both; - } + &.main{ + background-color: rgba(0, 150, 136, 0.85); + width: @infoBadgeWidth * 2 + @infoBadgeMargin * 2; + &.size-3{ + width: @infoBadgeWidth * 3 + @infoBadgeMargin * 4; + } + &.size-4{ + width: @infoBadgeWidth * 4 + @infoBadgeMargin * 5; + } + font-size: 13px; + h4{ + margin: 0; + padding: 0; + font-weight: 400; + font-size: 20px; + } + .repoInfoBody{ + padding: 12px 16px; + } + .repoInfoHeader{ + padding-right: 8px; + } + .repoInfoTitle{ + width: 100%; + span.enter_save_choice{ + input{ + margin: 0; + } + } + a{ + color: white; + font-weight: 500; + float: right; + text-decoration: none; + text-transform: uppercase; + display: inline-block; + padding: 0 8px; + border-radius: 2px; + transition: @bezier_transition; + &:hover{ + background-color: rgba(255,255,255,0.5); + } + } + } - .repoInfoBox { - position: absolute; - top: 6px; - bottom: 6px; - left: 14px; - right: 16px; - } + } - .repoInfoTitle { - float: left; - font-weight: 500; - text-transform: none; - font-size: 16px; - text-align: left; - color: rgba(255, 255, 255, 0.76); - line-height: 45px; } - .repoInfoBadge span[class^="icon-"], .repoInfoBadge span[class^="mdi mdi-"] { - display: block; - font-size: 30px; - line-height: 45px; - opacity: 0.9; - text-align: right; - } - .repoInfoBody > div { - width: 100%; - } + > small { font-size: 16px; @@ -378,12 +445,6 @@ opacity: 0; } - .enter_save_choice{ - opacity: 0.7; - font-size: 13px; - margin-top: 10px; - } - } #list_cont{ @@ -545,16 +606,28 @@ div#tutorial_dl_apps_pane{ div#dl_pydio_cont{ width: 750px; margin: 0 auto; + background-color: transparent; } div#dl_pydio_for{ display: none; float: left;margin: 44px 18px;font-size: 21px; } + span.dl_tooltip_container{ + display: inline-block; + float:left; + width: 90px; + text-align: center; + div.mui-tooltip{ + top:0; + width:200px; + left: -50px; + } + } + @dl_element_width:90px; div#dl_pydio_win, div#dl_pydio_mac, div#dl_pydio_ios, div#dl_pydio_android{ width: @dl_element_width; - float:left; padding-top: 8px; position: relative; a.icon-laptop, a.icon-desktop, a.icon-tablet, a.icon-mobile-phone{ diff --git a/core/src/plugins/access.ajxp_home/res/i18n/ca.php b/core/src/plugins/access.ajxp_home/res/i18n/ca.php index 994bac0683..37c83a982c 100644 --- a/core/src/plugins/access.ajxp_home/res/i18n/ca.php +++ b/core/src/plugins/access.ajxp_home/res/i18n/ca.php @@ -83,5 +83,9 @@