瀏覽代碼

Add default avatar for users.

JC Brand 10 年之前
父節點
當前提交
e71cad8583
共有 5 個文件被更改,包括 8 次插入11 次删除
  1. 2 1
      converse.js
  2. 1 2
      css/converse.css
  3. 0 3
      css/theme.css
  4. 4 3
      fonticons/demo.html
  5. 1 2
      less/converse.less

File diff suppressed because it is too large
+ 2 - 1
converse.js


+ 1 - 2
css/converse.css

@@ -773,11 +773,10 @@
 }
 #conversejs .chat-head .avatar {
   float: left;
-  margin-right: 6px;
 }
 #conversejs .restore-chat,
 #conversejs .chat-title {
-  padding: 1px 0;
+  padding: 1px 0 1px 5px;
   color: white;
   font-weight: bold;
   line-height: 15px;

+ 0 - 3
css/theme.css

@@ -170,9 +170,6 @@ a:focus {
   color: #ffffff;
   background: rgba(255, 255, 255, 0.1);
 }
-.btn-text {
-  font-family: "Lora", "Helvetica Neue", Helvetica, Arial, sans-serif;
-}
 .page-scroll .btn-circle i.animated {
   -webkit-transition-property: -webkit-transform;
   -webkit-transition-duration: 1s;

+ 4 - 3
fonticons/demo.html

@@ -6,8 +6,9 @@
 	<meta name="description" content="An Icon Font Generated By IcoMoon.io">
 	<meta name="viewport" content="width=device-width">
 	<link rel="stylesheet" href="demo-files/demo.css">
-	<link rel="stylesheet" href="style.css"></head>
-<body>
+	<link rel="stylesheet" href="style.css">
+</head>
+<body id="conversejs">
 	<div class="bgc1 clearfix">
 		<h1 class="mhmm mvm"><span class="fgc1">Font Name:</span> icomoon <small class="fgc1">(Glyphs:&nbsp;91)</small></h1>
 	</div>
@@ -1219,4 +1220,4 @@
 
 	<script src="demo-files/demo.js"></script>
 </body>
-</html>
+</html>

+ 1 - 2
less/converse.less

@@ -855,12 +855,11 @@
 
 #conversejs .chat-head .avatar {
     float: left;
-    margin-right: 6px;
 }
 
 #conversejs .restore-chat,
 #conversejs .chat-title {
-    padding: 1px 0;
+    padding: 1px 0 1px 5px;
     color: white;
     font-weight: bold;
     line-height: 15px;

Some files were not shown because too many files changed in this diff