显示流星模板中的所有背景

时间:2017-03-24 14:46:12

标签: javascript css meteor meteor-blaze meteor-accounts

我有以下问题,流星不会将背景图像或颜色视为下图。

In the image can see that only the color touches me to a certain point of there not for more margin padding etc that you put it does not pass from there.

I am following the bootstrap example of the following link

/*css file and html */ 

使用新的css设置进行编辑

.container_Admin {
  width: 100%;
  height: 100%;
  padding-top: 80px;
  padding-bottom: 40px;
  background-color: #eee;
}

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}

.form-signin .checkbox {
  font-weight: normal;
}

.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}

.form-signin .form-control:focus {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
<template name="adminlogin">
    {{> flashMessages}}
  <main class="container_Admin">
      <form class="form-signin" id="login-form">
        <h2 class="form-signin-heading">Bienvenido</h2>
        <input type="email"  id="inputEmail" class="form-control" name="email" placeholder="Email"><br/>
        <input type="password" id="inputPassword" class="form-control" name="password" placeholder="Contraseña"><br/>
        <button class="btn btn-lg btn-primary btn-block" type="submit">Iniciar Sesion</button>
      </form>
  </main>
</template>

0 个答案:

没有答案