css: prefer rem over px
This commit is contained in:
@@ -101,8 +101,8 @@ body,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content textarea {
|
#content textarea {
|
||||||
padding: 6px;
|
padding: 0.5rem;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #fff;
|
||||||
box-sizing:border-box;
|
box-sizing:border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -112,7 +112,7 @@ body,
|
|||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
}
|
}
|
||||||
input, button {
|
input, button {
|
||||||
padding: 16px;
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
#calcms_nav {
|
#calcms_nav {
|
||||||
min-width: 640px;
|
min-width: 640px;
|
||||||
@@ -151,9 +151,8 @@ body,
|
|||||||
|
|
||||||
#calcms_nav div a,
|
#calcms_nav div a,
|
||||||
#calcms_nav select {
|
#calcms_nav select {
|
||||||
padding: 6px;
|
padding-left: 0.5rem;
|
||||||
padding-top: 1rem;
|
padding-right: 0.5rem;
|
||||||
padding-bottom: 1rem;
|
|
||||||
line-height: 3em;
|
line-height: 3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -254,14 +253,14 @@ a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content table td {
|
#content table td {
|
||||||
padding: 6px;
|
padding: 0.5rem;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border-right: 0;
|
border-right: 0;
|
||||||
border-left: 0;
|
border-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content table th {
|
#content table th {
|
||||||
padding: 6px;
|
padding: 0.5rem;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -317,13 +316,14 @@ table {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content td {
|
#content td {
|
||||||
padding: 3px;
|
padding: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content pre,
|
#content pre,
|
||||||
.pre {
|
.pre {
|
||||||
border: 0;
|
border: 0;
|
||||||
padding: 2em;
|
padding-top:1rem;
|
||||||
|
padding-bottom:1rem;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -366,7 +366,7 @@ table {
|
|||||||
#content span.warn,
|
#content span.warn,
|
||||||
#content span.error {
|
#content span.error {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding: 1px;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content span.ok,
|
#content span.ok,
|
||||||
@@ -392,10 +392,11 @@ div.error {
|
|||||||
div.badge-ok,
|
div.badge-ok,
|
||||||
div.badge-warn,
|
div.badge-warn,
|
||||||
div.badge-error {
|
div.badge-error {
|
||||||
border-radius: 4px;
|
border-radius: 0.3rem;
|
||||||
display: inline;
|
display: inline;
|
||||||
margin: 3px;
|
margin-right: 0.5rem;
|
||||||
padding: 3px;
|
margin-top: 0.5rem;
|
||||||
|
padding: 0.2rem;
|
||||||
line-height:1.6rem;
|
line-height:1.6rem;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
@@ -432,7 +433,7 @@ div.badge-error {
|
|||||||
margin: 1em;
|
margin: 1em;
|
||||||
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .12), 0 2px 10px 0
|
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .12), 0 2px 10px 0
|
||||||
rgba(0, 0, 0, .09);
|
rgba(0, 0, 0, .09);
|
||||||
border-radius: 3px;
|
border-radius: 0.3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content table.table tr:hover {
|
#content table.table tr:hover {
|
||||||
@@ -464,7 +465,7 @@ table.tablesorter tr {
|
|||||||
|
|
||||||
#content table.tablesorter td,
|
#content table.tablesorter td,
|
||||||
#content table.table td {
|
#content table.table td {
|
||||||
padding: 0.8rem 0.4rem;
|
padding: 0.3rem;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,15 +22,15 @@ div#newSeries a,
|
|||||||
div#oldSeries a{
|
div#oldSeries a{
|
||||||
color:#fff;
|
color:#fff;
|
||||||
background:#1abc9c;
|
background:#1abc9c;
|
||||||
padding:8px;
|
padding:0.5rem;
|
||||||
margin:8px;
|
margin:0.5rem;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
display:table-cell;
|
display:table-cell;
|
||||||
vertical-align:middle;
|
vertical-align:middle;
|
||||||
width:10rem;
|
width:10rem;
|
||||||
height:4rem;
|
height:4rem;
|
||||||
line-height:2em;
|
line-height:1.4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
div#newSeries a:hover,
|
div#newSeries a:hover,
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
#content {
|
#content {
|
||||||
margin-top: 3em;
|
margin-top: 3rem;
|
||||||
padding: 1em;
|
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -9,7 +8,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content td.label {
|
#content td.label {
|
||||||
max-width: 3em;
|
max-width: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .label {
|
#content .label {
|
||||||
@@ -17,7 +16,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content table.series {
|
#content table.series {
|
||||||
border-radius: 1em;
|
border-radius: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .series div.header {
|
#content .series div.header {
|
||||||
@@ -49,7 +48,7 @@
|
|||||||
|
|
||||||
#content .editor div.buttons button,
|
#content .editor div.buttons button,
|
||||||
#content .editor div.buttons input {
|
#content .editor div.buttons input {
|
||||||
margin-left: 1em;
|
margin-left: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#imagePreview {
|
#imagePreview {
|
||||||
@@ -80,16 +79,16 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content .series table td:nth-child(1) {
|
#content .series table td:nth-child(1) {
|
||||||
width: 10em;
|
width: 10rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .series table td {
|
#content .series table td {
|
||||||
padding: 6px;
|
padding: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .editor .row {
|
#content .editor .row {
|
||||||
clear: both;
|
clear: both;
|
||||||
min-height: 4em;
|
min-height: 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .editor .cell {
|
#content .editor .cell {
|
||||||
@@ -101,7 +100,7 @@
|
|||||||
|
|
||||||
#content .editor .row.active {
|
#content .editor .row.active {
|
||||||
background: #ff0;
|
background: #ff0;
|
||||||
min-height: 4em;
|
min-height: 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.cell.exclude,
|
#content div.cell.exclude,
|
||||||
@@ -111,111 +110,111 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content div.cell.containsInput {
|
#content div.cell.containsInput {
|
||||||
margin-right: 12px;
|
margin-right: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.cell.containsSelect {
|
#content div.cell.containsSelect {
|
||||||
margin-right: 12px;
|
margin-right: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.cell.exclude,
|
#content div.cell.exclude,
|
||||||
#content div.cell.nextDay {
|
#content div.cell.nextDay {
|
||||||
width: 1em;
|
width: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.cell.weekday,
|
#content div.cell.weekday,
|
||||||
#content div.cell.weekday input,
|
#content div.cell.weekday input,
|
||||||
#content div.cell.weekday select {
|
#content div.cell.weekday select {
|
||||||
width: 2em;
|
width: 2rem;
|
||||||
padding-top: 2em;
|
padding-top: 1.6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.cell.start,
|
#content div.cell.start,
|
||||||
#content div.cell.start input,
|
#content div.cell.start input,
|
||||||
#content div.cell.start select {
|
#content div.cell.start select {
|
||||||
width: 9.5em;
|
width: 9rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.cell.duration,
|
#content div.cell.duration,
|
||||||
#content div.cell.duration input,
|
#content div.cell.duration input,
|
||||||
#content div.cell.duration select {
|
#content div.cell.duration select {
|
||||||
width: 7em;
|
width: 6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.cell.period_type,
|
#content div.cell.period_type,
|
||||||
#content div.cell.period_type input,
|
#content div.cell.period_type input,
|
||||||
#content div.cell.period_type select {
|
#content div.cell.period_type select {
|
||||||
width: 7em;
|
width: 8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.cell.period_type.isSingle,
|
#content div.cell.period_type.isSingle,
|
||||||
#content div.cell.period_type select.isSingle {
|
#content div.cell.period_type select.isSingle {
|
||||||
width: 9em;
|
width: 8rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.cell.end,
|
#content div.cell.end,
|
||||||
#content div.cell.end input,
|
#content div.cell.end input,
|
||||||
#content div.cell.end select {
|
#content div.cell.end select {
|
||||||
width: 6em;
|
width: 6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.cell.frequency,
|
#content div.cell.frequency,
|
||||||
#content div.cell.frequency input,
|
#content div.cell.frequency input,
|
||||||
#content div.cell.frequency select {
|
#content div.cell.frequency select {
|
||||||
width: 6em;
|
width: 7rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.cell.week_of_month,
|
#content div.cell.week_of_month,
|
||||||
#content div.cell.week_of_month input,
|
#content div.cell.week_of_month input,
|
||||||
#content div.cell.week_of_month select {
|
#content div.cell.week_of_month select {
|
||||||
width: 6em;
|
width: 6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.cell.schedule_weekday,
|
#content div.cell.schedule_weekday,
|
||||||
#content div.cell.schedule_weekday input,
|
#content div.cell.schedule_weekday input,
|
||||||
#content div.cell.schedule_weekday select {
|
#content div.cell.schedule_weekday select {
|
||||||
width: 4em;
|
width: 4rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.cell.schedule_month,
|
#content div.cell.schedule_month,
|
||||||
#content div.cell.schedule_month input,
|
#content div.cell.schedule_month input,
|
||||||
#content div.cell.schedule_month select {
|
#content div.cell.schedule_month select {
|
||||||
width: 6em;
|
width: 6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* end of schedule */
|
/* end of schedule */
|
||||||
#content .create_events {
|
#content .create_events {
|
||||||
width: 5em;
|
width: 5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .publish_events {
|
#content .publish_events {
|
||||||
width: 5em;
|
width: 5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.show_schedule {
|
#content div.show_schedule {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
height: 20em;
|
height: 20rem;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.show_schedule table {
|
#content div.show_schedule table {
|
||||||
width: 24em;
|
width: 24rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.show_schedule td {
|
#content div.show_schedule td {
|
||||||
width: 10em;
|
width: 10rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.show_schedule td:nth-child(1) {
|
#content div.show_schedule td:nth-child(1) {
|
||||||
width: 2em;
|
width: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.show_schedule tr.exclude td {
|
#content div.show_schedule tr.exclude td {
|
||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.buttons {
|
input.exclude{
|
||||||
padding-left: 12px;
|
margin-top:0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.editor input.image {
|
#content div.editor input.image {
|
||||||
@@ -228,7 +227,7 @@ div#tabs > div {
|
|||||||
|
|
||||||
#content #tabs-events td.weekday,
|
#content #tabs-events td.weekday,
|
||||||
#content #tabs-events td.date,
|
#content #tabs-events td.date,
|
||||||
#content #tabs-events td.time,
|
#content #tabs-events td.time,
|
||||||
#content #tabs-events td.spacer {
|
#content #tabs-events td.spacer {
|
||||||
width: 0;
|
width: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#content {
|
#content {
|
||||||
margin-top: 3em;
|
margin-top: 3rem;
|
||||||
padding: 1em;
|
padding: 1rem;
|
||||||
max-width: 960px;
|
max-width: 960px;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
}
|
}
|
||||||
@@ -32,13 +32,13 @@
|
|||||||
|
|
||||||
#content .editor div.buttons button,
|
#content .editor div.buttons button,
|
||||||
#content .editor div.buttons input {
|
#content .editor div.buttons input {
|
||||||
margin-left: 1em;
|
margin-left: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .editor input,
|
#content .editor input,
|
||||||
#content .editor textarea,
|
#content .editor textarea,
|
||||||
#content .editor button {
|
#content .editor button {
|
||||||
padding: 6px;
|
padding: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content .editor .row {
|
#content .editor .row {
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#content div.buttons {
|
#content div.buttons {
|
||||||
padding-left: 12px;
|
padding-left: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content div.editor input.image {
|
#content div.editor input.image {
|
||||||
|
|||||||
Reference in New Issue
Block a user