493634aee5
Added all post-function icon sprites to the app. Remove FA icon from the form and used bg sprite for upload button. Will match all other post / composer / widget ui buttons eventually.
54 lines
1.0 KiB
SCSS
54 lines
1.0 KiB
SCSS
.group-form {
|
|
padding: 20px;
|
|
@include gab-container-standards();
|
|
&,
|
|
div {
|
|
box-sizing: border-box;
|
|
float: left;
|
|
width: 100%;
|
|
}
|
|
input[type=text],
|
|
textarea {
|
|
&.standard {
|
|
width: 100%;
|
|
margin: 0 0 10px;
|
|
}
|
|
}
|
|
textarea {
|
|
float: left;
|
|
height: 88px;
|
|
}
|
|
.group-form__file-label {
|
|
cursor: pointer;
|
|
display: block;
|
|
box-sizing: border-box;
|
|
float: left;
|
|
height: 20px;
|
|
padding: 3px 0 0 33px;
|
|
@include font-size(12);
|
|
@include font-weight(light);
|
|
color: $gab-secondary-text;
|
|
background-repeat: no-repeat;
|
|
background-image: url('../images/sprite-post-functions.png');
|
|
background-size: 100px 1200px;
|
|
&:hover {
|
|
// dont forget the active icon state
|
|
color: $gab-brand-default;
|
|
background-position: 0 -100px;
|
|
}
|
|
&.group-form__file-label--selected {
|
|
// dont forget the active icon state
|
|
background-position: 0 -100px;
|
|
color: $gab-brand-default;;
|
|
}
|
|
}
|
|
.group-form__file {
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
opacity: 0;
|
|
position: absolute;
|
|
pointer-events: none;
|
|
}
|
|
button {float: right;}
|
|
} |