mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-16 01:47:30 +01:00
initial commit.
This commit is contained in:
44
styles/pattern.scss
Normal file
44
styles/pattern.scss
Normal file
@@ -0,0 +1,44 @@
|
||||
@import "vars";
|
||||
@import "mixins";
|
||||
|
||||
#pattern {
|
||||
|
||||
|
||||
#background-position {
|
||||
height: 210px;
|
||||
position: relative;
|
||||
|
||||
.position-icon {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
border: 2px solid $dark;
|
||||
border-radius: 4px;
|
||||
margin: -50px -60px;
|
||||
|
||||
.radio {
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
|
||||
&.top-left {top: -30px; left: 0; margin-left: -30px; }
|
||||
&.top-center {top: -30px; left: 50%; margin-left: -30px; }
|
||||
&.top-right {top: -30px; right: 0; margin-right: -30px; }
|
||||
|
||||
&.center-left {top: 50%; margin-top: -30px; left: 0; margin-left: -30px; }
|
||||
&.center-center {top: 50%; margin-top: -30px; left: 50%; margin-left: -30px; }
|
||||
&.center-right {top: 50%; margin-top: -30px; right: 0; margin-right: -30px; }
|
||||
|
||||
&.bottom-left {bottom: 0; margin-bottom: -30px; left: 0; margin-left: -30px; }
|
||||
&.bottom-center {bottom: 0; margin-bottom: -30px; left: 50%; margin-left: -30px; }
|
||||
&.bottom-right {bottom: 0; margin-bottom: -30px; right: 0; margin-right: -30px; }
|
||||
}
|
||||
}
|
||||
|
||||
.icon-label {
|
||||
pointer-events: none;
|
||||
margin-top: 62px;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user