scinote-web/app/assets/stylesheets/protocol_management.scss

209 lines
3.6 KiB
SCSS
Raw Normal View History

2018-05-12 00:02:17 +08:00
@import 'constants';
2018-03-29 19:58:14 +08:00
.btn-open-file {
position: relative;
overflow: hidden;
& > input[type=file] {
position: absolute;
top: 0;
right: 0;
min-width: 100%;
min-height: 100%;
font-size: 100px;
text-align: right;
filter: alpha(opacity=0);
opacity: 0;
outline: none;
background: white;
cursor: inherit;
display: block;
}
}
2018-05-12 00:02:17 +08:00
2018-05-18 22:57:18 +08:00
#protocols-index,
#load-from-repository-modal {
2018-05-12 00:02:17 +08:00
padding: 0;
.nav-tabs > li {
text-transform: uppercase;
a {
color: $color-silver-chalice;
padding: 15px 20px;
}
2018-05-14 18:08:45 +08:00
a:hover {
border-color: $color-white;
}
2018-05-12 00:02:17 +08:00
}
2018-05-14 18:08:45 +08:00
.nav > li > a:hover,
.nav > li > a:focus {
2018-05-12 00:02:17 +08:00
background-color: $color-white;
color: $color-emperor;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
background-color: $color-white;
border: 0;
box-shadow: 0 4px 0 $brand-primary;
color: $color-emperor;
font-weight: bold;
margin-bottom: 4px;
}
.tab-pane-settings {
border: 0;
}
}
.tab-pane.external_protocols {
padding-bottom: 0;
}
.external-protocols-tab {
.protocols-search-bar-panel {
align-items: center;
display: flex;
flex-direction: row;
justify-content: space-between;
margin-bottom: 15px;
2019-06-13 05:44:31 +08:00
padding-right: 0;
.protocolsio-logo {
height: 30px;
width: 30px;
}
.protocolsio-title {
color: $brand-primary;
font-size: 14px;
vertical-align: middle;
}
.protocols-search-bar {
2019-06-13 05:44:31 +08:00
padding-right: 0;
width: 70%;
.input-group {
margin-bottom: 0;
width: 100%;
.form-control {
border-right: 0;
}
.input-group-addon {
background: $color-white;
color: $color-silver-chalice;
}
}
}
}
.protocol-sort {
padding-left: 7px;
span {
color: $color-silver-chalice;
font-size: 14px;
}
.btn-group {
margin-bottom: 10px;
margin-top: 6px;
padding-left: 3px;
label {
padding-bottom: 0;
padding-top: 0;
&.active {
background: $color-gainsboro;
border-radius: 5px;
color: $color-emperor;
}
}
}
}
.protocol-list-side-panel {
background-color: $color-white;
border-right: 1px solid $color-silver-chalice;
border-top: 1px solid $color-silver-chalice;
height: 600px;
2019-06-13 05:44:31 +08:00
padding-right: 0;
.row {
margin-left: 0;
margin-right: 0;
}
// When no search result is present
.empty-text {
color: $color-silver-chalice;
font-size: 13px;
margin-top: 20px;
}
}
.protocol-preview-panel {
background-color: $color-concrete;
2019-06-13 05:44:31 +08:00
border-top: 1px solid $color-silver-chalice;
height: 600px;
2019-06-13 05:44:31 +08:00
padding-left: 0;
padding-right: 0;
.row {
margin-left: 0;
margin-right: 0;
}
// Empty texts on the right
.empty-preview-panel {
padding-top: 79px;
.protocol-preview-text {
color: $color-silver-chalice;
font-size: 24px;
}
.protocol-preview-subtext {
color: $color-silver-chalice;
font-size: 14px;
}
.text-rows {
text-align: center;
}
.text-separator hr {
border: 1px solid $color-alto;
width: 120px;
}
}
.full-preview-panel {
display: flex;
flex-direction: column;
height: 100%;
overflow: hidden;
padding-left: 21px;
padding-right: 21px;
width: 100%;
.preview-iframe {
border: none;
flex-grow: 1;
margin: 0;
padding: 0;
}
}
2018-05-12 00:02:17 +08:00
}
}