css WP-插件,css.css

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css WP-插件,css.css相关的知识,希望对你有一定的参考价值。

/**
 * WP Plugin Style
 */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  padding: 1.5rem;
}

.field {
  margin-bottom: 1.5rem;
}

.field label {
  color: #333333;
  display: block;
  font-family: sans-serif;
  font-size: .875rem;
  font-weight: 700;
  line-height: 20px;
  margin: 0 0 8px;
}

.field input {
  -webkit-appearance: none;
  background: #FFFFFF;
  border-radius: .25rem;
  border: 1px solid rgba(0, 0, 0, .15);
  box-shadow: 0 0 0 0 transparent inset;
  color: #333333;
  font-size: 1rem;
  height: 2.5rem;
  line-height: normal;
  margin: 0;
  outline: 0;
  padding: .5rem .75rem;
  tap-highlight-color: rgba(255, 255, 255, 0);
  transition: color .1s ease, border-color .1s ease;
  vertical-align: top;
  width: 100%;
}

textarea {
  -webkit-appearance: none;
  background: #FFF;
  border-radius: .25rem;
  border: 1px solid rgba(0, 0, 0, .15);
  box-shadow: 0 0 0 0 transparent inset;
  color: #333333;
  font-size: .9rem;
  line-height: normal;
  margin: 0;
  min-height: 150px;
  outline: 0;
  padding: .5rem .75rem;
  tap-highlight-color: rgba(255, 255, 255, 0);
  transition: color .1s ease, border-color .1s ease;
  vertical-align: top;
  width: 100%;
}

textarea,
.field input:focus {
  background: #FFFFFF;
  border-color: #2BB24C;
  box-shadow: 0 0 0 0 rgba(34, 36, 38, .35) inset;
}

button,
.button {
  border-radius: 4px;
  border: 1px solid transparent;
  border: none;
  box-shadow: none;
  box-sizing: border-box;
  cursor: pointer;
  font-family: sans-serif;
  font-size: 14px;
  line-height: 1rem;
  margin-bottom: 0;
  margin-right: .5rem;
  margin-top: 0;
  min-width: 50px;
  outline: 0;
  padding-bottom: 11px;
  padding-left: 17px;
  padding-right: 17px;
  padding-top: 11px;
  text-align: center;
  text-decoration: none;
  vertical-align: top;
}

button.primary,
.button.primary {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  background-color: #2BB24C;
  border: 1px solid #2BB24C;
  color: white;
  font-weight: 700;
}

.button.secondary,
button.secondary {
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, .15);
  color: #333333;
  font-weight: normal;
}

.footer {
  background: #fff;
  border-top: solid 1px rgba(0, 0, 0, .05);
  bottom: 0;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 20px;
  position: fixed;
  right: 0;
}

.group {
  display: flex;
  justify-content: space-between;
}

.image-preview {
  align-self: flex-end;
  border: solid 1px rgba(0, 0, 0, .05);
  height: 160px;
  margin: 10px;
  position: relative;
}

.image-preview img {
  display: block;
  height: 100%;
  width: auto;
}

.close,
.delete {
  -webkit-mask-image: url('assets/icon-close.svg');
  background-color: rgba(0, 0, 0, .5);
  height: 16px;
  mask-image: url('assets/icon-close.svg');
  width: 16px;
}

.preview-delete {
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  height: 20px;
  padding: 2px;
  position: absolute;
  right: -8px;
  top: -8px;
  width: 20px;
}

.preview-delete:hover .delete {
  background-color: #F55E5E;
}

.empty-state {
  font-family: sans-serif;
  text-align: center;
  width: 100%;
}

以上是关于css WP-插件,css.css的主要内容,如果未能解决你的问题,请参考以下文章

css CSS - Layout.css动画插件

css CSS选择器用于自定义Envira Gallery标记插件标记过滤器链接。

HTML+CSS+JavaScript

Sublime 常用插件简介

php分页插件

如果输入文件丢失,有没有办法让Grunt插件失败?