Skip to content

Commit bd1b598

Browse files
committed
MDLSITE-7990 Move the new style from generated CSS to the source SCSS
1 parent 3a7d2cc commit bd1b598

File tree

3 files changed

+33
-28
lines changed

3 files changed

+33
-28
lines changed

scss/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
all :
2+
sassc --style=compressed styles.scss > ../styles.css
3+
4+
.PHONY: all

scss/styles.scss

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,31 @@
127127
.path-local-amos .commentswrapper .comment-area {
128128
margin: 0px auto;
129129
}
130+
131+
#page-local-amos-view {
132+
.badge-light {
133+
color: #1d2125;
134+
background-color: #f8f9fa;
135+
}
136+
.form-text {
137+
display: block;
138+
}
139+
.btn-group-toggle>.btn input[type="radio"] {
140+
position: absolute;
141+
clip: rect(0, 0, 0, 0);
142+
pointer-events: none;
143+
}
144+
.btn-light {
145+
color: #1d2125;
146+
background-color: #f8f9fa;
147+
border-color: #f8f9fa;
148+
}
149+
150+
.btn-light:not(:disabled):not(.disabled):active,
151+
.btn-light:not(:disabled):not(.disabled).active,
152+
.show>.btn-light.dropdown-toggle {
153+
color: #1d2125;
154+
background-color: #dae0e5;
155+
border-color: #d3d9df;
156+
}
157+
}

0 commit comments

Comments
 (0)