diff options
Diffstat (limited to 'Swift')
6 files changed, 34 insertions, 59 deletions
diff --git a/Swift/resources/themes/Default/Incoming/Content.html b/Swift/resources/themes/Default/Incoming/Content.html index b6e9ec5..15bc088 100644 --- a/Swift/resources/themes/Default/Incoming/Content.html +++ b/Swift/resources/themes/Default/Incoming/Content.html @@ -1,19 +1,19 @@ <!--OTHERS MESSAGE--> <div class="message" id="%id%"> <div class="user"> - <div class="time"> - <p>%time%</p> - </div> <div class="otheravatar"> <img src="%userIconPath%"/> </div> <div class="otherright"> <span class="swift_ack"></span> <span class="swift_receipt"></span> </div> </div> <div class="text"> <p class="otherusername username">%wrapped_sender%</p> + <div class="time"> + %time% + </div> <div class="message-content">%message%</div> </div> </div> diff --git a/Swift/resources/themes/Default/Incoming/NextContent.html b/Swift/resources/themes/Default/Incoming/NextContent.html index dedc56f..36fdaa3 100644 --- a/Swift/resources/themes/Default/Incoming/NextContent.html +++ b/Swift/resources/themes/Default/Incoming/NextContent.html @@ -1,18 +1,18 @@ <!--OTHERS MESSAGE ADDITIONAL--> <div class="message additional" id="%id%"> <div class="user"> - <div class="time-additional"> - <p>%time%</p> - </div> <div class="systemavatar"> <img/> </div> <div class="systemright"> <span class="swift_ack"></span> <span class="swift_receipt"></span> </div> </div> <div class="text"> + <div class="time"> + %time% + </div> <div class="message-content">%message%</div> </div> </div> diff --git a/Swift/resources/themes/Default/Outgoing/Content.html b/Swift/resources/themes/Default/Outgoing/Content.html index 7aada5d..e73e785 100644 --- a/Swift/resources/themes/Default/Outgoing/Content.html +++ b/Swift/resources/themes/Default/Outgoing/Content.html @@ -1,19 +1,19 @@ <!--MY MESSAGE--> <div class="message" id="%id%"> <div class="user"> - <div class="time"> - <p>%time%</p> - </div> <div class="myavatar"> <img src="%userIconPath%"/> </div> <div class="myright"> <span class="swift_ack"></span> <span class="swift_receipt"></span> </div> </div> <div class="text"> <p class="myusername username">%wrapped_sender%</p> + <div class="time"> + %time% + </div> <div class="message-content">%message%</div> </div> </div> diff --git a/Swift/resources/themes/Default/Outgoing/NextContent.html b/Swift/resources/themes/Default/Outgoing/NextContent.html index 4fc703f..f96f65a 100644 --- a/Swift/resources/themes/Default/Outgoing/NextContent.html +++ b/Swift/resources/themes/Default/Outgoing/NextContent.html @@ -1,19 +1,19 @@ <!--My MESSAGE ADDITIONAL--> <div class="message additional" id="%id%"> <div class="user"> - <div class="time-additional"> - <p>%time%</p> - </div> <div class="systemavatar"> <img/> </div> <div class="systemright"> <span class="swift_ack"></span> <span class="swift_receipt"></span> </div> </div> <div class="text"> + <div class="time"> + %time% + </div> <div class="message-content">%message%</div> </div> </div> diff --git a/Swift/resources/themes/Default/Status.html b/Swift/resources/themes/Default/Status.html index 55dd082..0a0aaed 100644 --- a/Swift/resources/themes/Default/Status.html +++ b/Swift/resources/themes/Default/Status.html @@ -1,16 +1,15 @@ <!--SYSTEM MESSAGE--> <div class="message" id="%id%"> <div class="user"> - <div class="time-additional"> - <p>%time%</p> - <img/> - </div> <div class="systemavatar"> <img/> </div> <div class="systemright"></div> </div> <div class="text"> + <div class="time"> + %time% + </div> <p class="system-message">%message%</p> </div> </div> diff --git a/Swift/resources/themes/Default/main.css b/Swift/resources/themes/Default/main.css index c5cc977..bd69596 100644 --- a/Swift/resources/themes/Default/main.css +++ b/Swift/resources/themes/Default/main.css @@ -52,193 +52,169 @@ body { height: 30px; display: table-row; border: inherit; /*width: 100%;*/ margin-top: -6px; margin-bottom: -15px; margin-left: 190px; margin-right: 20px; text-align: right; } .unread p { margin-top: 0px; font-size: 75%; text-transform: uppercase; color: #ffd180; border-top: solid 1px #ffd180; margin-left: 20px; margin-right: 20px; } /* Left column content */ :not(.additional) > .user { height: 2.5em; } .user { display: table-cell; border: inherit; - text-align: center; margin-top: 2px; - width: 175px; - max-width: 175px; - min-width: 175px; - background-color: #595959; -} - -.time { - height: 2.5em; - width: 103px; - float: left; text-align: right; + width: 4.6em; + max-width: 4.6em; + min-width: 4.6em; + background-color: #595959; } -.time p { - margin-top: 3px; - margin-bottom: 1px; - margin-right: 10px; - color: #f9f9f9; +div.time { + color: #ffffff; font-size: 80%; font-weight: 300; -} -.time-additional { - width: 103px; - float: left; + float: right; + background-color: #595959; + border-top-left-radius: 3ex 3ex; + border-bottom-left-radius: 3ex 3ex; + /* min-width: 50px; */ text-align: right; -} - -.time-additional p { - margin-top: 0px; - margin-bottom: 1px; - margin-right: 10px; - color: #f9f9f9; - font-size: 80%; - font-weight: 300; -} - -.time img { - margin-right: 10px; - height: 10px; -} - -.time-additional img { - margin-right: 10px; - height: 10px; + padding-left: 0.5em; + padding-right: 0.5em; + padding-top: 0.05ex; + padding-bottom: 0.05ex; + margin-left: 0.5em; } .myavatar { height: 2.5em; width: 2.5em; display: inline-block; margin: 0 auto; background-color: #92c47e; border-top-left-radius: 50%; border-bottom-left-radius: 50%; } .otheravatar { height: 2.5em; width: 2.5em; display: inline-block; margin: 0 auto; background-color: #6eb6ce; border-top-left-radius: 50%; border-bottom-left-radius: 50%; } .myavatar img { border-radius: 50%; height: 2.5em; position: relative; left: -1px; } .otheravatar img { border-radius: 50%; height: 2.5em; position: relative; left: -1px; } .myright { float: right; - width: 1.65em; + width: 1.05em; /* myuser width/2 - ( other avatar width/2) = 1.05em*/ height: 2.5em; background: #92c47e; } .otherright { float: right; - width: 1.65em; + width: 1.05em; /* myuser width/2 - ( other avatar width/2) = 1.05em*/ height: 2.5em; background: #6eb6ce; } :not(.additional) > div > .systemavatar { height: 2.5em; } .systemavatar { width: 2.5em; display: inline-block; margin: 0 auto; background-color: #595959; border-top-left-radius: 50%; border-bottom-left-radius: 50%; } :not(.additional) > div > .systemright { height: 2.5em; } .systemright { float: right; - width: 1.65em; + width: 1.05em; /* myuser width/2 - ( other avatar width/2) = 1.05em*/ background: #595959; } /* Right column content */ .message:not(.additional) { border-top: 1.2em solid transparent; /* Workaround for table rows not having a padding. */ } .message:not(.additional) .text { min-height: 2.5em; } .text { display: table-cell; border: inherit; - margin-left: 175px; color: #595959; vertical-align: top; /* Break long URLs at any point. */ word-break: break-word; word-wrap: break-word; hyphens: auto; } .username { margin-left: 20px; font-weight: 700; margin-top: 0px; margin-bottom: 0.2em; } .myusername { color: #92c47e; } .otherusername { color: #6eb6ce; } .message-content { margin-left: 20px; margin-right: 20px; } .system-message { |