Browse Source

Improved hide about styles

Also added separate i18n key
master
Igor Zhukov 8 years ago
parent
commit
f3c849b78f
  1. 1
      app/js/locales/en-us.json
  2. 8
      app/less/app.less
  3. 2
      app/partials/desktop/login.html
  4. 2
      app/partials/mobile/login.html

1
app/js/locales/en-us.json

@ -538,6 +538,7 @@ @@ -538,6 +538,7 @@
"login_signing_up": "Signing up",
"login_sign_up": "Sign up",
"login_about_title": "About",
"login_about_hide": "hide",
"login_about_desc1_md": "The Telegram web-client is a free, fast and secure way to enjoy most of **Telegram**'s features right in your **web-browser**.",
"login_about_desc2_md": "It is always synced with the **Telegram app** on your mobile device, which makes it a perfect tool for messaging and file sharing.",
"login_about_desc3_md": "Our {source-link: source code} is open, so everyone can make a contribution.",

8
app/less/app.less

@ -1076,7 +1076,13 @@ a.tg_radio_on:hover i.icon-radio { @@ -1076,7 +1076,13 @@ a.tg_radio_on:hover i.icon-radio {
font-size: 15px;
font-weight: bold;
text-align: left;
display: inline-block;
.login_footer_about_hide {
color: #999;
font-size: 80%;
font-weight: normal;
margin-left: 8px;
}
}
p {

2
app/partials/desktop/login.html

@ -133,7 +133,7 @@ @@ -133,7 +133,7 @@
<div ng-switch="about.shown">
<div ng-switch-when="true" class="login_footer_about_wrap" my-scroll-to-on="$init">
<h3 my-i18n="login_about_title"></h3> <small><a ng-click="about.shown = false" my-i18n="modal_close"></a></small>
<h3><span my-i18n="login_about_title"></span><a ng-click="about.shown = false" class="login_footer_about_hide" my-i18n="login_about_hide"></a></h3>
<p my-i18n="login_about_desc1_md"></p>
<p my-i18n="login_about_desc2_md"></p>
<p my-i18n="login_about_desc3_md">

2
app/partials/mobile/login.html

@ -143,7 +143,7 @@ @@ -143,7 +143,7 @@
<div ng-switch="about.shown">
<div ng-switch-when="true" class="login_footer_about_wrap" my-scroll-to-on="$init">
<h3 my-i18n="login_about_title"></h3> <small><a ng-click="about.shown = false" my-i18n="modal_close"></a></small>
<h3><span my-i18n="login_about_title"></span><a ng-click="about.shown = false" class="login_footer_about_hide" my-i18n="login_about_hide"></a></h3>
<p my-i18n="login_about_desc1_md"></p>
<p my-i18n="login_about_desc2_md"></p>
<p my-i18n="login_about_desc3_md">

Loading…
Cancel
Save