mirror of
https://github.com/Karaka-Management/cssOMS.git
synced 2026-02-15 01:08:39 +00:00
Optimize scss
This commit is contained in:
parent
2419097701
commit
783aa29209
85
section.scss
85
section.scss
|
|
@ -1,33 +1,15 @@
|
||||||
@import "_mixins", "_vars";
|
@import "_mixins", "_vars";
|
||||||
|
|
||||||
section.box.orange {
|
|
||||||
border-top: 3px solid #FBA026;
|
|
||||||
}
|
|
||||||
|
|
||||||
section.box.red {
|
|
||||||
border-top: 3px solid #B8312F;
|
|
||||||
}
|
|
||||||
|
|
||||||
section.box.green {
|
|
||||||
border-top: 3px solid #41A85F;
|
|
||||||
}
|
|
||||||
|
|
||||||
section.box.blue {
|
|
||||||
border-top: 3px solid #2C82C9;
|
|
||||||
}
|
|
||||||
|
|
||||||
section.box.purple {
|
|
||||||
border-top: 3px solid #553982;
|
|
||||||
}
|
|
||||||
|
|
||||||
section.box.darkblue {
|
|
||||||
border-top: 3px solid #2969B0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.box {
|
.box {
|
||||||
@include box-sizing(border-box);
|
@include box-sizing(border-box);
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-top: 0.3rem;
|
margin-top: 0.3rem;
|
||||||
|
|
||||||
|
.inner {
|
||||||
|
@include box-sizing(border-box);
|
||||||
|
@include box-shadow-out(#ffffff);
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.box-container {
|
.box-container {
|
||||||
|
|
@ -38,27 +20,46 @@ section.box {
|
||||||
@include box-shadow-bottom(#f1f1f1);
|
@include box-shadow-bottom(#f1f1f1);
|
||||||
border: 1px solid $content-border-color;
|
border: 1px solid $content-border-color;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
}
|
|
||||||
|
|
||||||
.box .inner {
|
section.box.orange {
|
||||||
@include box-sizing(border-box);
|
border-top: 3px solid #FBA026;
|
||||||
@include box-shadow-out(#ffffff);
|
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
section header {
|
&.red {
|
||||||
> h1 {
|
border-top: 3px solid #B8312F;
|
||||||
margin: 10px 10px 0 10px;
|
}
|
||||||
padding-bottom: 5px;
|
|
||||||
font-size: 1.1em;
|
&.green {
|
||||||
text-shadow: 1px 1px 1px #ffffff;
|
border-top: 3px solid #41A85F;
|
||||||
border-bottom: 1px solid #e1e1e1;
|
}
|
||||||
|
|
||||||
|
&.blue {
|
||||||
|
border-top: 3px solid #2C82C9;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.purple {
|
||||||
|
border-top: 3px solid #553982;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.darkblue {
|
||||||
|
border-top: 3px solid #2969B0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
section > h2 {
|
section {
|
||||||
@include box-sizing(border-box);
|
header {
|
||||||
font-size: 1.2em;
|
> h1 {
|
||||||
margin-bottom: 5px;
|
margin: 10px 10px 0 10px;
|
||||||
text-shadow: 1px 1px 1px #ffffff;
|
padding-bottom: 5px;
|
||||||
|
font-size: 1.1em;
|
||||||
|
text-shadow: 1px 1px 1px #ffffff;
|
||||||
|
border-bottom: 1px solid #e1e1e1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
> h2 {
|
||||||
|
@include box-sizing(border-box);
|
||||||
|
font-size: 1.2em;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
text-shadow: 1px 1px 1px #ffffff;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user