Yoginth 7 лет назад
Родитель
Сommit
49d108f2dc

Разница между файлами не показана из-за своего большого размера
+ 1 - 1
public/css/gitote.min.css


+ 5 - 5
public/less/_base.less

@@ -1,6 +1,6 @@
 body:not(.full-width) {
 	font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol" !important;
-	background-color: @white;
+	background-color: @white-100;
 	overflow-y: scroll;
 	overflow-x: auto;
 	min-width: 1020px;
@@ -112,7 +112,7 @@ pre, code {
 
 	.head.link.item {
 		padding-right: 0 !important;
-		color: @white;
+		color: @white-100;
 
 		&:hover {
 			color: #dddddd;
@@ -134,7 +134,7 @@ pre, code {
 		border: none;
 
 		&:focus {
-			background-color: @white !important;
+			background-color: @white-100 !important;
 		}
 	}
 
@@ -552,7 +552,7 @@ footer {
 	&.bold {
 		font-weight: bold !important;
 		font-size: 13px;
-		color: @white !important;
+		color: @white-100 !important;
 	
 		&:hover {
 			color: #dddddd !important;
@@ -580,7 +580,7 @@ footer {
 
 
 .infobar {
-	color: @white;
+	color: @white-100;
 	user-select: none;
 	
 	&.align {

+ 2 - 2
public/less/_home.less

@@ -59,7 +59,7 @@
 		}
 		
 		&.register {
-			background: #00cf6a !important;
+			background: #21ba45 !important;
 			border-radius: 2em !important;
 			height: 2.5em;
 			text-transform: uppercase;
@@ -93,7 +93,7 @@
 		background: @primary !important;
 	
 		h1 {
-			color: @white;
+			color: @white-100;
 			font-weight: 400;
 			padding-top: 1em;
 			padding-bottom: 1em;

+ 2 - 2
public/less/_markdown.less

@@ -258,7 +258,7 @@
 	}
 
 	table tr {
-		background-color:@white;
+		background-color:@white-100;
 		border-top:1px solid #ccc;
 	}
 
@@ -475,7 +475,7 @@
 	.csv-data .blob-num {
 		padding:@10 8px 9px;
 		text-align:right;
-		background:@white;
+		background:@white-100;
 		border:0;
 	}
 

+ 9 - 9
public/less/_pages.less

@@ -1,6 +1,6 @@
 .pages {
     &.bg {
-        color: @white;
+        color: @white-100;
         background-color: #252a30;
     }
 
@@ -17,7 +17,7 @@
         height: 150px;
         align-items: center;
         background-color: #2f363d;
-        color: @white;
+        color: @white-100;
         display: flex;
         flex-direction: column;
         font-weight: 600;
@@ -46,20 +46,20 @@
     .code {
         background: #e7445a;
         padding: 4px;
-        color: @white;
+        color: @white-100;
         border-radius: 3px;
     }
     .heading {
-        color: @white;
+        color: @white-100;
         font-size: @20 !important;
     }
     .about {
         &.heading {
-            color: @white;
+            color: @white-100;
             font-size: 30px !important;
         }
         &.text {
-            color: @white;
+            color: @white-100;
             font-size: 17px !important;
 
             &.top {
@@ -87,7 +87,7 @@
 
     a {
         border-bottom: 3px solid #e6375a;
-        color: @white;
+        color: @white-100;
         font-weight: 600;
         position: relative;
         transition: background-color 120ms;
@@ -109,11 +109,11 @@
     padding-right: 5%;
 
     label {
-        color: @white !important;
+        color: @white-100 !important;
     }
 
     .color {
-        color: @white !important;
+        color: @white-100 !important;
         background: @primary-light !important;
     }
 

+ 7 - 7
public/less/_repository.less

@@ -575,7 +575,7 @@
 
 				#avatar-arrow;
 				&:after {
-					border-right-color: @white;
+					border-right-color: @white-100;
 				}
 
 				.quick-pull-choice {
@@ -638,7 +638,7 @@
 				margin-left: 4em;
 				#avatar-arrow;
 				&:after {
-					border-right-color: @white;
+					border-right-color: @white-100;
 				}
 
 				.markdown {
@@ -816,7 +816,7 @@
 							border: solid 1px #eee;
 							border-radius: 3px;
 							max-width: 150px;
-							background-color: @white;
+							background-color: @white-100;
 
 							&:before {
 								content:' ';
@@ -880,7 +880,7 @@
 						margin-top: @5;
 						margin-left: -34.5px;
 						font-size: @20;
-						background: @white;
+						background: @white-100;
 						color: #bd2c00;
 					}
 
@@ -940,7 +940,7 @@
 			.form {
 				#avatar-arrow;
 				&:after {
-					border-right-color: @white;
+					border-right-color: @white-100;
 				}
 			}
 
@@ -1071,7 +1071,7 @@
 			.content {
 				#avatar-arrow;
 				&:after {
-					border-right-color: @white;
+					border-right-color: @white-100;
 				}
 			}
 		}
@@ -2008,7 +2008,7 @@
 	color:#2185d0;
 
 	&:hover {
-		color: @white;
+		color: @white-100;
 	}
 }
 

+ 1 - 1
public/less/_user.less

@@ -208,7 +208,7 @@
 	padding: 3px 4px;
     font-size: 12px;
     font-family: sans-serif;
-    color: @white;
+    color: @white-100;
     text-transform: uppercase;
     border-radius: 2px;
     box-shadow: inset 0 -1px 0 rgba(27,31,35,0.12);

+ 7 - 1
public/less/_variable.less

@@ -12,5 +12,11 @@
 
 @primary: #24292E;
 @primary-light: #343b42;
-@white: #FFFFFF;
+
+@white-100: #FFFFFF;
+@white-200: #FFFFFF;
+@white-300: #FFFFFF;
+@white-400: #FFFFFF;
+@white-500: #FFFFFF;
+
 @black: #00000000;

+ 0 - 44
templates/base/verification.tmpl

@@ -7,47 +7,3 @@
 
   gtag('config', 'UA-107259345-2');
 </script>
-
-<script>
-  "use strict";
-
-  !function() {
-    var t = window.driftt = window.drift = window.driftt || [];
-    if (!t.init) {
-      if (t.invoked) return void (window.console && console.error && console.error("Drift snippet included twice."));
-      t.invoked = !0, t.methods = [ "identify", "config", "track", "reset", "debug", "show", "ping", "page", "hide", "off", "on" ], 
-      t.factory = function(e) {
-        return function() {
-          var n = Array.prototype.slice.call(arguments);
-          return n.unshift(e), t.push(n), t;
-        };
-      }, t.methods.forEach(function(e) {
-        t[e] = t.factory(e);
-      }), t.load = function(t) {
-        var e = 3e5, n = Math.ceil(new Date() / e) * e, o = document.createElement("script");
-        o.type = "text/javascript", o.async = !0, o.crossorigin = "anonymous", o.src = "https://js.driftt.com/include/" + n + "/" + t + ".js";
-        var i = document.getElementsByTagName("script")[0];
-        i.parentNode.insertBefore(o, i);
-      };
-    }
-  }();
-  drift.SNIPPET_VERSION = '0.3.1';
-  drift.load('7xn6zh55rcbx');
-  {{if .LoggedUser}}
-  drift.identify('{{.LoggedUser.Name}}', {
-    nickname: '{{.LoggedUser.FullName}}',
-    email: '{{.LoggedUser.Email}}'
-  });
-  {{end}}
-  drift.config({
-    {{if .LoggedUser}}
-    messages: {
-      welcomeMessage: 'Hey {{.LoggedUser.FullName}}!\nHelp, feedback, or bugs? Talk to us 🌞',
-    },
-    backgroundColor: {{.Owner.ThemeColor}},
-    {{end}}
-    enableWelcomeMessage: false,
-    disableNewConversations: false,
-  })
-  drift.reset();
-</script>