Files
PurpleMine2/src/sass/plugins/redmine_backlogs/global.scss
mrliptontea 0ec8791d41 Version 2.0
2019-03-13 22:26:25 +00:00

327 lines
5.4 KiB
SCSS

@import "common";
html {
height: 100%;
overflow-y: scroll;
}
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background-color: mix($gray-400, $header-bg, 70%);
color: $text-color;
font-family: $font-family-base;
font-size: $font-size-base;
font-weight: $font-weight-normal;
line-height: $line-height-base;
}
a {
color: $link-color;
text-decoration: none;
&:hover,
&:focus {
color: $link-hover-color;
text-decoration: $link-hover-decoration;
}
}
.issue.closed {
color: $link-color-issue-closed;
text-decoration: $link-closed-decoration;
}
.project.closed {
color: $link-color-project-closed;
}
.user.locked {
color: $link-color-user-locked;
}
//== Form elements
//
button,
input,
select,
textarea {
box-sizing: border-box;
font-family: inherit;
font-size: $font-size-base;
line-height: $line-height-base;
}
select,
textarea,
input[type="search"],
input[type="text"],
input.name,
input.editor,
#col_width input {
@include form-control-focus;
@include placeholder;
height: $input-height-base;
padding: $input-padding-vertical $input-padding-horizontal;
transition: border-color $transition-time ease-in-out,
box-shadow $transition-time ease-in-out;
border: 1px solid $input-border;
border-radius: $input-border-radius;
background-color: $input-bg;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);
color: $input-color;
}
textarea {
height: auto;
resize: vertical;
}
select:-moz-focusring {
color: transparent;
text-shadow: 0 0 0 #000;
}
button.ui-multiselect {
box-sizing: border-box;
height: $input-height-base;
padding: $input-padding-vertical $input-padding-horizontal;
overflow: hidden;
transition: border-color $transition-time ease-in-out,
box-shadow $transition-time ease-in-out;
border: 1px solid $input-border;
background: $input-bg;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075);
color: $input-color;
white-space: nowrap;
cursor: default;
&:hover,
&:focus {
color: $input-color;
}
&:active {
transform: translate(0, 0);
}
&.ui-state-active {
border-color: $input-border-focus;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .075), 0 0 5px rgba($input-border-focus, .5);
}
.ui-icon {
margin-top: 1px;
}
}
//== Top toolbar
//
#toolbar {
@include clearfix;
display: block;
position: relative;
z-index: 1000;
padding: 10px $padding-side;
overflow: hidden;
background-color: $main-menu-bg;
box-shadow: $panel-shadow;
.breadcrumbs {
margin-right: 10px;
float: left;
select {
margin-right: 5px;
vertical-align: middle;
}
.home {
font-weight: $font-weight-bold;
}
.separator {
position: relative;
top: -1px;
padding: 0 .2em;
font-weight: $font-weight-bold;
}
}
.userselect {
position: relative;
float: left;
ul {
padding-left: 0;
}
br {
display: none;
}
}
.links {
float: right;
input {
vertical-align: initial;
}
a {
padding-left: 5px;
cursor: pointer;
user-select: none;
}
}
input[type="search"],
input[type="text"],
select,
.ui-widget {
font-family: inherit;
font-size: inherit;
}
@media screen and (max-width: $screen-md-max) {
font-size: $font-size-small;
input[type="search"],
input[type="text"],
select,
.ui-widget {
$input-padding-vertical-small: 3px;
$input-padding-horizontal-small: 5px;
height: ($line-height-computed + ($input-padding-vertical-small * 2) + 2);
padding: $input-padding-vertical-small $input-padding-horizontal-small;
}
#project_quick_jump_box {
width: 128px;
}
}
}
#refresh {
.loading & {
background-image: url("images/bouncer.gif");
background-repeat: no-repeat;
background-position: -6px 1px;
}
}
//== Other elements
//
.clearfix {
@include clearfix;
}
#content {
margin: 0;
padding: 0;
overflow: visible;
}
#helpers,
.meta,
.editors {
display: none;
}
// .editor is the classname for field editors of sprint,
// story, task, impediment. These field editors get created
// at runtime whenever any of the above models are edited.
.ui-dialog .editor {
display: block;
}
ul.ui-sortable {
min-height: 20px;
}
//== Story tooltip
//
.ui-tooltip {
.ui-tooltip-content {
hr {
margin-top: $line-height-computed / 2;
margin-bottom: $line-height-computed / 2;
border: 0;
border-top: 1px solid $hr-border;
}
.wiki-anchor {
display: none;
}
}
.issue-description {
max-height: 10em;
margin-top: 12px;
overflow: hidden;
text-overflow: ellipsis;
}
.issue-field {
margin: 2px 0 0;
padding-left: 160px;
overflow: hidden;
&:first-child {
margin-top: 0;
}
> label {
margin-left: -160px;
padding-right: 5px;
float: left;
font-weight: $font-weight-bold;
}
}
}
.tooltip_text {
display: none;
}
//== drag-drop effect: disabled dropzones are greyed out
//
.rb-sortable-disabled,
.ui-sortable-disabled {
opacity: .5;
background-color: $gray-400;
}
.w-rb-header-collapsed {
height: 27px; // 14px * .86 * 1.42857 + 2 * 5px
overflow: hidden;
}
//== Fix jQuery-UI datepicker
//
body {
.ui-widget {
&,
input,
select,
textarea,
button {
font-family: inherit;
font-size: inherit;
}
}
}