gijgo
Version:
Gijgo is a set of free open source javascript controls distributed under MIT License. All widgets are high performance, built on top of the jQuery JavaScript Library with built-in support for Bootstrap, Material Design and Font Awesome. They are designed
209 lines (174 loc) • 3.94 kB
CSS
.gj-button {
background-color: #f5f5f5;
border: 1px solid #ddd;
color: #000;
border-radius: 3px;
padding: 6px 10px;
cursor: pointer;
}
.gj-unselectable {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.gj-margin-left-5 {
margin-left: 5px;
}
.gj-margin-left-10 {
margin-left: 10px;
}
.gj-width-full {
width: 100%;
}
.gj-cursor-pointer {
cursor: pointer;
}
.gj-text-align-center {
text-align: center;
}
.gj-font-size-16 {
font-size: 16px;
}
.gj-hidden {
display: none;
}
.gj-mdl-icon-plus::after {
content: "\E145";
}
.gj-mdl-icon-minus::after {
content: "\E15B";
}
/** Material Design */
.gj-button-md {
background: 0 0;
border: none;
border-radius: 2px;
color: #000;
position: relative;
height: 36px;
margin: 0;
min-width: 64px;
padding: 0 16px;
display: inline-block;
font-family: "Roboto","Helvetica","Arial",sans-serif;
font-size: 1rem;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0;
overflow: hidden;
will-change: box-shadow;
transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1),color .2s cubic-bezier(.4,0,.2,1);
outline: none;
cursor: pointer;
text-decoration: none;
text-align: center;
line-height: 36px;
vertical-align: middle;
overflow: hidden;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.gj-button-md:hover {
background-color: rgba(158,158,158,.2);
}
.gj-button-md:disabled {
color: rgba(0,0,0,.26);
}
.gj-button-md .material-icons {
vertical-align: middle;
font-size: 1.3rem;
margin-right: 4px;
}
.gj-button-md.gj-button-md-icon {
width: 24px;
height: 24px;
min-width: 24px;
padding: 0px;
}
.gj-button-md.gj-button-md-icon .material-icons {
vertical-align: baseline;
margin-right: 0px;
}
.gj-button-md.active {
background-color: rgba(158,158,158,.4);
}
.gj-button-md-group {
position: relative;
display: inline-block;
vertical-align: middle;
}
.gj-textbox-md {
border: none;
border-bottom: 1px solid rgba(0,0,0,.12);
display: block;
font-size: 16px;
font-family: "Helvetica","Arial",sans-serif;
margin: 0;
padding: 4px 0;
width: 100%;
background: 0 0;
text-align: left;
color: inherit;
}
.gj-textbox-md:focus {
border-bottom: 2px solid rgba(158,158,158,.4);
outline: none;
}
.gj-md-spacer-24 {
min-width: 24px;
width: 24px;
display: inline-block;
}
.gj-md-spacer-32 {
min-width: 32px;
width: 32px;
display: inline-block;
}
/* Material Design */
.gj-editor-md {
padding: 7px;
font-family: "Roboto","Helvetica","Arial",sans-serif;
font-size: 14px;
font-weight: 500;
letter-spacing: 0;
border: 1px solid rgba(158,158,158,.2);
}
.gj-editor-md [data-role="toolbar"] {
margin-bottom: 7px;
}
.gj-editor-md div[data-role="body"] {
border: 1px solid rgba(158,158,158,.2);
}
.gj-editor-md p {
margin: 0;
padding: 0;
}
.gj-editor-md blockquote {
font-size: 14px;
}
/* Bootstrap */
.gj-editor-bootstrap {
padding: 7px;
border: 1px solid #eceeef;
}
.gj-editor-bootstrap [data-role="toolbar"] {
margin-bottom: 7px;
}
.gj-editor-bootstrap [data-role="toolbar"] .btn-group {
margin-right: 10px;
}
.gj-editor-bootstrap div[data-role="body"] {
border: 1px solid #eceeef;
}
.gj-editor-bootstrap p {
margin: 0;
padding: 0;
}
.gj-editor-bootstrap blockquote {
font-size: 14px;
}