|
@@ -306,4 +306,44 @@ $gray: #999;
|
|
|
background: $main-active-color;
|
|
|
text-align: center;
|
|
|
}
|
|
|
+}
|
|
|
+
|
|
|
+@mixin entry-newserve {
|
|
|
+ width: 86px;
|
|
|
+ height: 26px;
|
|
|
+ background: $main-active-color;
|
|
|
+ border-radius: 3px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ box-sizing: border-box;
|
|
|
+ position: absolute;
|
|
|
+ .text {
|
|
|
+ height: 26px;
|
|
|
+ line-height: 26px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #fff;
|
|
|
+ border-right: 1px solid rgba(255, 255, 255, 0.4);
|
|
|
+ padding: 0 8px;
|
|
|
+ &:hover {
|
|
|
+ border-radius: 3px 0 0 3px;
|
|
|
+ background: #c33333;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .icon {
|
|
|
+ width: 27px;
|
|
|
+ line-height: 26px;
|
|
|
+ text-align: center;
|
|
|
+ &:after {
|
|
|
+ content: '';
|
|
|
+ display: inline-block;
|
|
|
+ width: 13px;
|
|
|
+ height: 13px;
|
|
|
+ background: url(~@/assets/icon_serve.png) no-repeat
|
|
|
+ center/100%;
|
|
|
+ }
|
|
|
+ &:hover {
|
|
|
+ background: #c33333;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|