How to use the @lugia/lugia-web.consts.Button function in @lugia/lugia-web

To help you get started, we’ve selected a few @lugia/lugia-web examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lugia-ysstech / lugia-admin / portal / components / personal / article.js View on Github external
font-size: 14px;
  line-height: 22px;
`;

const Link = styled.a`
 margin: 0 6px;
 color: #4d63ff;
 opacity: 0.8;
`;

const Container = styled.div`
  width: calc( 100% - 180px );
`;

const theme = {
  [Widget.Button]: {
    Container: {
      normal: {
        height: 22,
        margin:{
          right: 10
        },
        background:{
          color:'#FFFFFF'
        },
        border:{
          top: {
            width: 1,
            color: '#ccc',
            style: 'solid'
          },
          bottom: {
github lugia-ysstech / lugia-admin / portal / pages / detail / advanced.js View on Github external
border-radius: 8px;
   margin: 20px 0 0;
   overflow: hidden;
`;


const InfoTitle = styled.div`
   padding: 12px 20px ;
   font-size: 14px;
   background: #fafafa;
`;



const theme = {
  [Widget.Button]: {
    Container: {
      normal: {
        height: 30,
        margin:{
          left: 10
        }
      },
    },
  },
  [Widget.RadioGroup]: {
    CheckButton: {
      CheckButtonUnChecked: {
        normal: {
          height: 30,
          padding: {
            top: 0,
github lugia-ysstech / lugia-admin / portal / pages / personal / center.js View on Github external
},
  },
  [Widget.Tabs]: {
    ContentBlock: {
      normal:{
        width: '100%',
        height: 1200
      }
    },
    TitleContainer:{
      normal:{
        width: '100%',
      }
    }
  },
  [Widget.Button]: {
    Container: {
      normal: {
        height: 22,
        margin:{
          right: 10,
          bottom: 10
        }
      },
    },
  },
  [Widget.Label]: {
    Container: {
      normal: {
        height: 22,
        width: '100%',
        textAlign:'center',
github lugia-ysstech / lugia-admin / portal / login / index.js View on Github external
Input: {
          normal: {
            width: 340,
            height: 40,
            borderRadius: 20,
            padding: {
              left: 30,
              right: 0,
            }
          }
        },
        InputSuffix: {normal: { fontSize: 36}},


      },
      [Widget.Button]: {
        Container: {
          normal: {
            margin: {
              top: 18,
              bottom: 24,
              left: 0,
              right: 0
            },
            width: 340,
          }
        },


      },
    };
    const iconTheme = {
github lugia-ysstech / lugia-admin / portal / pages / list / basic-list.js View on Github external
normal: {
              color: '#666',
              fontSize: 16,
              margin: {
                top: 6,
                left: 4,
                right: 3,
              },
              last: {
                color: '#4d63ff',
              },
            },
          },
        },
      },
      [Widget.Button]: {
        Container: {
          normal:{
            border:{
              width: 1,
              style: 'solid',
              color: '#4D63FF'
            }
          }
        },
        ButtonText: {
          normal: {
            font: {size: 14, weight: 500},
            color: '#4D63FF'
          }
        }
      },
github lugia-ysstech / lugia-admin / portal / register / register.js View on Github external
getElement = () => {
    const {isRegister} = this.props;
    const theme = {
      [Widget.Input]: {
        width: 340,
        height:40,
        borderRadius:20,
        padding:{
          left:16,
          right:0,
        }
      },
      [Widget.Button]: {
        margin:{
          top:18,
          bottom:24,
          left:0,
          right:0
        },
        width: 340,
      },
    };
    let children ;
    if(isRegister){
      const {passWordInfo:{passWord, repeatPassword} }= this.props;
      children = (
github lugia-ysstech / lugia-admin / portal / pages / list / table-list.js View on Github external
},
          },
        },
      },
      [Widget.Input]: {
        Container: {
          normal: {
            width: 230,
            height: 32,
            margin: {
              right: 10
            }
          }
        }
      },
      [Widget.Button]: {
        Container: {
          normal: {
            width: 80,
            margin:{
              right: 10
            }
          }
        }
      },
    };
    return (
      <content>

        {/*页头*/}
        
          </content>