Fixed: Remove unit on zero values (#2178)

James White 7 years ago committed by Leonardo Galli
parent e2e6630b69
commit 7ae2d455c3

@ -1,4 +1,4 @@
@import "../Shared/Styles/card.less"; @import "../Shared/Styles/card.less";
@import "../Shared/Styles/clickable.less"; @import "../Shared/Styles/clickable.less";
.inline { .inline {
@ -16,11 +16,11 @@
.existing-movies { .existing-movies {
.card(); .card();
margin : 30px 0px; margin : 30px 0;
.unmapped-folder-path { .unmapped-folder-path {
padding: 20px; padding: 20px;
margin-left : 0px; margin-left : 0;
font-weight : 100; font-weight : 100;
font-size : 25px; font-size : 25px;
text-align : center; text-align : center;
@ -37,7 +37,7 @@
.new-movies { .new-movies {
.search-item { .search-item {
.card(); .card();
margin : 40px 0px; margin : 40px 0;
} }
} }
@ -103,7 +103,7 @@
} }
.checkbox { .checkbox {
margin-top : 0px; margin-top : 0;
} }
.add { .add {
@ -123,7 +123,7 @@
} }
.loading-folders { .loading-folders {
margin : 30px 0px; margin : 30px 0;
text-align: center; text-align: center;
} }
@ -133,14 +133,14 @@
} }
.monitor-tooltip-contents { .monitor-tooltip-contents {
padding-bottom : 0px; padding-bottom : 0;
dd { dd {
padding-bottom : 8px; padding-bottom : 8px;
} }
} }
.minimumavailability-tooltip-contents { .minimumavailability-tooltip-contents {
padding-bottom : 0px; padding-bottom : 0;
dd { dd {
padding-bottom :8px; padding-bottom :8px;

@ -1,15 +1,15 @@
@import "../Shared/Styles/card.less"; @import "../Shared/Styles/card.less";
@import "../Shared/Styles/clickable.less"; @import "../Shared/Styles/clickable.less";
#add-series-screen { #add-series-screen {
.existing-series { .existing-series {
.card(); .card();
margin : 30px 0px; margin : 30px 0;
.unmapped-folder-path { .unmapped-folder-path {
padding: 20px; padding: 20px;
margin-left : 0px; margin-left : 0;
font-weight : 100; font-weight : 100;
font-size : 25px; font-size : 25px;
text-align : center; text-align : center;
@ -26,7 +26,7 @@
.new-series { .new-series {
.search-item { .search-item {
.card(); .card();
margin : 40px 0px; margin : 40px 0;
} }
} }
@ -88,7 +88,7 @@
} }
.checkbox { .checkbox {
margin-top : 0px; margin-top : 0;
} }
.add { .add {
@ -105,7 +105,7 @@
} }
.loading-folders { .loading-folders {
margin : 30px 0px; margin : 30px 0;
text-align: center; text-align: center;
} }
@ -115,7 +115,7 @@
} }
.monitor-tooltip-contents { .monitor-tooltip-contents {
padding-bottom : 0px; padding-bottom : 0;
dd { dd {
padding-bottom : 8px; padding-bottom : 8px;

@ -65,12 +65,12 @@
h4 { h4 {
font-weight : 500; font-weight : 500;
color : #008dcd; color : #008dcd;
margin : 5px 0px; margin : 5px 0;
} }
p { p {
color : #999999; color : #999999;
margin : 0px; margin : 0;
} }
.date { .date {
@ -254,7 +254,7 @@
text-align : center; text-align : center;
h2 { h2 {
margin-top : 0px; margin-top : 0;
margin-bottom : 5px; margin-bottom : 5px;
} }
} }

@ -125,7 +125,7 @@ td.episode-status-cell, td.quality-cell, td.history-quality-cell, td.progress-ce
.progress { .progress {
height : 10px; height : 10px;
margin-top : 5px; margin-top : 5px;
margin-bottom : 0px; margin-bottom : 0;
} }
} }
@ -151,7 +151,7 @@ td.episode-status-cell, td.quality-cell, td.history-quality-cell, td.progress-ce
margin-left : 8px; margin-left : 8px;
&:first-of-type { &:first-of-type {
margin-left : 0px; margin-left : 0;
} }
} }
} }
@ -225,8 +225,8 @@ td.delete-episode-file-cell {
&.episode-warning-cell { &.episode-warning-cell {
width : 1px; width : 1px;
padding-left : 0px; padding-left : 0;
padding-right : 0px; padding-right : 0;
} }
} }

@ -52,7 +52,7 @@
color : #999999; color : #999999;
cursor : default; cursor : default;
width : inherit; width : inherit;
padding : 0px 2px; padding : 0 2px;
} }
} }

@ -12,7 +12,7 @@
} }
.slide-button { .slide-button {
min-width : 0px; min-width : 0;
} }
.popover-title { .popover-title {

@ -8,7 +8,7 @@
} }
.tag { .tag {
margin-right: 0px; margin-right: 0;
[data-role="remove"] { [data-role="remove"] {
&:hover { &:hover {

@ -20,7 +20,7 @@
@media (max-width: @screen-xs-max) { @media (max-width: @screen-xs-max) {
.fc-button { .fc-button {
padding: 0px 5px; padding: 0 5px;
} }
.fc-header-space { .fc-header-space {
@ -45,5 +45,5 @@
} }
.fc-icon::after { .fc-icon::after {
margin: 0px; margin: 0;
} }

@ -13,11 +13,11 @@ ul.messenger-theme-flat .messenger-message.alert-info .messenger-message-inner:b
@media (max-width: @screen-xs-max) { @media (max-width: @screen-xs-max) {
ul.messenger.messenger-fixed.messenger-on-bottom { ul.messenger.messenger-fixed.messenger-on-bottom {
width: 100%; width: 100%;
bottom: 0px; bottom: 0;
.border-bottom-radius(0); .border-bottom-radius(0);
&.messenger-on-right { &.messenger-on-right {
right : 0px; right : 0;
} }
} }
} }

@ -37,7 +37,7 @@
cursor:pointer; cursor:pointer;
&:after{ &:after{
content: "x"; content: "x";
padding:0px 2px; padding:0 2px;
} }
&:hover { &:hover {
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);

@ -1,13 +1,13 @@
@import "../Shared/Styles/clickable.less"; @import "../Shared/Styles/clickable.less";
.form-group { .form-group {
.input-group { .input-group {
.checkbox { .checkbox {
width : 100px; width : 100px;
margin-left : 0px; margin-left : 0;
display : inline-block; display : inline-block;
padding-top : 0px; padding-top : 0;
margin-bottom : 0px; margin-bottom : 0;
} }
.help-inline-checkbox { .help-inline-checkbox {
@ -20,7 +20,7 @@
.btn { .btn {
i { i {
margin-right : 0px; margin-right : 0;
color : inherit; color : inherit;
} }
} }
@ -28,7 +28,7 @@
.btn { .btn {
i { i {
margin-right : 0px; margin-right : 0;
color : inherit; color : inherit;
} }
} }
@ -42,10 +42,10 @@
.help-inline { .help-inline {
display : inline-block; display : inline-block;
margin-top : 8px; margin-top : 8px;
padding-left : 0px; padding-left : 0;
@media (max-width: @screen-xs-max) { @media (max-width: @screen-xs-max) {
margin-left: 0px; margin-left: 0;
} }
} }
} }
@ -76,7 +76,7 @@ textarea.release-restrictions {
h3 { h3 {
.help-inline { .help-inline {
font-size: 16px; font-size: 16px;
padding-left: 0px; padding-left: 0;
margin-top: -5px; margin-top: -5px;
text-transform: none; text-transform: none;
} }
@ -91,7 +91,7 @@ h3 {
.has-error { .has-error {
.help-inline { .help-inline {
color: #b94a48; color: #b94a48;
margin-left: 0px; margin-left: 0;
} }
} }
@ -105,7 +105,7 @@ h3 {
.has-warning { .has-warning {
.help-inline { .help-inline {
color: orange; color: orange;
margin-left: 0px; margin-left: 0;
} }
} }
@ -127,7 +127,7 @@ h3 {
.help-link ~ .tooltip { .help-link ~ .tooltip {
.tooltip-inner { .tooltip-inner {
white-space : normal; white-space : normal;
min-width : 0px; min-width : 0;
} }
} }
} }

@ -1,4 +1,4 @@
@import "prefixer"; @import "prefixer";
@import "variables"; @import "variables";
@grid-float-breakpoint: @screen-xs-min; @grid-float-breakpoint: @screen-xs-min;
@ -96,7 +96,7 @@
@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) { @media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {
border-radius : 6px; border-radius : 6px;
padding : 5px 0px 5px; padding : 5px 0 5px;
min-height : 76px; min-height : 76px;
min-width : 50px; min-width : 50px;
margin : 20px 5px 5px; margin : 20px 5px 5px;

@ -43,7 +43,7 @@
@keyframes bounce { @keyframes bounce {
0% { 0% {
left : 0px; left : 0;
background-color : @colorDark; background-color : @colorDark;
} }
@ -53,14 +53,14 @@
} }
100% { 100% {
left : 0px; left : 0;
background-color : @colorDark; background-color : @colorDark;
} }
} }
@-moz-keyframes bounce { @-moz-keyframes bounce {
0% { 0% {
left : 0px; left : 0;
background-color : @colorDark; background-color : @colorDark;
} }
@ -70,7 +70,7 @@
} }
100% { 100% {
left : 0px; left : 0;
background-color : @colorDark; background-color : @colorDark;
} }
@ -78,7 +78,7 @@
@-webkit-keyframes bounce { @-webkit-keyframes bounce {
0% { 0% {
left : 0px; left : 0;
background-color : @colorDark; background-color : @colorDark;
} }
@ -88,7 +88,7 @@
} }
100% { 100% {
left : 0px; left : 0;
background-color : @colorDark; background-color : @colorDark;
} }
@ -96,7 +96,7 @@
@-ms-keyframes bounce { @-ms-keyframes bounce {
0% { 0% {
left : 0px; left : 0;
background-color : @colorDark; background-color : @colorDark;
} }
@ -106,14 +106,14 @@
} }
100% { 100% {
left : 0px; left : 0;
background-color : @colorDark; background-color : @colorDark;
} }
} }
@-o-keyframes bounce { @-o-keyframes bounce {
0% { 0% {
left : 0px; left : 0;
background-color : @colorDark; background-color : @colorDark;
} }
@ -123,7 +123,7 @@
} }
100% { 100% {
left : 0px; left : 0;
background-color : @colorDark; background-color : @colorDark;
} }
} }

@ -1,4 +1,4 @@
@import "Bootstrap/variables"; @import "Bootstrap/variables";
@import "Bootstrap/mixins"; @import "Bootstrap/mixins";
@import "Bootstrap/type"; @import "Bootstrap/type";
@import "font"; @import "font";
@ -73,7 +73,7 @@
.page-toolbar { .page-toolbar {
margin-top : 5px; margin-top : 5px;
margin-bottom : 0px; margin-bottom : 0;
} }
} }
@ -86,7 +86,7 @@
i { i {
.clickable; .clickable;
.opacity(0.3); .opacity(0.3);
margin: 0px 20px; margin: 0 20px;
&:hover { &:hover {
.opacity(0.4); .opacity(0.4);
@ -96,7 +96,7 @@
position : fixed; position : fixed;
z-index : 9999; z-index : 9999;
bottom : 30px; bottom : 30px;
right : 0px; right : 0;
display : none; display : none;
font-size : 56px; font-size : 56px;
color : gray; color : gray;
@ -181,7 +181,7 @@ body.debug {
.footer { .footer {
font-size : 13px; font-size : 13px;
font-weight : lighter; font-weight : lighter;
padding-top : 0px; padding-top : 0;
padding-bottom : 20px; padding-bottom : 20px;
color : #999999; color : #999999;
margin : 0; margin : 0;
@ -193,14 +193,14 @@ body.debug {
} }
p { p {
margin-bottom : 0px; margin-bottom : 0;
} }
#footer-region { #footer-region {
.text-center(); .text-center();
position : relative; position : relative;
width : 256px; width : 256px;
margin : 50px auto 0px auto; margin : 50px auto 0 auto;
display : block; display : block;
} }
} }
@ -212,7 +212,7 @@ body.debug {
max-width : 1429px; max-width : 1429px;
margin : auto; margin : auto;
// margin-top : -70px; // margin-top : -70px;
padding : 20px 0px; padding : 20px 0;
.header { .header {
padding-bottom : 10px; padding-bottom : 10px;
@ -269,7 +269,7 @@ body.debug {
color : #f5f5f5; color : #f5f5f5;
background-color : #333333; background-color : #333333;
margin : 0px; margin : 0;
margin-bottom : -100px; margin-bottom : -100px;
position : fixed; position : fixed;
left : 0; left : 0;
@ -292,8 +292,8 @@ body.debug {
.modal-header { .modal-header {
h3 { h3 {
margin-top : 0px; margin-top : 0;
margin-bottom : 0px; margin-bottom : 0;
} }
} }
@ -341,5 +341,5 @@ dl.info {
.sort-direction-icon { .sort-direction-icon {
.pull-right(); .pull-right();
position : relative; position : relative;
width : 0px; width : 0;
} }

@ -1,16 +1,16 @@
.hotkeys-modal { .hotkeys-modal {
h3 { h3 {
margin-top : 0px; margin-top : 0;
margin-botton : 0px; margin-botton : 0;
} }
.hotkey-group { .hotkey-group {
&:first-of-type { &:first-of-type {
margin-top : 0px; margin-top : 0;
} }
&:last-of-type { &:last-of-type {
margin-bottom : 0px; margin-bottom : 0;
} }
margin-top : 25px; margin-top : 25px;

@ -66,7 +66,7 @@
} }
h2 { h2 {
margin-top : 0px; margin-top : 0;
} }
a { a {
@ -93,7 +93,7 @@
} }
.header-text { .header-text {
margin-top : 0px; margin-top : 0;
} }
} }
@ -117,7 +117,7 @@
list-style-type: none; list-style-type: none;
@media (max-width: @screen-xs-max) { @media (max-width: @screen-xs-max) {
padding : 0px; padding : 0;
} }
li { li {
@ -141,7 +141,7 @@
.progress { .progress {
text-align : left; text-align : left;
margin-top : 5px; margin-top : 5px;
left : 0px; left : 0;
width : 170px; width : 170px;
.progressbar-front-text, .progressbar-back-text { .progressbar-front-text, .progressbar-back-text {
@ -260,7 +260,7 @@
.movie-controls { .movie-controls {
position : absolute;; position : absolute;;
top : 0px; top : 0;
overflow : hidden; overflow : hidden;
background-color : #eeeeee; background-color : #eeeeee;
width : 100%; width : 100%;
@ -276,7 +276,7 @@
.hidden-title { .hidden-title {
position : absolute;; position : absolute;;
bottom : 0px; bottom : 0;
overflow : hidden; overflow : hidden;
background-color : #eeeeee; background-color : #eeeeee;
width : 100%; width : 100%;
@ -365,8 +365,8 @@
.toggle-cell { .toggle-cell {
width : 28px; width : 28px;
text-align : center; text-align : center;
padding-left : 0px; padding-left : 0;
padding-right : 0px; padding-right : 0;
} }
.toggle-cell { .toggle-cell {
@ -405,7 +405,7 @@
.seasonpass-movie { .seasonpass-movie {
.card; .card;
margin : 20px 0px; margin : 20px 0;
.title { .title {
font-weight : 300; font-weight : 300;
@ -415,7 +415,7 @@
} }
.season-select { .season-select {
margin-bottom : 0px; margin-bottom : 0;
} }
.expander { .expander {
@ -468,7 +468,7 @@
margin-right: auto; margin-right: auto;
.form-group { .form-group {
padding-top: 0px; padding-top: 0;
} }
} }
@ -530,7 +530,7 @@
} }
ul { ul {
padding-left : 0px; padding-left : 0;
list-style-type : none; list-style-type : none;
} }
} }

@ -16,7 +16,7 @@
} }
.label:first-child { .label:first-child {
border-right : 0px; border-right : 0;
border-top-right-radius : 0.0em; border-top-right-radius : 0.0em;
border-bottom-right-radius : 0.0em; border-bottom-right-radius : 0.0em;
color : #777; color : #777;
@ -24,7 +24,7 @@
} }
.label:last-child { .label:last-child {
border-left : 0px; border-left : 0;
border-top-left-radius : 0.0em; border-top-left-radius : 0.0em;
border-bottom-left-radius : 0.0em; border-bottom-left-radius : 0.0em;
color : #999; color : #999;

@ -47,7 +47,7 @@
} }
h2 { h2 {
margin-top : 0px; margin-top : 0;
} }
a { a {
@ -68,7 +68,7 @@
} }
.header-text { .header-text {
margin-top : 0px; margin-top : 0;
} }
} }
@ -92,7 +92,7 @@
list-style-type: none; list-style-type: none;
@media (max-width: @screen-xs-max) { @media (max-width: @screen-xs-max) {
padding : 0px; padding : 0;
} }
li { li {
@ -116,7 +116,7 @@
.progress { .progress {
text-align : left; text-align : left;
margin-top : 5px; margin-top : 5px;
left : 0px; left : 0;
width : 170px; width : 170px;
.progressbar-front-text, .progressbar-back-text { .progressbar-front-text, .progressbar-back-text {
@ -203,7 +203,7 @@
.series-controls { .series-controls {
position : absolute;; position : absolute;;
top : 0px; top : 0;
overflow : hidden; overflow : hidden;
background-color : #eeeeee; background-color : #eeeeee;
width : 100%; width : 100%;
@ -219,7 +219,7 @@
.hidden-title { .hidden-title {
position : absolute;; position : absolute;;
bottom : 0px; bottom : 0;
overflow : hidden; overflow : hidden;
background-color : #eeeeee; background-color : #eeeeee;
width : 100%; width : 100%;
@ -301,8 +301,8 @@
.toggle-cell { .toggle-cell {
width : 28px; width : 28px;
text-align : center; text-align : center;
padding-left : 0px; padding-left : 0;
padding-right : 0px; padding-right : 0;
} }
.toggle-cell { .toggle-cell {
@ -341,7 +341,7 @@
.seasonpass-series { .seasonpass-series {
.card; .card;
margin : 20px 0px; margin : 20px 0;
.title { .title {
font-weight : 300; font-weight : 300;
@ -351,7 +351,7 @@
} }
.season-select { .season-select {
margin-bottom : 0px; margin-bottom : 0;
} }
.expander { .expander {
@ -404,7 +404,7 @@
margin-right: auto; margin-right: auto;
.form-group { .form-group {
padding-top: 0px; padding-top: 0;
} }
} }
@ -466,7 +466,7 @@
} }
ul { ul {
padding-left : 0px; padding-left : 0;
list-style-type : none; list-style-type : none;
} }
} }

@ -17,7 +17,7 @@
padding: 10px 15px; padding: 10px 15px;
h3 { h3 {
margin-top: 0px; margin-top: 0;
display: inline-block; display: inline-block;
width: 180px; width: 180px;
white-space: nowrap; white-space: nowrap;

@ -17,7 +17,7 @@
.allowed-qualities { .allowed-qualities {
padding-left: 0px; padding-left: 0;
li { li {
list-style-type : none; list-style-type : none;
@ -35,7 +35,7 @@
} }
.delay-profiles { .delay-profiles {
padding-left : 0px; padding-left : 0;
li { li {
list-style-type : none; list-style-type : none;

@ -90,7 +90,7 @@ ul.qualities {
padding: 5px; padding: 5px;
input { input {
margin-bottom: 0px; margin-bottom: 0;
} }
.size-label-wrapper { .size-label-wrapper {
@ -100,7 +100,7 @@ ul.qualities {
.label { .label {
min-width: 70px; min-width: 70px;
text-align: center; text-align: center;
margin: 0px 1px; margin: 0 1px;
padding: 1px 4px; padding: 1px 4px;
} }

@ -36,7 +36,7 @@ li.save-and-add:hover {
.center { .center {
display: inline-block; display: inline-block;
padding: 5px 20px 0px; padding: 5px 20px 0;
background-color: white; background-color: white;
} }
@ -64,9 +64,9 @@ li.save-and-add:hover {
.checkbox { .checkbox {
width : 100px; width : 100px;
margin-left : 0px; margin-left : 0;
display : inline-block; display : inline-block;
padding-top : 0px; padding-top : 0;
margin-bottom : -10px; margin-bottom : -10px;
margin-top : -1px; margin-top : -1px;
} }

@ -24,8 +24,8 @@
ul.items { ul.items {
list-style-type: none; list-style-type: none;
margin: 0px; margin: 0;
padding: 0px; padding: 0;
li.add-thingy-item { li.add-thingy-item {
display: inline-block; display: inline-block;
@ -39,7 +39,7 @@
.card; .card;
h3 { h3 {
margin-top: 0px; margin-top: 0;
//display: inline-block; //this stops the text-overflow from applying //display: inline-block; //this stops the text-overflow from applying
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
@ -64,6 +64,6 @@
} }
@media (max-width: @screen-xs-max) { @media (max-width: @screen-xs-max) {
padding-left: 0px; padding-left: 0;
} }
} }

@ -5,6 +5,6 @@
background-color : #ffffff; background-color : #ffffff;
padding : 10px; padding : 10px;
color : #444444; color : #444444;
.box-shadow( 0px 0px 10px 1px @color); .box-shadow( 0 0 10px 1px @color);
.border-radius(3px); .border-radius(3px);
} }

Loading…
Cancel
Save