Skip to content
Snippets Groups Projects
Commit 8f773b10 authored by Arkerthan's avatar Arkerthan
Browse files

Move RA styles in CSS module

parent 04ed3640
No related branches found
No related tags found
1 merge request!8577Move CSS styles to their own directory: Part 1
.rajs-list-item {
display: inline-block;
color: var(--link-color);
margin-right: 1em;
}
.rajs-list-item.selected {
color: gray;
text-decoration: none;
}
.rajs-list-item:last-of-type {
margin-right: 0;
}
.rajs-list-item:hover {
cursor: pointer;
text-decoration: underline;
}
.rajs-list-item.selected:hover {
cursor: default;
text-decoration: none;
}
.rajs-list strong:first-of-type, .rajs-list input {
margin-right: 2em;
}
.rajs-list-item input {
margin: 0.25em;
}
.rajs-section h1 {
border-bottom: 1px solid white;
cursor: pointer;
}
.rajs-section h1:hover {
text-decoration: underline;
}
......@@ -4,33 +4,40 @@
vertical-align: middle;
-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.ra-onoffswitch-checkbox {
display: none;
}
.ra-onoffswitch-label {
display: block; overflow: hidden; cursor: pointer;
border: 2px solid #999999; border-radius: 2px;
}
.ra-onoffswitch-inner {
display: block; width: 200%; margin-left: -100%;
transition: margin 0.3s ease-in 0s;
}
.ra-onoffswitch-inner:before, .ra-onoffswitch-inner:after {
display: block; float: left; width: 50%; height: 3.5ex; padding: 0; line-height: 3.5ex;
font-size: x-small; color: white; font-family: FreeSans, sans-serif; font-weight: bold;
box-sizing: border-box;
}
.ra-onoffswitch-inner:before {
content: "ON";
padding-left: 7px;
background-color: #111111; color: #FFFFFF;
}
.ra-onoffswitch-inner:after {
content: "OFF";
padding-right: 7px;
background-color: #111111; color: #D9D9D9;
text-align: right;
}
.ra-onoffswitch-switch {
display: block; width: 1.5em; margin: 1px;
background: #8A8A8A;
......@@ -39,13 +46,16 @@
border: 2px solid #414141; border-radius: 2px;
transition: all 0.3s ease-in 0s;
}
.ra-onoffswitch-checkbox:checked + .ra-onoffswitch-label .ra-onoffswitch-inner {
margin-left: 0;
}
.ra-onoffswitch-checkbox:checked + .ra-onoffswitch-label .ra-onoffswitch-switch {
right: 0px;
background-color: #2D80E0;
}
.ra-radio-label {
margin: 0.5em;
}
......
.scroll {
overflow: auto;
}
......@@ -54,40 +54,6 @@ max-width: 100%;
word-break: break-all;
white-space: normal;
}
/* css rules for rules assistant */
.rajs-list-item {
display: inline-block;
color: var(--link-color);
margin-right: 1em;
}
.rajs-list-item.selected {
color: gray;
text-decoration: none;
}
.rajs-list-item:last-of-type { margin-right: 0; }
.rajs-list-item:hover {
cursor: pointer;
text-decoration: underline;
}
.rajs-list-item.selected:hover {
cursor: default;
text-decoration: none;
}
.rajs-list strong:first-of-type, .rajs-list input {
margin-right: 2em;
}
.rajs-list-item input {
margin: 0.25em;
}
.rajs-section h1 {
border-bottom: 1px solid white;
cursor: pointer;
}
.rajs-section h1:hover { text-decoration: underline; }
.scroll {
overflow: auto;
}
h1, h2, h3 {
margin-bottom: 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment