|
|
@ -76,74 +76,7 @@ table { |
|
|
|
|
|
|
|
button, |
|
|
|
.button { |
|
|
|
position: relative; |
|
|
|
display: inline-block; |
|
|
|
color: $white; |
|
|
|
background-color: $colour-1; |
|
|
|
border: 0; |
|
|
|
padding: 0.5em 1em; |
|
|
|
font-size: 1.25em; |
|
|
|
outline: 0; |
|
|
|
border-bottom: 0.125em solid rgba(0, 0, 0, 0.15); |
|
|
|
@include _(border-radius, 0.15em); |
|
|
|
@include default-box-shadow(top, 2); |
|
|
|
overflow: hidden; |
|
|
|
cursor: pointer; |
|
|
|
@include _(text-stroke, 1px rgba(0, 0, 0, 0.25)); |
|
|
|
|
|
|
|
@include before-and-after { |
|
|
|
content: ''; |
|
|
|
position: absolute; |
|
|
|
display: block; |
|
|
|
top: 0; |
|
|
|
right: 100%; |
|
|
|
font-size: 1.15em; |
|
|
|
background-color: rgba(0, 0, 0, 0); |
|
|
|
border-color: transparent; |
|
|
|
@include _(transition, all 250ms ease-in-out); |
|
|
|
} |
|
|
|
@include before { |
|
|
|
height: 100%; |
|
|
|
width: 100%; |
|
|
|
margin-right: 1em; |
|
|
|
} |
|
|
|
@include after { |
|
|
|
border-style: solid; |
|
|
|
border-width: 1em 0 1em 1em; |
|
|
|
} |
|
|
|
|
|
|
|
&:hover, |
|
|
|
&:focus, |
|
|
|
&:hover, |
|
|
|
&:focus { |
|
|
|
@include before-and-after { |
|
|
|
right: -1em; |
|
|
|
border-left-color: rgba(0, 0, 0, 0.15); |
|
|
|
} |
|
|
|
} |
|
|
|
&:hover, |
|
|
|
&:focus { |
|
|
|
@include before { |
|
|
|
background-color: rgba(0, 0, 0, 0.15); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
&:active { |
|
|
|
@include _(transform, scale(0.95)); |
|
|
|
|
|
|
|
@include after { |
|
|
|
left: 120%; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
&:disabled { |
|
|
|
@include _(opacity, 0.5); |
|
|
|
cursor: inherit; |
|
|
|
|
|
|
|
@include before-and-after { |
|
|
|
display: none; |
|
|
|
} |
|
|
|
} |
|
|
|
@include button; |
|
|
|
|
|
|
|
#main &[type="submit"] { |
|
|
|
background-color: $colour-5; |
|
|
@ -1782,4 +1715,122 @@ $header-tilt: 8deg; |
|
|
|
display: inherit; |
|
|
|
} |
|
|
|
|
|
|
|
html[data-lingua-franca-example="html"] { |
|
|
|
$caption-height: 4rem; |
|
|
|
@include _(transform, translateY($caption-height)); |
|
|
|
|
|
|
|
#lingua-franca-window-caption { |
|
|
|
position: absolute; |
|
|
|
top: 0; |
|
|
|
left: 0; |
|
|
|
width: 100%; |
|
|
|
height: $caption-height; |
|
|
|
background-color: #CCC; |
|
|
|
z-index: 1000; |
|
|
|
font-size: 1rem; |
|
|
|
@include _(transform, translateY($caption-height * -1)); |
|
|
|
|
|
|
|
.window-tab { |
|
|
|
height: 1.75rem; |
|
|
|
position: relative; |
|
|
|
background-color: #EEE; |
|
|
|
float: left; |
|
|
|
padding: 0.25em 2em 0 1em; |
|
|
|
margin: 0.25em 1em; |
|
|
|
border-radius: 0.5em 0.5em 0 0; |
|
|
|
color: #444; |
|
|
|
@include font-family(secondary); |
|
|
|
|
|
|
|
@include after { |
|
|
|
content: '×'; |
|
|
|
position: absolute; |
|
|
|
right: 0.5em; |
|
|
|
top: 0.25em; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
i { |
|
|
|
font-style: normal; |
|
|
|
} |
|
|
|
|
|
|
|
.window-minimize, |
|
|
|
.window-maximize { |
|
|
|
@include after { |
|
|
|
content: ''; |
|
|
|
position: absolute; |
|
|
|
top: 0.75em; |
|
|
|
right: 2em; |
|
|
|
border-style: solid; |
|
|
|
border-width: 0 0.5em 0.5em 0.5em; |
|
|
|
border-left-color: transparent; |
|
|
|
border-right-color: transparent; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.window-minimize { |
|
|
|
@include after { |
|
|
|
right: 3.5em; |
|
|
|
border-top-width: 0.5em; |
|
|
|
border-bottom-width: 0; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.window-close { |
|
|
|
@include after { |
|
|
|
content: '×'; |
|
|
|
position: absolute; |
|
|
|
right: 0.25em; |
|
|
|
top: 0.1em; |
|
|
|
font-size: 1.75em; |
|
|
|
line-height: 1em; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.window-url-bar { |
|
|
|
position: absolute; |
|
|
|
top: $caption-height / 2; |
|
|
|
left: 0; |
|
|
|
width: 100%; |
|
|
|
height: $caption-height / 2; |
|
|
|
background-color: #EEE; |
|
|
|
|
|
|
|
.url-bar { |
|
|
|
position: absolute; |
|
|
|
top: 0.25rem; |
|
|
|
left: 3.5rem; |
|
|
|
bottom: 0.25rem; |
|
|
|
right: 0.25rem; |
|
|
|
background-color: #FFF; |
|
|
|
border: 1px solid #CCC; |
|
|
|
padding: 0 0.25rem; |
|
|
|
font-size: 0.8em; |
|
|
|
line-height: 1.75em; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.window-back, |
|
|
|
.window-forward { |
|
|
|
@include after { |
|
|
|
content: ''; |
|
|
|
position: absolute; |
|
|
|
left: 0.5em; |
|
|
|
top: 0.5em; |
|
|
|
border-style: solid; |
|
|
|
border-width: 0.5em 0.75em 0.5em 0; |
|
|
|
border-top-color: transparent; |
|
|
|
border-bottom-color: transparent; |
|
|
|
color: #666; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.window-forward { |
|
|
|
@include after { |
|
|
|
left: 2em; |
|
|
|
border-right-width: 0; |
|
|
|
border-left-width: 0.75em; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@include translation-pointer; |
|
|
|
} |
|
|
|