Make sass nested, move to classnames instead of ids
This commit is contained in:
50
css/cwv3.css
50
css/cwv3.css
@ -1,33 +1,32 @@
|
|||||||
/* CSS Document */
|
|
||||||
.cwv3_box {
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Undocumented cBox colors */
|
/* Undocumented cBox colors */
|
||||||
#cboxLoadingOverlay, #cboxContent, #cboxLoadedContent {
|
#cboxLoadingOverlay, #cboxContent, #cboxLoadedContent {
|
||||||
background-color: #FFF !important;
|
background-color: #FFF !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#cwv3_auth {
|
/* Main CWV3 Dialog */
|
||||||
|
.cwv3_dialog {
|
||||||
border: 3px solid #ccc;
|
border: 3px solid #ccc;
|
||||||
background: #FFF;
|
background: #FFF;
|
||||||
}
|
}
|
||||||
#cwv3_auth div {
|
.cwv3_dialog.js .auth {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.cwv3_dialog.js .denied {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.cwv3_dialog div {
|
||||||
padding: 0.25em;
|
padding: 0.25em;
|
||||||
}
|
}
|
||||||
|
.cwv3_dialog .cwv3_title {
|
||||||
#cwv3_title {
|
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #f00;
|
background: #f00;
|
||||||
}
|
}
|
||||||
|
.cwv3_dialog .cwv3_btns {
|
||||||
#cwv3_btns {
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
.cwv3_dialog .cwv3_btns a {
|
||||||
#cwv3_btns div a {
|
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
@ -35,28 +34,17 @@
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
.cwv3_dialog .cwv3_btns .cwv3_exit {
|
||||||
#cwv3_enter {
|
|
||||||
float: left;
|
|
||||||
width: 40%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#cwv3_enter a {
|
|
||||||
background-color: #0C3;
|
|
||||||
}
|
|
||||||
|
|
||||||
#cwv3_exit {
|
|
||||||
float: right;
|
float: right;
|
||||||
width: 40%;
|
width: 40%;
|
||||||
}
|
}
|
||||||
|
.cwv3_dialog .cwv3_btns .cwv3_exit a {
|
||||||
#cwv3_exit a {
|
|
||||||
background-color: #F00;
|
background-color: #F00;
|
||||||
}
|
}
|
||||||
|
.cwv3_dialog .cwv3_btns .cwv3_enter {
|
||||||
.cwv3_dialog.js .auth {
|
float: left;
|
||||||
display: none;
|
width: 40%;
|
||||||
}
|
}
|
||||||
.cwv3_dialog.js .denied {
|
.cwv3_dialog .cwv3_btns .cwv3_enter a {
|
||||||
display: none;
|
background-color: #0C3;
|
||||||
}
|
}
|
||||||
|
2
css/cwv3.min.css
vendored
2
css/cwv3.min.css
vendored
@ -1 +1 @@
|
|||||||
.cwv3_box{background:0 0}#cboxContent,#cboxLoadedContent,#cboxLoadingOverlay{background-color:#FFF!important}#cwv3_auth{border:3px solid #ccc;background:#FFF}#cwv3_auth div{padding:.25em}#cwv3_title{color:#FFF;font-weight:700;text-align:center;background:red}#cwv3_btns{overflow:hidden}#cwv3_btns div a{display:block;width:100%;text-align:center;color:#FFF;font-weight:700;text-decoration:none}#cwv3_enter{float:left;width:40%}#cwv3_enter a{background-color:#0C3}#cwv3_exit{float:right;width:40%}#cwv3_exit a{background-color:red}.cwv3_dialog.js .auth,.cwv3_dialog.js .denied{display:none}
|
#cboxContent,#cboxLoadedContent,#cboxLoadingOverlay{background-color:#FFF!important}.cwv3_dialog{border:3px solid #ccc;background:#FFF}.cwv3_dialog.js .auth,.cwv3_dialog.js .denied{display:none}.cwv3_dialog div{padding:.25em}.cwv3_dialog .cwv3_title{color:#FFF;font-weight:700;text-align:center;background:red}.cwv3_dialog .cwv3_btns{overflow:hidden}.cwv3_dialog .cwv3_btns a{display:block;width:100%;text-align:center;color:#FFF;font-weight:700;text-decoration:none}.cwv3_dialog .cwv3_btns .cwv3_exit{float:right;width:40%}.cwv3_dialog .cwv3_btns .cwv3_exit a{background-color:red}.cwv3_dialog .cwv3_btns .cwv3_enter{float:left;width:40%}.cwv3_dialog .cwv3_btns .cwv3_enter a{background-color:#0C3}
|
@ -1,60 +1,9 @@
|
|||||||
/* CSS Document */
|
|
||||||
.cwv3_box {
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Undocumented cBox colors */
|
/* Undocumented cBox colors */
|
||||||
#cboxLoadingOverlay, #cboxContent, #cboxLoadedContent {
|
#cboxLoadingOverlay, #cboxContent, #cboxLoadedContent {
|
||||||
background-color: #FFF !important;
|
background-color: #FFF !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#cwv3_auth {
|
/* Main CWV3 Dialog */
|
||||||
border: 3px solid #ccc;
|
|
||||||
background: #FFF;
|
|
||||||
|
|
||||||
div{
|
|
||||||
padding: 0.25em;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#cwv3_title {
|
|
||||||
color: #FFF;
|
|
||||||
font-weight: bold;
|
|
||||||
text-align: center;
|
|
||||||
background: #f00;
|
|
||||||
}
|
|
||||||
|
|
||||||
#cwv3_btns {
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
#cwv3_btns div a {
|
|
||||||
display: block;
|
|
||||||
width: 100%;
|
|
||||||
text-align: center;
|
|
||||||
color: #FFF;
|
|
||||||
font-weight: bold;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#cwv3_enter {
|
|
||||||
float: left;
|
|
||||||
width: 40%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#cwv3_enter a {
|
|
||||||
background-color: #0C3;
|
|
||||||
}
|
|
||||||
|
|
||||||
#cwv3_exit {
|
|
||||||
float: right;
|
|
||||||
width: 40%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#cwv3_exit a {
|
|
||||||
background-color: #F00;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cwv3_dialog{
|
.cwv3_dialog{
|
||||||
|
|
||||||
&.js{
|
&.js{
|
||||||
@ -69,24 +18,47 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.cwv3_exit{
|
border: 3px solid #ccc;
|
||||||
|
background: #FFF;
|
||||||
|
|
||||||
|
div{
|
||||||
|
padding: 0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.cwv3_title {
|
||||||
|
color: #FFF;
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: center;
|
||||||
|
background: #f00;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cwv3_btns{
|
||||||
|
overflow: hidden;
|
||||||
|
a{
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
color: #FFF;
|
||||||
|
font-weight: bold;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cwv3_exit{
|
||||||
float: right;
|
float: right;
|
||||||
width: 40%;
|
width: 40%;
|
||||||
|
|
||||||
a{
|
a{
|
||||||
background-color: #F00;
|
background-color: #F00;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.cwv3_enter{
|
.cwv3_enter{
|
||||||
float: left;
|
float: left;
|
||||||
width: 40%;
|
width: 40%;
|
||||||
|
|
||||||
a{
|
a{
|
||||||
background-color: #0C3;
|
background-color: #0C3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user