SHARE
TWEET

Untitled

a guest Feb 23rd, 2020 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2.  * TeamSpeak 3 Default Qt StyleSheet
  3.  * Special file for ChatLog, loaded in addition to global default.qss stylesheet
  4.  *
  5.  * Copyright (c) TeamSpeak Systems GmbH
  6.  *
  7.  * Supported HTML Subset:
  8.  *
  9.  *  TeamSpeak 3's text chat is able to display rich text, specified using a very limited subset of HTML 4 markup.
  10.  *  Please refer to this page for more information:
  11.  *
  12.  *  http://qt-project.org/doc/qt-4.8/richtext-html-subset.html#css-properties
  13.  *
  14.  * ===
  15.  * === Chat Message Syntax Example:
  16.  * ===
  17.  *
  18.  *  <p class="{PRIMARY_CLASS}">
  19.  *    <span class="Body">
  20.  *      <img src="...">
  21.  *      <span class="{SECONDARY_CLASS}">...</span>
  22.  *      <a class="{SECONDARY_CLASS}" href="...">...</a>:
  23.  *      <spanclass="{SECONDARY_CLASS}">
  24.  *        ...
  25.  *      </span>
  26.  *  </p>
  27.  *
  28.  * ===
  29.  * === Primary Classes:
  30.  * ===
  31.  *  
  32.  *  - TextMessage_Normal                   :: informational message
  33.  *  - TextMessage_Welcome                  :: server welcome message
  34.  *  - TextMessage_HostMsg                  :: server host message
  35.  *  - TextMessage_Message                  :: text messages (details below)
  36.  *  - TextMessage_Poke                     :: poke messages
  37.  *  - TextMessage_Connected                :: own client connected to server
  38.  *  - TextMessage_Disconnected             :: own client disconnected from server
  39.  *  - TextMessage_ClientConnected          :: other client connected to server
  40.  *  - TextMessage_ClientDisconnected       :: other client connected from server
  41.  *  - TextMessage_ClientJoined             :: other client joined channel
  42.  *  - TextMessage_ClientLeft               :: other client left channel
  43.  *  - TextMessage_ClientSwitched           :: own/other client switched channel
  44.  *  - TextMessage_ClientDropped            :: own/other client timed out
  45.  *  - TextMessage_ClientKicked             :: own/other client kicked
  46.  *  - TextMessage_ClientBanned             :: own/other client banned
  47.  *  - TextMessage_ChannelCreated           :: channel created
  48.  *  - TextMessage_ChannelDeleted           :: channel deleted
  49.  *  - TextMessage_ChannelMoved             :: channel parent changed
  50.  *  - TextMessage_ChannelEdited            :: channel edited
  51.  *  - TextMessage_ServerEdited             :: server edited
  52.  *  - TextMessage_ServerError              :: server error
  53.  *  - TextMessage_GroupAssigned            :: channel/server group assigned
  54.  *  - TextMessage_GroupRevoked             :: channel/server group revoked
  55.  *  - TextMessage_TalkPowerAssigned        :: talk power granted
  56.  *  - TextMessage_TalkPowerRevoked         :: talk power revoked
  57.  *  - TextMessage_TalkPowerRequested       :: talk power requested
  58.  *  - TextMessage_BeginHistory             :: talk power revoked
  59.  *  - TextMessage_EndHistory               :: talk power revoked
  60.  *
  61.  *  The TextMessage_Message class can be used in combination with additional classes to identify specific messages.
  62.  *  Currently, we provide the following:
  63.  *
  64.  *  - Incoming                             :: incoming text messages
  65.  *  - Outgoing                             :: outgoing text messages
  66.  *  - Friend                               :: text messages sent by friends
  67.  *  - Blocked                              :: text messages sent by blocked users
  68.  *  - Private                              :: text messages in a private chat tab
  69.  *  - Public                               :: text messages in a channel/server chat tab
  70.  *
  71.  *  The CSS definition for a private text message sent by a friend would look like this:
  72.  *
  73.  *  .TextMessage_Message.Friend.Private { ... }
  74.  *
  75.  * ===
  76.  * === Secondary Classes (used within messages):
  77.  * ===
  78.  *  
  79.  *  - TextMessage_UserLink                 :: user nickname
  80.  *  - TextMessage_ChannelLink              :: channel name
  81.  *  - TextMessage_ServerLink               :: server name
  82.  *  - TextMessage_OfflineLink              :: offline unread message(s) count
  83.  *  - TextMessage_Time                     :: message time
  84.  *  - TextMessage_Text                     :: message text
  85.  */
  86.  
  87. /* @group Global Elements */
  88.  
  89. p {
  90.   padding: 0px;
  91.   margin: 0px;
  92. }
  93.  
  94. /* @end */
  95.  
  96. /* @group Object Link Elements */
  97.  
  98. .TextMessage_UserLink {
  99.   color: #002F5D;
  100.   font-weight: bold;
  101.   text-decoration: none;
  102. }
  103.  
  104. .TextMessage_OfflineLink,
  105. .TextMessage_ChannelLink,
  106. .TextMessage_ServerLink {
  107.   color: #002F5D;
  108.   font-weight: bold;
  109.   text-decoration: none;
  110. }
  111.  
  112. /* @end */
  113.  
  114. /* @group Colored Message Elements */
  115.  
  116. .TextMessage_HostName {
  117.   color: #33597D;
  118.   font-weight: bold;
  119. }
  120.  
  121. .TextMessage_Welcome,
  122. .TextMessage_HostMessage,
  123. .TextMessage_Poke  {
  124.   color: #0AA537;
  125. }
  126.  
  127. .TextMessage_Normal,
  128. .TextMessage_Connected,
  129. .TextMessage_ClientConnected,
  130. .TextMessage_ClientJoined {
  131.   color: #33597D;
  132. }
  133.  
  134. .TextMessage_Disconnected,
  135. .TextMessage_ClientDisconnected,
  136. .TextMessage_ClientSwitched,
  137. .TextMessage_ClientLeft {
  138.   color: #33597D;
  139. }
  140.  
  141. .TextMessage_ClientDropped,
  142. .TextMessage_ClientKicked,
  143. .TextMessage_ClientBanned {
  144.   color: #C9070A;
  145. }
  146.  
  147. .TextMessage_ChannelCreated,
  148. .TextMessage_ChannelDeleted,
  149. .TextMessage_ChannelEdited,
  150. .TextMessage_ChannelMoved,
  151. .TextMessage_ServerEdited {
  152.   color: #33597D;
  153. }
  154.  
  155. .TextMessage_GroupAssigned,
  156. .TextMessage_GroupRevoked,
  157. .TextMessage_TalkPowerAssigned,
  158. .TextMessage_TalkPowerRevoked,
  159. .TextMessage_TalkPowerRequested {
  160.   color: #33597D;
  161. }
  162.  
  163. /* @end */
  164.  
  165. /* @group Time and History Elements */
  166.  
  167. .TextMessage_Time {
  168.     color: #33597D;
  169.     font-weight: normal;
  170. }
  171.  
  172. .TextMessage_BeginHistory,
  173. .TextMessage_EndHistory {
  174.   color: #707475;
  175.   font-weight: bold;
  176.   font-style: italic;
  177. }
  178.  
  179. /* @end */
  180.  
  181. /* @group Error Message Elements */
  182.  
  183. .TextMessage_ServerError {
  184.   color: #C9070A;
  185.   font-weight: bold;
  186. }
  187.  
  188. /* @end */
  189.  
  190. /* @group Infoframe Elements */
  191.  
  192. .InfoFrame_Title {
  193.   font-size: x-large;
  194. }
  195.  
  196. .InfoFrame_Title .TextMessage_UserLink,
  197. .InfoFrame_Title .TextMessage_ChannelLink,
  198. .InfoFrame_Title .TextMessage_ServerLink {
  199.   color: midnightblue;
  200.   font-weight: normal;
  201. }
  202.  
  203. .InfoFrame_Title .InfoFrame_CustomNick {
  204.   color: palette(link);
  205. }
  206.  
  207. .InfoFrame_Table {
  208.   border-collapse: collapse;
  209.   border-spacing: 0px;
  210. }
  211.  
  212. .InfoFrame_Table td {
  213.   padding: 0px 4px 0px 1px;
  214. }
  215.  
  216. .Highlight,
  217. .InfoFrame_Table td.Highlight {
  218.   color: palette(link);
  219. }
  220.  
  221. .Important,
  222. .InfoFrame_Table td.Important {
  223.   color: red;
  224. }
  225.  
  226. .Active,
  227. .InfoFrame_Table td.Active {
  228.   color: green;
  229. }
  230.  
  231. .Inactive,
  232. .InfoFrame_Table td.Inactive {
  233.   color: gray;
  234. }
  235.  
  236. .InfoFrame_Table td.Label {
  237.   font-weight: bold;
  238. }
  239.  
  240. .InfoFrame_Table td.Bottom {
  241.   vertical-align: bottom;
  242. }
  243.  
  244. .InfoFrame_Table td.List {
  245.   padding: 0px 1px 0px 8px;
  246. }
  247.  
  248. .InfoFrame_Table td.Space-Top {
  249.   padding: 10px 0px 0px 0px;
  250. }
  251.  
  252. .InfoFrame_Table td.Space-Bot {
  253.   padding: 0px 0px 10px 0px;
  254. }
  255.  
  256. .InfoFrame_Table.Space-Top {
  257.   margin: 10px 0px 0px 0px;
  258. }
  259.  
  260. .InfoFrame_Table.Space-Bot {
  261.   margin: 0px 0px 10px 0px;
  262. }
  263.  
  264. /* @end */
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top