beautify_css
This commit is contained in:
parent
5c2f32e184
commit
ecf1478e7e
81 changed files with 699 additions and 694 deletions
|
@ -1,23 +1,27 @@
|
|||
#view, #area {
|
||||
height:150px;
|
||||
width:400px;
|
||||
#view,
|
||||
#area {
|
||||
height: 150px;
|
||||
width: 400px;
|
||||
font-family: arial;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#view {
|
||||
#view {
|
||||
/* padding + border = 3px */
|
||||
padding: 2px;
|
||||
border:1px solid black;
|
||||
|
||||
padding: 2px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
#area {
|
||||
display:none;
|
||||
|
||||
display: none;
|
||||
/* replace padding with border (still 3px not to shift the contents) */
|
||||
border: 3px groove blue;
|
||||
|
||||
border: 3px groove blue;
|
||||
padding: 0px;
|
||||
}
|
||||
#area:focus {
|
||||
outline: none; /* remove focus border in Safari */
|
||||
}
|
||||
|
||||
#area:focus {
|
||||
outline: none;
|
||||
/* remove focus border in Safari */
|
||||
}
|
|
@ -1,23 +1,27 @@
|
|||
#view, #area {
|
||||
height:150px;
|
||||
width:400px;
|
||||
#view,
|
||||
#area {
|
||||
height: 150px;
|
||||
width: 400px;
|
||||
font-family: arial;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#view {
|
||||
#view {
|
||||
/* padding + border = 3px */
|
||||
padding: 2px;
|
||||
border:1px solid black;
|
||||
|
||||
padding: 2px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
#area {
|
||||
display:none;
|
||||
|
||||
display: none;
|
||||
/* replace padding with border (still 3px not to shift the contents) */
|
||||
border: 3px groove blue;
|
||||
|
||||
border: 3px groove blue;
|
||||
padding: 0px;
|
||||
}
|
||||
#area:focus {
|
||||
outline: none; /* remove focus border in Safari */
|
||||
}
|
||||
|
||||
#area:focus {
|
||||
outline: none;
|
||||
/* remove focus border in Safari */
|
||||
}
|
|
@ -1,14 +1,14 @@
|
|||
/* общие стили для таблицы */
|
||||
|
||||
th {
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
td {
|
||||
width: 150px;
|
||||
white-space: nowrap;
|
||||
text-align:center;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
padding: 10px;
|
||||
}
|
||||
|
@ -29,10 +29,12 @@ td {
|
|||
.w {
|
||||
background-color: #ff0;
|
||||
}
|
||||
|
||||
.c {
|
||||
background-color: #60c;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.e {
|
||||
background-color: #09f;
|
||||
color: #fff;
|
||||
|
@ -47,7 +49,8 @@ td {
|
|||
background-color: #f60;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.se {
|
||||
background-color: #0c3;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
|
@ -3,15 +3,21 @@
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
display: block;
|
||||
resize: none; /* remove resizing handle in Firefox */
|
||||
outline: none; /* remove outline on focus in Chrome */
|
||||
overflow: auto; /* remove scrollbar in IE */
|
||||
resize: none;
|
||||
/* remove resizing handle in Firefox */
|
||||
|
||||
outline: none;
|
||||
/* remove outline on focus in Chrome */
|
||||
|
||||
overflow: auto;
|
||||
/* remove scrollbar in IE */
|
||||
}
|
||||
|
||||
.edit-controls {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.edit-td {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
|
@ -1,14 +1,14 @@
|
|||
/* общие стили для таблицы */
|
||||
|
||||
th {
|
||||
text-align:center;
|
||||
font-weight:bold;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
td {
|
||||
width: 150px;
|
||||
white-space: nowrap;
|
||||
text-align:center;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
padding: 10px;
|
||||
}
|
||||
|
@ -29,10 +29,12 @@ td {
|
|||
.w {
|
||||
background-color: #ff0;
|
||||
}
|
||||
|
||||
.c {
|
||||
background-color: #60c;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.e {
|
||||
background-color: #09f;
|
||||
color: #fff;
|
||||
|
@ -47,7 +49,8 @@ td {
|
|||
background-color: #f60;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.se {
|
||||
background-color: #0c3;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue