From 75dea2cc14befd1dd867e2626fd16e96862bba32 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Thu, 10 Apr 2014 18:24:03 -0300 Subject: [PATCH] merge tox and bitmessage support from calm --- css/profile.css | 74 ++++++++++++++++++++++++++++++++++++++++-- home.html | 15 ++++++--- img/bm.png | Bin 0 -> 4928 bytes img/tox.png | Bin 0 -> 3093 bytes js/twister_actions.js | 2 ++ js/twister_io.js | 24 ++++++++++++++ js/twister_user.js | 10 ++++++ profile-edit.html | 2 ++ 8 files changed, 120 insertions(+), 7 deletions(-) create mode 100644 img/bm.png create mode 100644 img/tox.png diff --git a/css/profile.css b/css/profile.css index 9559745..e337f4a 100644 --- a/css/profile.css +++ b/css/profile.css @@ -11,6 +11,7 @@ .profile-card-main { width: 540px; + padding: 10px; text-align: center; position: relative; transition: all .2s linear; @@ -91,6 +92,8 @@ .forEdition .profile-card-photo { border: solid 2px #fff; + border-radius: 0%; + float:none; position: relative; cursor: pointer; transition: all .2s linear; @@ -145,6 +148,12 @@ { display: inline-block; } +.forEdition .profile-card-main .input-tox, +.forEdition .profile-card-main .input-bitmessage +{ + width: 90%; + margin-top: 10px; +} .profile-edition-buttons { padding: 10px; @@ -170,11 +179,72 @@ height: 90%; } .profile-modal .profile-bio, -.profile-modal .profile-contact { min-height: 27px; overflow-y: visible; } +#msngrswr { + display: none; + margin-top: 20px; + height: 30px; +} +#toxbtnwr, #bmbtnwr { + float: left; + display: none; +} +.bitmessage-ctc, .tox-ctc { + height: 30px; + width: 30px; + display: inline-block; + margin-right: 5px; + border: 1px solid #d6d8dc; + background: #e3e5ea url(img/clipboard.png) center no-repeat; + opacity: .8; + -webkit-border-radius: 0 5px 5px 0; + -moz-border-radius: 0 5px 5px 0; + border-radius: 0 5px 5px 0; + -webkit-transition: all 20ms; + -moz-transition: all 20ms; + -ms-transition: all 20ms; + -o-transition: all 20ms; + transition: all 20ms; +} +.bitmessage-ctc:hover, .tox-ctc:hover { + background-color: #f0f2f8; + opacity: 1; + cursor: pointer; +} +.bitmessage-ctc:active, .tox-ctc:active { + background-color: #edfced; +} +.profile-modal .profile-tox, .profile-modal .profile-bitmessage { + display: inline-block; + width: 70px; + height: 30px; + border: 1px solid #c0c2c6; + opacity: .8; + -webkit-border-radius: 5px 0 0 5px; + -moz-border-radius: 5px 0 0 5px; + border-radius: 5px 0 0 5px; + -webkit-transition: all 200ms; + -moz-transition: all 200ms; + -ms-transition: all 200ms; + -o-transition: all 200ms; + transition: all 200ms; +} +.profile-modal .profile-tox:hover, .profile-modal .profile-bitmessage:hover { + opacity: 1; + background-color: #f0f2f8; +} +.profile-modal .profile-tox:active, .profile-modal .profile-bitmessage:active { + background-color: #edfced; +} +.profile-modal .profile-tox { + background: #e3e5ea url(../img/tox.png) center no-repeat; +} +.profile-modal .profile-bitmessage { + background: #e3e5ea url(../img/bm.png) center no-repeat; +} .profile-modal .profile-data { display: inline-block; @@ -241,4 +311,4 @@ h2.profile-screen-name { .profile-modal .modal-buttons { display: none; -} \ No newline at end of file +} diff --git a/home.html b/home.html index af21dc7..489e5d5 100644 --- a/home.html +++ b/home.html @@ -374,11 +374,16 @@

@

-
- - -
-
+ + +
+
+
+ +
+
+ +