More CSS cleanup

This commit is contained in:
Julius Haertl
2017-02-06 23:04:45 +01:00
parent d74b9f68d9
commit bf94f787c3

View File

@@ -20,10 +20,44 @@
* *
*/ */
/**
* General styles
*/
.app-deck .icon {
display: inline-block;
}
input.input-inline {
font-size: inherit !important;
font-weight: inherit;
background-color: transparent;
padding: 0;
border: none;
width: 100%;
border-bottom: 1px solid #333333;
-webkit-border-radius: 0;
line-height: 100%;
margin: -4px 0;
}
button {
border: 0;
background-color: transparent;
}
button:hover {
border: 0;
background-color: transparent;
}
#searchbox { #searchbox {
display: block !important; display: block !important;
} }
/**
* Navigation sidebar
*/
.app-navigation-entry-utils-menu-button { .app-navigation-entry-utils-menu-button {
display: block !important; display: block !important;
} }
@@ -51,6 +85,9 @@
cursor: pointer; cursor: pointer;
} }
/**
* Board view
*/
#app-view { #app-view {
position: relative; position: relative;
height: 100%; height: 100%;
@@ -271,12 +308,6 @@
margin-top: 15px; margin-top: 15px;
} }
.card h3 .fa {
font-size: 18pt;
line-height: 10pt;
vertical-align: middle;
}
.card .labels { .card .labels {
position: absolute; position: absolute;
top: -5px; top: -5px;
@@ -343,9 +374,9 @@
} }
.card.create h3 { .card.create h3 {
margin: 0;
padding: 0;
width: 100%; width: 100%;
padding: 0;
margin: 0 0 1px;
} }
.card.create h3 input { .card.create h3 input {
@@ -359,16 +390,7 @@
border-radius: 0; border-radius: 0;
color: #ffffff; color: #ffffff;
background-color: transparent !important; background-color: transparent !important;
} min-height: initial;
.card.create .fa {
color: #ffffff;
width: 100%;
}
.card.create .fa:hover {
opacity: 0.5;
cursor: pointer;
} }
.due { .due {
@@ -379,6 +401,10 @@
margin-right: 2px; margin-right: 2px;
} }
/**
* Card view right sidebar
*/
#card-header { #card-header {
height: 44px; height: 44px;
} }
@@ -443,20 +469,6 @@
background-color: white; background-color: white;
} }
#card-description .container.ng-hide-remove {
animation: fade 1s forwards;
background-color: rgba(255, 255, 100, 1);
}
@keyframes fade {
from {
background-color: rgba(255, 255, 100, 1);
}
to {
background-color: rgba(255, 255, 255, 0);
}
}
#sidebar-header, #sidebar-header,
.card-block { .card-block {
padding: 15px; padding: 15px;
@@ -529,7 +541,9 @@
display: block !important; display: block !important;
} }
/* color selector */ /**
* Color selection
*/
.colorselect { .colorselect {
overflow: hidden; overflow: hidden;
@@ -563,6 +577,9 @@
height: 26px; height: 26px;
} }
/**
* Board list main screen area
*/
#boardlist { #boardlist {
width: 100%; width: 100%;
height: 100%; height: 100%;
@@ -608,30 +625,47 @@
margin-top: 5px; margin-top: 5px;
} }
input.input-inline { /**
font-size: inherit !important; * Board details
font-weight: inherit; */
background-color: transparent;
#shareWithList {
list-style-type: none;
padding: 0 0 16px;
}
#shareWithList li {
padding-top: 5px;
padding-bottom: 5px;
font-weight: bold;
white-space: normal;
display: flex;
align-items: center;
}
#shareWithList .username {
padding-right: 8px;
padding-left: 8px;
white-space: nowrap;
text-overflow: ellipsis;
display: inline-block;
overflow: hidden;
vertical-align: middle;
}
.shareWithList .icon-delete {
display: inline-block;
background-size: 16px 16px;
width: 16px;
height: 16px;
padding: 0; padding: 0;
border: none; margin-top: 5px;
width: 100%;
border-bottom: 1px solid #333333;
-webkit-border-radius: 0;
line-height: 100%;
margin: -4px 0;
} }
button { .shareOption {
border: 0; margin-top: 4px;
background-color: transparent;
} }
button:hover {
border: 0;
background-color: transparent;
}
/* board detail */
#board-detail-labels { #board-detail-labels {
padding: 10px; padding: 10px;
} }
@@ -709,8 +743,7 @@ button:hover {
.ui-select-match-item .select-label { .ui-select-match-item .select-label {
color: #fff; color: #fff;
padding: 6px; padding: 6px 23px 6px 6px;
padding-right: 23px;
margin-right: -23px !important; margin-right: -23px !important;
} }
@@ -718,7 +751,6 @@ button:hover {
padding: 3px 0 !important; padding: 3px 0 !important;
border: 0 !important; border: 0 !important;
overflow: hidden; overflow: hidden;
bo
} }
.ui-select-container[disabled] .ui-select-match-item .select-label { .ui-select-container[disabled] .ui-select-match-item .select-label {
@@ -732,6 +764,14 @@ button:hover {
margin-right: 0 !important; margin-right: 0 !important;
} }
.select2-search input {
width:100% !important;
}
/**
* Mobile optimizations
*/
@media (max-width: 480px) { @media (max-width: 480px) {
/* hide board actions on mobile */ /* hide board actions on mobile */
#board-actions { #board-actions {
@@ -745,6 +785,10 @@ button:hover {
} }
} }
/**
* Markdown rendering
*/
#markdown { #markdown {
width: 100% !important; width: 100% !important;
} }
@@ -804,57 +848,10 @@ button:hover {
padding: 3px; padding: 3px;
} }
#shareWithList {
list-style-type: none;
padding: 0 0 16px;
}
#shareWithList li {
padding-top: 5px;
padding-bottom: 5px;
font-weight: bold;
white-space: normal;
display: flex;
align-items: center;
}
#shareWithList .username {
padding-right: 8px;
padding-left: 8px;
white-space: nowrap;
text-overflow: ellipsis;
display: inline-block;
overflow: hidden;
vertical-align: middle;
}
.shareWithList .icon-delete {
display: inline-block;
background-size: 16px 16px;
width: 16px;
height: 16px;
padding: 0;
margin-top: 5px;
}
.shareWithList .fa {
font-size: 12pt;
width: 16px;
text-align: center;
}
.shareOption {
margin-top: 4px;
}
/** /**
* Custom icons * Custom icons
*/ */
.app-deck .icon {
display: inline-block;
}
.icon-group { .icon-group {
background-image: url('../../../settings/img/users.svg'); background-image: url('../../../settings/img/users.svg');
} }