LMS: simplifying language settings modal controls UI
This commit is contained in:
committed by
thedeadparrot
parent
d867e87b72
commit
c41d8146c7
@@ -237,29 +237,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
// ====================
|
||||
|
||||
%btn-reset {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: inherit;
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
// button that appears visually as a link
|
||||
%btn-link {
|
||||
@extend %btn-reset;
|
||||
color: $link-color;
|
||||
text-decoration: none;
|
||||
@include transition(all 0.1s linear 0s);
|
||||
|
||||
&:hover, &:focus {
|
||||
color: $link-color;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
// ====================
|
||||
|
||||
// application: canned actions
|
||||
|
||||
@@ -342,25 +342,5 @@
|
||||
.list-input {
|
||||
margin-bottom: $baseline;
|
||||
}
|
||||
|
||||
.list-actions {
|
||||
|
||||
.action-item {
|
||||
@extend %wipe-last-child;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-right: ($baseline/4);
|
||||
}
|
||||
|
||||
.action-submit {
|
||||
color: $white;
|
||||
padding-top: ($baseline/3);
|
||||
padding-bottom: ($baseline/3);
|
||||
}
|
||||
|
||||
.action-cancel {
|
||||
@extend %btn-link;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -35,14 +35,9 @@
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<ul class="list-actions">
|
||||
<li class="action-item">
|
||||
<button type="submit" class="action action-submit" id="submit-lang">Save Language</button>
|
||||
</li>
|
||||
<li class="action-item">
|
||||
<button type="reset" class="action action-cancel">Cancel</button>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="submit">
|
||||
<input type="submit" id="submit-lang" value="${_('Save Language Settings')}" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user