mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-20 04:43:54 +00:00
refactor(bs3): misc fixes
This commit is contained in:
parent
e4bd817443
commit
d6b3279e5c
4 changed files with 6 additions and 31 deletions
|
|
@ -4,5 +4,6 @@
|
|||
.footer
|
||||
padding-top: 20px
|
||||
margin-top: 40px
|
||||
padding-bottom: 20px
|
||||
border-top: 1px solid #e5e5e5
|
||||
background-color: #f5f5f5
|
||||
|
|
@ -25,10 +25,7 @@
|
|||
@import "./classes.styl"
|
||||
@import "./quests.styl"
|
||||
@import "./shared.styl"
|
||||
|
||||
// fix exploding to very wide for some reason
|
||||
.datepicker
|
||||
width: 210px
|
||||
@import "./footer.styl"
|
||||
|
||||
html,body,p,h1,ul,li,table,tr,th,td
|
||||
margin: 0
|
||||
|
|
@ -45,29 +42,8 @@ hr
|
|||
border-bottom: 1px solid #ddd
|
||||
border-color: rgba(0,0,0,0.1)
|
||||
|
||||
|
||||
/* Footer
|
||||
-------------------------------------------------- */
|
||||
|
||||
/* Bootstrap website boilerplate */
|
||||
.footer
|
||||
padding: 70px 0
|
||||
border-top: 1px solid #e5e5e5
|
||||
background-color: #f5f5f5
|
||||
|
||||
.footer p
|
||||
margin-bottom: 0
|
||||
color: #777
|
||||
|
||||
.footer-links
|
||||
margin: 10px 0
|
||||
|
||||
.footer-links li
|
||||
display: inline
|
||||
margin-right: 10px
|
||||
|
||||
/* Customizations to make footer sticky */
|
||||
/*html, body {height: 100%;}*/
|
||||
|
||||
#wrap
|
||||
z-index:-1
|
||||
padding: 0 15px // Required by Bootstrap 3 when using .container-fluid
|
||||
|
|
|
|||
|
|
@ -147,11 +147,10 @@ for $stage in $stages
|
|||
padding-left: 7em
|
||||
|
||||
// when a task is being dragged
|
||||
.task.ui-sortable-helper {
|
||||
.task.ui-sortable-helper
|
||||
box-shadow: 0 0 3px rgba(0,0,0,0.15), 0 0 5px rgba(0,0,0,0.1)
|
||||
transform: scale(1.05)
|
||||
outline: 1px solid rgba(0,0,0,0.2)
|
||||
}
|
||||
|
||||
// primary task commands
|
||||
// ----------------------
|
||||
|
|
@ -310,7 +309,6 @@ form
|
|||
[class$="-options"]
|
||||
padding: 1em 1em 0
|
||||
color: #333
|
||||
z-index: 0
|
||||
position: relative
|
||||
//background-color:
|
||||
|
||||
|
|
|
|||
|
|
@ -99,8 +99,8 @@ habitrpg.controller("GroupsCtrl", ['$scope', '$rootScope', 'Shared', 'Groups', '
|
|||
$scope.$watch('group.chat',$scope.chatChanged);
|
||||
|
||||
$scope.caretChanged = function(newCaretPos) {
|
||||
var relativeelement = $('.-options');
|
||||
var textarea = $('.chat-textarea');
|
||||
var relativeelement = $('.chat-form div:first');
|
||||
var textarea = $('.chat-form textarea');
|
||||
var userlist = $('.list-at-user');
|
||||
var offset = {
|
||||
x: textarea.offset().left - relativeelement.offset().left,
|
||||
|
|
|
|||
Loading…
Reference in a new issue