Browse Source

remove $linktext

itizawa 6 years ago
parent
commit
a7a1b37723

+ 1 - 1
src/client/js/components/Drawio.jsx

@@ -55,7 +55,7 @@ class Drawio extends React.Component {
       <div className="editable-with-drawio position-relative">
         { !this.isPreview
           && (
-          <button type="button" className="drawio-iframe-trigger position-absolute btn" onClick={this.onEdit}>
+          <button type="button" className="drawio-iframe-trigger position-absolute btn btn-outline-secondary" onClick={this.onEdit}>
             <i className="icon-note mr-1"></i>{this.props.t('Edit')}
           </button>
           )

+ 1 - 1
src/client/styles/agile-admin/inverse/variables.scss

@@ -38,7 +38,7 @@ $border: #f0f0f0 !default;
 // $bodycolor: #fff !default;
 $headingtext: #2b2b2b !default;
 $bodytext: #686868 !default;
-$linktext: $inverse !default;
+// $linktext: $inverse !default;
 // $linktext-hover: lighten($inverse, 20%) !default;
 // $sidebar-text: #54667a !default;
 // $themecolor: #ff6849 !default;

+ 0 - 9
src/client/styles/scss/_page.scss

@@ -136,15 +136,6 @@
     z-index: 14;
     font-size: 12px;
     line-height: 1;
-    color: $linktext;
-    background-color: transparent;
-    border: 1px solid $linktext;
-    opacity: 1;
-
-    &:hover {
-      color: $white;
-      background-color: $linktext;
-    }
   }
 }