James Allen 12 роки тому
батько
коміт
97065e8547

+ 2 - 1
services/web/public/stylesheets/app/editor/binary-file.less

@@ -9,7 +9,8 @@
 		margin: auto;
 		margin-bottom: @line-height-computed / 2;
 		border: 1px solid @gray;
-		.box-shadow(0 2px 3px @gray;)
+		.box-shadow(0 2px 3px @gray;);
+		background-color: white;
 	}
 	p.no-preview {
 		font-size: 24px;

+ 19 - 11
services/web/public/stylesheets/app/editor/pdf.less

@@ -73,18 +73,26 @@
 	}
 }
 
-.log-btn {
-	position: relative;
-	.label {
-		position: absolute;
-		top: 0;
-		right: 0;
-		padding: .15em .6em .2em;
-		font-size: 60%;
-	}
-	&.active, &:active {
+.toolbar {
+	.log-btn {
+		position: relative;
 		.label {
-			display: none;
+			position: absolute;
+			top: 0;
+			right: 0;
+			padding: .15em .6em .2em;
+			font-size: 60%;
+		}
+		&.active, &:active {
+			.label {
+				display: none;
+			}
+			color: white;
+			background-color: @link-color;
+			.box-shadow(inset 0 3px 5px rgba(0, 0, 0, 0.225));
+			&:hover {
+				color: white;
+			}
 		}
 	}
 }

+ 0 - 5
services/web/public/stylesheets/app/editor/toolbar.less

@@ -13,11 +13,6 @@
 			color: @gray-dark;
 			text-decoration: none;
 		}
-		&.active, &:active {
-			color: white;
-			background-color: @link-color;
-			.box-shadow(inset 0 3px 5px rgba(0, 0, 0, 0.225));
-		}
 	}
 
 	.btn-full-height {